Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference b/w hyper threading and multithreading?

I was wondering if someone could explain me the difference b/w these two ? Has it something to do with intel hardware architecture (HT) ?

like image 312
sp497 Avatar asked Jan 03 '13 16:01

sp497


People also ask

Which is better multithreading or Hyper-Threading?

The processors based on multithreading are more potent than the hyperthreading-based processors. Now there are many fresh processors available in the market that use multithreading technology. And it also produces a higher level of efficiency and works output from the resources.

What is the difference between multicore and multithreading?

Multithreaded processors (e.g., simultaneous multithreading) – single CPU core that can execute multiple threads simultaneously. Multicore processors – multiprocessor where the CPU cores coexist on a single processor chip.

What is the difference between multithreading and multiprocessing?

By formal definition, multithreading refers to the ability of a processor to execute multiple threads concurrently, where each thread runs a process. Whereas multiprocessing refers to the ability of a system to run multiple processors concurrently, where each processor can run one or more threads.

What is meant by multithreading?

Multithreading is the ability of a program or an operating system to enable more than one user at a time without requiring multiple copies of the program running on the computer. Multithreading can also handle multiple requests from the same user.


1 Answers

Hyperthreading is a hardware thing and Intel branding. Most other people call it Simultaneous Multithreading (SMT). To the programmer, two hyperthreads look like two CPU cores. On the hardware side, multiple hyperthreads share a single core. (In the case of intel, there are two hyperthreads per core).

Multithreading (or multithreaded programming) is generally considered the concept of using more than one thread context (instruction pointer, registers, stack, etc.) in a single program. (Usually in the same process or virtual address space).

like image 140
Nathan Binkert Avatar answered Oct 16 '22 15:10

Nathan Binkert