Solved

Windows 7 and its dispatcher spin lock, and what about Linux kernel

Posted on 2009-05-12
3
1,544 Views
Last Modified: 2013-12-15
Was watching Mark Russinovich talking about the redesigned dispatcher lock in the new Windows 7 kernel.  The lock was single and global in previous Windows versions, which will become a bottleneck in a massively multicore system.  The newly designed the lock has a "tiered" approach, so the fine grained locking mechanism wouldn't create too much blocking.  That'll enable easy scaling to 256 cores.

That's certainly good.  Anyone has any insight on similar issues for Linux kernel?  I'm not talking about highly optimized ones running on things like Cray.  How about the run of the mill kernel that's in our desktop distributions?  Does it have any major global locks that may impede like the old Windows dispatcher lock?  Not really a pro on Linux kernel so haven't found any good literature on that.  Hopefully experts here may have a pointer or two.  Good links would be much appreciated.
0
Comment
Question by:techhealth
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
tenaj-207 earned 500 total points
ID: 24366264
Linux can handle 32 CPUs in a 32bit install and 64 in a 64bit install (which is the same for Vista and XP).  If you have a Linux cluster system then it can handel 1024.
https://answers.launchpad.net/ubuntu/+question/9820

In kernel 2.6 Linux uses the "Process Scheduler" to manage the different cores and hyper threading, similar but different, then the dispatcher lock.
Info on how linux kernel 2.6 handles multiple cores. See page 3
http://software.intel.com/sites/oss/pdf/mclinux.pdf

Have you seen what 256 cores look like in Win7?
http://software.intel.com/en-us/blogs/2009/01/05/what-does-256-cores-look-like/
0
 
LVL 11

Author Comment

by:techhealth
ID: 24369019
I think we'll have to compare based on single kernel - a cluster would have multiple copies of kernel running right?  That'd be one level above O/S.

Great introduction on the Linux scheduler.  Thanks!

Cool picture of the Task Manager.  I guess I'm not lucky (or unlucky) enough to deal with a 256-core monster day to day, but I think the comments on redesigning the interface are right on.  In its current form it's pretty much useless for monitoring the cores.
0
 
LVL 11

Author Closing Comment

by:techhealth
ID: 31580530
Thanks for the great links!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question