December 26, 2002

RunTime: Context switching, Part 2

An anonymous coward writes "This article looks at two behaviors of the scheduler. The first behavior is the reaction to adding more choices to the scheduler's switching decision. The second demonstrates fairness by performing a uniform workload in multiple threads. Source code is provided so you can experiment on your own. Last month's column looked at bare context switch times by using the best primitives on both Windows and Linux. According to those results, context switch time under Windows takes only half as long as under Linux."

Category:

  • Linux
Click Here!