- TalkBack 5 of 9:
- Next »
- « Previous
- Thread View
- Flat View
- Code with threads which need to synchonize 'often'
-
will get minimal benefit from chip conmcurrency. What is the benefit to have multiple threads 'active' only to wait to serialize themselves?
The objective of the simultaneous concurrent threading is to have more than one thread producing useful work simultaneously. In the classical multithreaded execution, a thread executes in the processor until it has to stall for possibly 100s of clock cycles (due to a cache miss, due to mispredicted branch, or lack of available functional units, etc.). The stalls are the big enemy of pipelines (especially the 'deep' ones, errrhhhhmmm Pentium 4...) which mean that h/w stays idle without producing useful work for several clock cycles. When the stall is for > 100s of cycles (page fault) the OS switches to another thread. Since stalls and page faults are VERY common events, especially in servers, a lot of h/w remains idle.
The simultaneous multithreading simply allows the context of multiple threads to be 'known' to the processor simultaneously, so that even if one thread stalls, other(s) cam still make positive progress.
It is a good idea but there are some pitfalls: with k active thrads the memory throughput should be AT LEAST k times that of the processor which can have one thread. Another is that the threads better be independent, or you end up serializing execution 'too often'.
Let's see how well Sun can pull this off.....
--m - Posted by: michael_t Posted on: 10/26/05 You are currently: a Guest | Members login | Terms of Use
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
What do you think?
SponsoredWhite Papers, Webcasts, and Downloads
- Building the Virtualized Enterprise with VMware Infrastructure VMware VMware virtualization software has been adopted by over 120,000 enterprise ... Download Now
- Building the Virtualized Enterprise with VMware Iinfrastructure VMware VMware virtualization software has been adopted by over 120,000 enterprise ... Download Now
- Using NIC Teaming to Achieve High Availability on Linux Platforms Dell Network interface card (NIC) teaming is one method for providing high ... Download Now
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Reduce risk. Reduce complexity. Increase reliability.
-
A simplified IT environment isn't just less complex. It's also more reliable. Standardize on a single Linux platform with SUSE Linux Enterprise from Novell, and get the world's most interoperable Linux
- Learn more >>
- New Online Dashboard for IT Leaders
-
Read about top issues IT decision-makers face every day, plus get cost-effective solutions to real-life IT problems.
- Learn more >>
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer>>
-
-
Smart Tech
Expert advice on innovations in healthcare and the green technologies that make it happen.
Find out more
-
Smart Business
Discussion and advice on management issues that revolve around making your world smarter and more useful.
More Smart Advice
-
Smart People
The best and worst moves in the management and strategy trenches.
Learn More






