LinuxDevices.com Archive Index (1999-2012) | 2013-current at LinuxGizmos.com | About  
Follow LinuxGizmos:
Twitter Google+ Facebook RSS feed

Context switching, Part 2 [IBM developerWorks]

Dec 28, 2002 — by LinuxDevices Staff — from the LinuxDevices Archive
Share this: Tweet about this on TwitterGoogle+Share on FacebookShare on LinkedInShare on Reddit

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 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.

(advertise here)


Comments are closed.