What are the differences between a thread and a core in a CPU?

276 views

What are the differences between a thread and a core in a CPU?

In: 14

10 Answers

Anonymous 0 Comments

There are two types of threads, hardware threads and software threads. A CPU core which is hyperthreaded can run multiple independent processes per CPU tick. So instead of one tick meaning one instruction, one tick means *n* instructions, where *n* is the number of threads per core.

A software thread simulates this phenomenon but can’t replecate the CPU tick. It can split a process into multiple simultaneous jobs but can only do *nc* instructions per tick (*n* number of threads *c* cores). Generally, though, the OS will keep one process on one hardware thread even if it’s multithreaded unless it’s very resource intensive.

You are viewing 1 out of 10 answers, click here to view all answers.