首页> 外国专利> Method for improving the execution efficiency of frequently communicating processes utilizing affinity process scheduling by identifying and assigning the frequently communicating processes to the same processor

Method for improving the execution efficiency of frequently communicating processes utilizing affinity process scheduling by identifying and assigning the frequently communicating processes to the same processor

机译:通过识别并分配频繁通信的进程给同一处理器来利用亲和进程调度来提高频繁通信的进程的执行效率的方法

摘要

A method for assigning processes to processors within a multi- processor computer system employing a sleep/wakeup facility whereby a first process requiring information from a second process is placed into a "sleep" state by said computer system until said second process is able to provide said required information, said first process thereupon being awakened by said computer system so that said first process may continue processing with the required information. The method comprising the steps of identifying a pair of processes which frequently exchange wakeup requests, and assigning the processes within the pair of processes to the same processor within the multi-processor computer system for execution. To identify frequently communicating processes, the method of the present invention maintains a record of each "wakeup" request issued by the computer system, the record including: an identification of the process on whose behalf said wakeup request is issued; and an identification of the process to which said wakeup request is issued. The records are periodically examined to determine a count of the number of wakeup requests between pairs of processors. Should the number of wakeup requests between two processors exceed a predetermined threshold, those two processors are assigned to the same processor within the multi- processor computer system for execution.
机译:一种用于向使用睡眠/唤醒设施的多处理器计算机系统内的处理器分配进程的方法,其中,需要来自第二进程的信息的第一进程被所述计算机系统置于“休眠”状态,直到所述第二进程能够提供所述所需信息,所述第一过程随后被所述计算机系统唤醒,以使得所述第一过程可以继续使用所需信息进行处理。该方法包括以下步骤:识别频繁交换唤醒请求的一对进程,并将该对进程中的进程分配给多处理器计算机系统内的同一处理器以执行。为了识别频繁通信的过程,本发明的方法维护由计算机系统发出的每个“唤醒”请求的记录,该记录包括:代表发出所述唤醒请求的过程的标识;以及所述唤醒请求被发送到的过程的标识。定期检查记录以确定处理器对之间的唤醒请求数。如果两个处理器之间的唤醒请求的数量超过预定阈值,则将这两个处理器分配给多处理器计算机系统内的同一处理器以执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号