# What is Hyperthreading?

- Link: https://tongfamily.com/2003/11/26/what-is-hyperthreading/
- Published: 2003-11-26T23:20:25-08:00
- Author: rich

[Ars Technica: Introduction to Multithreading, Superthreading and Hyperthreading](http://www.arstechnica.com/paedia/h/hyperthreading/hyperthreading-1.html)
and “Tom’s Hardware”:http://www6.tomshardware.com/cpu/20021227/. _Well, the Intel
site was confusing on the topic of what is this hyperthreading thing, so a quick
google search found an article that someone with a 30 year old computer science 
degree like me can understand_
 The basic idea is that today’s modern processors
have two very different problems from the old days. Today, memory is incredibly 
slow (10-20 clock cycles, compared to 2-3 when I did computer systems design). So,
if a thread has to access memory it is stalled essentially forever. Second is that
there are very long deep pipelines in today’s processors (so you might have 7 different
pipelines that can execute and each is 6 stages deep). That means that if a thread
stalls, then you lose lots of performance. You have to empty this gigantic pipeline
to get to the next instruction. That’s a big change from the old days of say 2 pipelines
and 3 stages in each. Thus, what hyperthreading does is to make scheduling much 
more granular. If a thread blocks on a memory access, you can throw all kinds of
other threads into the unused parts of the pipeline. In effect what happens is that
a single CPU (which is of course today really, a very parallel thing, it has lots
of schedulers, lots of pipelines and lots of stages in the pipelines) becomes logically
two CPUs to the operating system. There are some things to be duplicated, but essentially,
to the software it looks like you can be in two entirely different contexts every
single cycle. Tom’s Hardware provides a higher level view BTW and points out that
this matters the most when you are running at full bore applications with lots of
threads (that is lots of parallelism). Not true with things like Office applications
though.

### Share this:

 * [  Mastodon ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?subject=%5BShared%20Post%5D%20What%20is%20Hyperthreading%3F&body=https%3A%2F%2Ftongfamily.com%2F2003%2F11%2F26%2Fwhat-is-hyperthreading%2F&share=email)
 * [More](https://tongfamily.com/2003/11/26/what-is-hyperthreading/#)

 * [  Telegram ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=telegram)
 * [  Print ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=tumblr)
 * [  X ](https://tongfamily.com/2003/11/26/what-is-hyperthreading/?share=twitter)

### Like this:

Like Loading…

## Comments

### By: jesse nelson

- Link: https://tongfamily.com/2003/11/26/what-is-hyperthreading/comment-page-1/#comment-610
- Published: 2004-08-01T18:47:13-07:00

can you simplify all this stuff and resend me one copy

Loading...

### By: melanie

- Link: https://tongfamily.com/2003/11/26/what-is-hyperthreading/comment-page-1/#comment-611
- Published: 2004-07-28T05:07:44-07:00

can u send me the detailed technology of hyperthreading?

Loading...

### By: a little ludwig goes a long way

- Link: https://tongfamily.com/2003/11/26/what-is-hyperthreading/comment-page-1/#comment-612
- Published: 2003-11-28T14:33:17-08:00

**Tong is on fire.**
 Details on upcoming Shuttle SN85g4’s, CPU ID utility, DVD 
ripping, Hyperthreading, … the guy is a blogging machine!…

Loading...
