Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-12
3
Medium Priority
?
1,575 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

916 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