| US 7,603,673 B2 | ||
| Method and system for reducing context switch times | ||
| Mike MacPherson, Portland, Oreg. (US) | ||
| Assigned to Intel Corporation, Santa Clara, Calif. (US) | ||
| Filed on Oct. 28, 2004, as Appl. No. 10/975,571. | ||
| Prior Publication US 2006/0100986 A1, May 11, 2006 | ||
| Int. Cl. G06F 9/46 (2006.01); G06F 9/44 (2006.01); G06F 13/24 (2006.01); G06F 3/00 (2006.01) | ||
| U.S. Cl. 718—108 [718/102; 718/103; 712/220; 712/228; 710/48; 710/58; 710/59; 710/260] | 32 Claims |

| 1. A method comprising:
detecting a context switch request;
in response to detecting the context switch request, performing the operations:
halting a master thread from creating new worker threads,
estimating a retirement rate of a state associated with a plurality of worker threads; and
determining, based upon the estimated state retirement rate associated with the worker threads and a rate of saving state
of the worker threads, if the worker threads should be halted and the state of the worker threads saved to a memory;
wherein in response to the determining, halting and saving the state of the worker threads to the memory if the rate of saving
is greater than the estimated state retirement rate, and wherein the rate of saving is determined based on a portion of a
bandwidth available to write to the memory.
|