Timeline for How to know number of cores of a system in Linux?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 22, 2019 at 18:10 | comment | added | stochastic | right, so both before and after hyperthreading you had four cores. Before, you had 8 CPUs: eight pieces of hardware that could accept instructions to be run (but with only 4 full sets of execution hardware). By turning off hyperthreading, you disabled half of those CPUs (one CPU on each core is now disabled). You are certainly correct that it is a little confusing. | |
| Nov 22, 2019 at 17:39 | comment | added | user373503 | I have now 4 CPUs. Before, I had hyperthreading on (via BIOS), and it showed 8, from cpu0 to cpu7. I have one "quadcore processor", the vendor tells me on the box. Confusing, because I can easily say I have "a CPU that can run 8 threads" at a time (yes, with hyperthreading, so it is more 5 or 6 threads' equivalent). | |
| Nov 22, 2019 at 17:22 | comment | added | stochastic | @rastafile:. it's an interesting point you raise. different people use "CPU" to mean different things. I believe what I say here is consistent with the output of the lscpu command which the OP referenced. In my experience, computer engineers are referring to what you call a core when they say CPU, but even there I'm sure someone will disagree with me 🙂 | |
| Nov 22, 2019 at 16:05 | comment | added | user373503 | Only thing; you use "CPU" as virtual CPUs for the kernel; "normally" a CPU has multiple cores. Not wrong just confusing I want to say. | |
| Mar 15, 2017 at 22:35 | history | answered | stochastic | CC BY-SA 3.0 |