Nepedia
Back to Discover
Independent Reader
💻

Multithreading (computer architecture)

technology Maturity 7-9 Next article →

A computer brain is called a CPU. It can do many tasks at once. This way of working is called multithreading.

Multithreaded process
Multithreaded process

Most computers do many tasks at the same time. Sometimes, one task has to stop and wait. It might wait for data to come from memory. This wait can take a long time. Instead of staying still, the CPU switches to a new task. This keeps the parts of the CPU busy. This helps the whole system work faster.

There are different ways to do this. One way is coarse-grained multithreading. In this way, a task runs until it must wait. Then, the CPU switches to another task. Another way is fine-grained multithreading. This way switches tasks very often. It can switch tasks every single cycle.

The most advanced way is called simultaneous multithreading, or SMT. In SMT, the CPU can work on many tasks at the exact same time. This uses all the available parts of the CPU. Some companies, like Intel, use this to make computers better. It helps the computer get more work done in less time.

183 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Multithreaded process.svg
Multithreaded process.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.