首页> 外国专利> Method and apparatus for switching between per-thread and per-processor resource pools in multi-threaded programs

Method and apparatus for switching between per-thread and per-processor resource pools in multi-threaded programs

机译:在多线程程序中的每线程和每处理器资源池之间切换的方法和装置

摘要

In a multi-processor multi-threaded computer system, resources are dynamically assigned during program operation to either threads or processors in such a manner that resource usage is maximized. In one embodiment, the choice of whether to assign resources to threads or processors is dependent on the number of threads versus the number of processors. In another embodiment, when the system is operating in one assignment mode, the amount of wasted resources is measured and when this measured amount exceeds a predetermined threshold based on the maximum resources that could be wasted were the system operating in the other assignment mode, the assignment is switched to the other assignment mode.
机译:在多处理器多线程计算机系统中,资源在程序操作期间以最大化资源使用的方式动态分配给线程或处理器。在一个实施例中,是否向线程或处理器分配资源的选择取决于线程数与处理器数。在另一实施例中,当系统在一种分配模式下运行时,测量浪费的资源量,并且当该测量量基于系统在另一种分配模式下运行时可能浪费的最大资源而超过预定阈值时,分配切换到其他分配模式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号