Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
HP 15-F033WM Drivers 4 28
print logs windows 7 3 37
Enable Intel-VT on a IBM Yoga 7 20
Office 365 2016 Offline Installer 9 48
So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

760 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

19 Experts available now in Live!

Get 1:1 Help Now