首页>
外国专利>
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.
展开▼