Comment by onli
9 years ago
Rule of thumb: On a desktop, if you have an i5 you do not have Hyperthreading. All i3s and i7s do have Hyperthreading, as do new Kaby Lake Pentiums (G4560, 4600, 4620).
On laptops, some i5s are not real quad cores but dual cores with Hyperthreading.
>Rule of thumb: On a desktop, if you have an i5 you do not have Hyperthreading. All i3s and i7s do have Hyperthreading, as do new Kaby Lake Pentiums (G4560, 4600, 4620).
Hmm...either this statement is wrong or this desktop /proc/cpinfo is wrong:
Intel's product spec page[1] lists this CPU as not supporting Hyper-Threading so I'm a bit puzzled as to why the ht flag is present.
[1]https://ark.intel.com/products/88188/Intel-Core-i5-6600-Proc...
Hmmm, checking for "ht" seems to be giving weird info. On a i5-750 here (few years old), running Fedora 25:
"ht" is being returned even though the CPU only has 4 cores and no hyperthreading:
https://ark.intel.com/products/42915/Intel-Core-i5-750-Proce...
dmidecode seems to give more accurate info for this:
It looks like dmidecode also contradicts itself with the hyper threading flag:
1 reply →
To quote the Intel Developer Instructions[1] on the HTT flag:
>A value of 0 for HTT indicates there is only a single logical processor in the package and software should assume only a single APIC ID is reserved. A value of 1 for HTT indicates the value in CPUID.1.EBX[23:16] (the Maximum number of addressable IDs for logical processors in this package) is valid for the package.
UPDATE: It appears these flags refer to each initial APIC ID, so it seems the HTT flag value should be 0 in all cases where the overall processor:thread ratio is 1, suggesting there might either be incorrect information in the CPUID instruction for some Intel CPUs or the kernel is not correctly evaluating CPUID.1.EBX[23:16].
Hopefully, someone more versed in CPUs can correct me here.
[1]https://www.intel.com/content/www/us/en/architecture-and-tec...
cpuinfo is probably wrong in this case. Looking at the intel spec sheet: http://ark.intel.com/products/88188/Intel-Core-i5-6600-Proce...
Do you have 8 threads?