Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

An Easy Step-by-Step to Installing and Running Roundcube Webmail on Ubuntu/Linux

Tech Comics: "Groundhog Day"

Want a Job? Learn Linux

PC-BSD 9 review – to FreeBSD what Ubuntu is to Debian

Time to dispel open source myths, says Liam Maxwell

SECURITY: Nmap Inside and Out

Eight features Windows 8 'borrowed' from Linux

Malware devs embrace open-source

A tale of two distros: Ubuntu and Linux Mint

Raspberry Pi benchmarked against Beagleboard, low price is long term



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:developerWorks: Context Switching, Part 2
developerWorks: Context Switching, Part 2
Jan 6, 2003, 05 :30 UTC (2 Talkback[s]) (7272 reads)

(Other stories by Edward G. Bradford)

"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. I concluded that the algorithm for choosing a thread to run is well optimized in Windows.

"This month's column follows up on two issues. In the first, we look at giving the scheduler algorithm multiple choices by inserting more than one extra lock into the scheduling stew. Here again, we look only at the switching algorithm and give the processor no real work to accomplish. In the second issue, we finally look at accomplishing real work with threads. My workload consists of an intensive CPU computation of a fractal point. I give each thread a fractal point to compute and see how many iterations each can accomplish after a given amount of time. Will lots of threads get equal amounts of time?

"Recall last month's column showed that using the proper process synchronization primitives can make a major difference in the amount of time required to perform a context switch. Choosing the best primitives on each platform to measure the context switch time produces a reasonably fair comparison. Although last month's program accomplished no work, it did demonstrate the speed of context switching in both systems..."

Complete Story

Related Story:
developerWorks: Context Switching(Jul 24, 2002)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
... except if you're really interest ...   Skip this ...   
Rainer Weikusat
Jan 6, 2003, 12:17:20
 
And what about all the changes in the de ...   Re: Skip this ...   
Tom Mraz
Jan 6, 2003, 15:04:04
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP