×

Method and system for reducing context switch times

  • US 7,603,673 B2
  • Filed: 10/28/2004
  • Issued: 10/13/2009
  • Est. Priority Date: 10/28/2004
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×