发明名称 Method and apparatus for efficient scheduling of multithreaded programs
摘要 In general, the invention relates to a non-transitory computer readable medium comprising instructions, which when executed by a processor perform a method. The method includes obtaining lock overhead times for a plurality of threads, generating a set of thread groups, wherein each of the plurality of threads is assigned to one of the plurality of thread groups based on the lock overhead times, allocating at least one core of a multi-core system to each of the plurality of thread groups, and assigning a time-quantum for each of the plurality of thread groups, wherein the time-quantum for each of the plurality of thread groups corresponds to an amount of time that threads in each of the plurality of thread groups can execute on the at least one allocated core.
申请公布号 US9280388(B2) 申请公布日期 2016.03.08
申请号 US201313873640 申请日期 2013.04.30
申请人 Oracle International Corporation 发明人 Johnson Darrin P.;Pusukuri Kishore Kumar;Saxe Eric C.
分类号 G06F9/46;G06F9/48;G06F9/50;G06F9/52 主分类号 G06F9/46
代理机构 Osha Liang LLP 代理人 Osha Liang LLP
主权项 1. A non-transitory computer-readable medium comprising instructions, which when executed by a processor perform a method, the method comprising: obtaining lock overhead times for a plurality of threads; generating a set of thread groups, wherein each of the plurality of threads is assigned to one of the plurality of thread groups based on the lock overhead times; allocating at least one core of a multi-core system to each of the plurality of thread groups; and assigning a time-quantum for each of the plurality of thread groups, wherein the time-quantum for each of the plurality of thread groups corresponds to an amount of time that threads in each of the plurality of thread groups can execute on the at least one allocated core, and wherein assigning the time-quantum for each of the plurality of thread groups comprises using a time-quantum table specifying a time-quantum for each processor utilization range.
地址 Redwood Shores CA US