首页> 外国专利> Multiprocessor load balancing system for prioritizing threads and assigning threads into one of a plurality of run queues based on a priority band and a current load of the run queue

Multiprocessor load balancing system for prioritizing threads and assigning threads into one of a plurality of run queues based on a priority band and a current load of the run queue

机译:多处理器负载平衡系统,用于基于优先级范围和运行队列的当前负载来对线程进行优先级排序并将线程分配到多个运行队列之一中

摘要

A method, system and apparatus for integrating a system task scheduler with a workload manager are provided. The scheduler is used to assign default priorities to threads and to place the threads into run queues and the workload manager is used to implement policies set by a system administrator. One of the policies may be to have different classes of threads get different percentages of a system's CPU time. This policy can be reliably achieved if threads from a plurality of classes are spread as uniformly as possible among the run queues. To do so, the threads are organized in classes. Each class is associated with a priority as per a use-policy. This priority is used to modify the scheduling priority assigned to each thread in the class as well as to determine in which band or range of priority the threads fall. Then periodically, it is determined whether the number of threads in a band in a run queue exceeds the number of threads in the band in another run queue by more than a pre-determined number. If so, the system is deemed to be load-imbalanced. If not, the system is load-balanced by moving one thread in the band from the run queue with the greater number of threads to the run queue with the lower number of threads.
机译:提供了一种用于将系统任务调度器与工作量管理器集成的方法,系统和装置。调度程序用于为线程分配默认优先级,并将线程放入运行队列,工作负载管理器用于实施系统管理员设置的策略。其中一项策略可能是让不同类别的线程获得系统CPU时间的不同百分比。如果将多个类别的线程尽可能均匀地分布在运行队列中,则可以可靠地实现此策略。为此,线程是按类组织的。根据使用策略,每个类都与一个优先级相关联。此优先级用于修改分配给该类中每个线程的调度优先级,以及确定线程属于哪个优先级范围或优先级范围。然后,周期性地确定运行队列中的一个带中的线程数是否比另一个运行队列中的该带中的线程数多于预定数量。如果是这样,则认为系统负载不平衡。如果不是,则通过将频带中的一个线程从线程数较多的运行队列移动到线程数较少的运行队列中,从而达到系统负载平衡。

著录项

相似文献

  • 专利
  • 外文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号