Solved

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

Posted on 2009-05-12
3
1,533 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now