Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1566  / 3 Years ago, wed, august 4, 2021, 1:45:33

It is Ubuntu 16.04




$ uname -a
Linux m-x170 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


The processor used is Xeon E3 1245 v5 that is spec'ed as quad core 8 threads per core.




dmidecode -t processor shows

Core Count: 4
Core Enabled: 4
Thread Count: 8
Characteristics:
64-bit capable
Multi-Core
Hardware Thread
Execute Protection
Enhanced Virtualization
Power/Performance Control



And lscpu shows

$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 94
Model name: Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz


And when queried about HTT, it is there too.




$ sudo dmidecode | grep HTT
HTT (Multi-threading)


The question is: Why is lscpu showing 2 threads per core where as the dmidecode reports 8 threads (meaning 8 per core)?


More From » 16.04

 Answers
5

You have 4 CPU cores, with Hyper Threading (HTT) support you have one additional logical core per CPU.



So you have:




  • 4 physical cores

  • 8 logical cores



and the results of the commands are correct.


[#13285] Thursday, August 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rieency

Total Points: 299
Total Questions: 116
Total Answers: 111

Location: Wales
Member since Tue, Dec 14, 2021
2 Years ago
;