What is Multi-threading



When symmetric multiprocessing (SMP) first became cheap enough to come within reach of the average PC user, many hardware enthusiasts eager to get in on the SMP craze were asking what exactly (besides winning them the admiration and envy of their peers) a dual-processing rig could do for them.

It was in this context that the PC crowd started seriously talking about the advantages of multi threading. Years later when Apple brought dual-processing to its PowerMac line, SMP was officially mainstream, and with it multi threading became a concern for the mainstream user as the ensuing round of benchmarks brought out the fact you really needed multi threaded applications to get the full benefits of two processors.

Even though the PC enthusiast SMP craze has long since died down and, in an odd twist of fate, Mac users are now many times more likely to be sporting an SMP rig than their x86-using peers, multi threading is once again about to increase in importance for PC users. Intelandrsquo;s next major IA-32 processor release, codenamed Prescott, will include a feature called simultaneous multi threading (SMT), also known as hyper-threading. To take full advantage of SMT, applications will need to be multi threaded; and just like with SMP, the higher the degree of multi threading the more performance an application can wring out of Prescottandrsquo;s hardware.

Intel actually already uses SMT in a shipping design: the Pentium 4 Xeon. Near the end of this article weandrsquo;ll take a look at the way the Xeon implements hyper-threading; this analysis should give us a pretty good idea of whatandrsquo;s in store for Prescott. Also, itandrsquo;s rumored that the current crop of Pentium 4andrsquo;s actually has SMT hardware built-in, itandrsquo;s just disabled. (If you add this to the rumor about x86-64 support being present but disabled as well, then you can get some idea of just how cautious Intel is when it comes to introducing new features. Iandrsquo;d kill to get my hands on a 2.8 GHz P4 with both SMT and x86-64 support turned on.)

SMT, in a nutshell, allows the CPU to do what most users think itandrsquo;s doing anyway: run more than one program at the same time. This might sound odd, so in order to understand how it works this article will first look at how the current crop of CPUs handles multitasking. Then, weandrsquo;ll discuss a technique called super threading before finally moving on to explain hyper-threading in the last section. So if youandrsquo;re looking to understand more about multi threading, symmetric multiprocessing systems, and hyper-threading then this article is for you.

As always, if youandrsquo;ve read some of my previous tech articles youandrsquo;ll be well equipped to understand the discussion that follows. From here on out, Iandrsquo;ll assume you know the basics of pipelined execution and are familiar with the general architectural division between a processorandrsquo;s front end and its execution core.






About Author:

Leif Cage writes about Dedicated Servers, UK Dedicated Servers and SEO.





All Best Articles at http://www.allbestarticles.com
You Can Link Directly to "What is Multi-threading"
by using the url: http://www.allbestarticles.com//internet/web-hosting/what-is-multi-threading.html


Add Your Picture
Add Your Picture


Article Submitted By: LeifCage
This Article Has Been Read 143 Times











Publish/Share this article

Remember: The article body, title, author bio and links may not be changed or removed. By publishing this article, you agree to all the terms in our Terms of Service.
Get the HTML for reprinting the article to your site


Rating: Not yet rated




Related information on Web Hosting

Introduction to Secure Web Hosting Packages

Website Hosting - How To Find a Reliable Web Host

Why Use the Best Web Host for Your Website?

Multiple Domain Hosting Solution

Cheap Web Hosting is Better than Quality Web Hosting?

Earning Money Online With Reseller Hosting

Enhancing Business Efficiency With SharePoint Hosting

How Will You Benefit By Availing Affordable Web Hosting Services

Web Hosting: What to Look for When Choosing a Web Hosting Provider

Understanding and Choosing Business Web Hosting Services

VPS Hosting Your Own Dedicated Server

Criteria to choose a VPS provider

The Advantages of Cloud Computing

Business Growth with Cloud Servers

Types Of Operating Systems That Function On Cloud Server Software