Invention Grant
US07882505B2 Method and apparatus for switching between per-thread and per-processor resource pools in multi-threaded programs
有权
用于在多线程程序中在每线程和每处理器资源池之间切换的方法和装置
- Patent Title: Method and apparatus for switching between per-thread and per-processor resource pools in multi-threaded programs
- Patent Title (中): 用于在多线程程序中在每线程和每处理器资源池之间切换的方法和装置
-
Application No.: US11090398Application Date: 2005-03-25
-
Publication No.: US07882505B2Publication Date: 2011-02-01
- Inventor: Alexander Garthwaite , David Dice , Derek R. White
- Applicant: Alexander Garthwaite , David Dice , Derek R. White
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Osha • Liang LLP
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F13/00

Abstract:
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.
Public/Granted literature
Information query