News Archive (1999-2012) | 2013-current at LinuxGizmos | Current Tech News Portal |    About   

Context switching, Part 2 [IBM developerWorks]

Dec 28, 2002 — by LinuxDevices Staff — from the LinuxDevices Archive — 1 views

This article, which is part of a series on “High-performance programming techniques on Linux and Windows” at IBM's developerWorks website, looks at two behaviors of the scheduler. The first 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. Part 1 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.

Read full story

 
This article was originally published on LinuxDevices.com and has been donated to the open source community by QuinStreet Inc. Please visit LinuxToday.com for up-to-date news and articles about Linux and open source.



Comments are closed.