RE: Intel Core Duo/Duo2 T2300/E6400 - Hyper-Threading (the absence of)




On two of my new machines, with Intel Core Duo T2300 and Core2 Duo E6400
chips respectively, I noticed some weirdness in how many CPUs are
present.

If the hyper-threading bit is present in the CPU info, should there
always be a an extra CPU presented to the system per physical core?

No. That just means the CPU supports hyper-threading technology. That
doesn't mean it actually has an extra CPU per physical core, or that even if
it did, that that core was enabled.

Both the Core1 and Core2 chips I have the ht bit set, but present only
their two physical cores to the system. No access to the hyper-threading
capabilities at all. I also see no configuration options in the BIOS to
enable or disable hyper-threading. That is, /proc/cpuinfo and all
topology data only shows 2 CPUs present, and that they are not the HT
pair.
(CONFIG_NR_CPUS=8 is set).

Intel considers multiple physical cores on a chip to be hyper-threading too.
HT is a marketing term, not a technical one.

(This was originally triggered by somebody else's code that read the CPU
flags, saw hyper-threading, and decided there were 2x cpus for each
physical core. Said code has already been taken out back and shot
repeatedly).

Yeah, that's wrong for many reasons. Even if the CPU does support an extra
logical core per physical core, it may or may not be enabled and in use.
Basically, the HT bit being set tells you that you should continue to
determine the number of logical and physical cores present. It's just a step
in the detection sequence.

DS


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • RE: only 50% CPU usage for some processes
    ... As for only being able to use 50% of the CPU, ... Just to be sure, in task manager, do you see both bars ... using the Hyper-Threading capabilities. ... supporting HT Technology and a Hyper-Threading Technology ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: 2 CPUs?
    ... Windows XP and Hyper-Threading ... I recently changed my CPU in my PC. ... My motherboard doesn't even have | two slots. ...
    (microsoft.public.windowsxp.general)
  • Upgrading a Celeron D345 to a P4 with HT: XP - Hyper-Threading PROBLEMS??
    ... supports Hyper-Threading and P4 Northwood andd Extreme Edition up to ... when I will install the P4 will I have to reinstall ... Is the P4 recognized normally by Windows XP at the first boot after the cpu ...
    (microsoft.public.windowsxp.help_and_support)
  • Re:
    ... you cannot trust the informations about a CPU anymore:( ... I agree there can be some mistakes on the intel site. ... so it really can't have hyper-threading. ... This at least proves that you can't entirely trust the flags. ...
    (Debian-User)