how do i know hyperthreading is on?

Sharky Forums


Results 1 to 8 of 8

Thread: how do i know hyperthreading is on?

  1. #1
    Catfish df's Avatar
    Join Date
    Sep 2000
    Location
    Lexington VA(USA) + Melbourne(Aus)
    Posts
    146

    how do i know hyperthreading is on?

    i have a p4-2.40b (c1 stepping). wcpuid says it has HTT... buuut how do i know its really there and working??

  2. #2
    Sleeps with the Fishes Almost Famous's Avatar
    Join Date
    Oct 2002
    Location
    Upstate NY
    Posts
    2,327

    Re: how do i know hyperthreading is on?

    Originally posted by df
    i have a p4-2.40b (c1 stepping). wcpuid says it has HTT... buuut how do i know its really there and working??
    C1 does not mean HT. AFAIK only the 3.06 has HT to date

  3. #3
    Catfish df's Avatar
    Join Date
    Sep 2000
    Location
    Lexington VA(USA) + Melbourne(Aus)
    Posts
    146
    ok. that answers that.. just wondering why the hyperthreading flag is on in cpuid flags if its not really there?

  4. #4
    Hammerhead Shark
    Join Date
    Dec 2001
    Posts
    1,334

    Smile

    On POST, you would see two identical CPUs and in Windows, your system would be recognized as a dual system.

    I think you have a stepping of the core with HT technology in there, but not working (a finalized version, not the Jackson Tech core logic which all P4s have had).

    Tom's Hardware talked about this:

    http://www6.tomshardware.com/cpu/200..._306ht-02.html

    In contrast with its direct predecessor, the 2.8 GHz P4, the new CPU has a major new benefit - its Hyper-Threading technology has now been enabled. What has been hidden from the user up until now is that Intel already integrated its Hyper-Threading technology into the Willamette core two years ago. Software developers were able to access this function right from the start for research purposes. It is not possible to activate HT on older P4 CPUs, because certain settings in these chips are permanently disabled.
    There's a discussion going on here: http://www.vrforums.com/showthread.p...5&pagenumber=1

    Also, I'm sure WCPUID checks for HTT by running the CPUID instruction and checking the value returned in one of the registers. Since the newest chips are probably all made on the same mask, the CPUID instruction should return the same values on any current stepping of the CPU. CPUs with HT (for now the 3.06) and those without HT probably differ in some later stage where Intel might blow fuses (as they do to set the multiplier) or something along those lines to really enable or disable HT. It would seem to me that a company that goes as far as to put the actual speed of the CPU on the namestring, wouldn't leave it entirely upto the BIOS to limit HT.

    This is why I think WCPUID shows HTT as enabled (because the program is basically just a GUI representation of the x86 CPUID instruction), but try as one might, they won't be able to actually activate it on a CPU that's not supposed to have it.

    Hope that helps.
    Last edited by Ramuman; 01-17-2003 at 12:12 PM.

  5. #5
    Hammerhead Shark
    Join Date
    Dec 2001
    Posts
    1,334

    Smile

    If someone is familiar with x86 assembly and wants to try this out themselves, they can use the CPUID instruction to find out for themselves how WCPUID reports HTT supported. Supported does not mean enabled, as this program would show (it returns the number of logical processors).

    Its just a register value after executing WCPUID with the correct value in the EAX register (in this case 1).

    Here's some sample x86 code I wrote to check this (my dated assembler won't support the CPUID instruction so I can't post the actual working program):

    Code:
    MAIN PROC FAR 
         PUSH DS ;INITIATE THE PROGRAM 
         XOR EAX,EAX ;CLEAR EAX
         PUSH EAX
         MOV EAX,1H ;INITIATE CPUID
         CPUID 
         MOV DX,EBX[23:16] ;CHECK COUNT
         MOV AH,9 
         INT 21H ;DISPLAY COUNT
         RET 
    MAIN ENDP
    I just wrote that quickly, so bear in mind it might have bugs, and like WCPUID, it will be fooled, so even if it returns a 2 (HTT supported CPU stepping), it doesn't mean your specific CPU has HT enabled. Enabling it would require Intel to do so during production.

    Check out page 17:
    http://developer.intel.ru/download/d...s/24161822.pdf
    Last edited by Ramuman; 01-17-2003 at 12:42 PM.

  6. #6
    Reef Shark shev_milan07's Avatar
    Join Date
    Dec 2001
    Location
    ID
    Posts
    324
    Originally posted by Ramuman:
    On POST, you would see two identical CPUs and in Windows, your system would be recognized as a dual system.
    You can open Device manager in WIN XP/2000 , go to Processor sub menu , you will see two identical CPUs.
    It means that HT is enabled

  7. #7
    Hammerhead Shark
    Join Date
    Dec 2001
    Posts
    1,334

    Smile

    Originally posted by shev_milan07


    You can open Device manager in WIN XP/2000 , go to Processor sub menu , you will see two identical CPUs.
    It means that HT is enabled
    Exactly, for all intents and purposes you have 2 identical P4s if you have HT -- just with one set of execution resources, cache, bus bandwidth etc. .
    Last edited by Ramuman; 01-18-2003 at 06:12 AM.

  8. #8
    Tiger Shark
    Join Date
    Dec 2000
    Location
    Hilton Head, SC, USA
    Posts
    893

    BIOS

    People talk about having to disable HT in dual xeon systems because win2k only accepts 2 processors - the OS sees the primary processor and it's second virtual identity and put's *that* down as the second processor instead of the second actual cpu... then leaves the second chip to waste completely... My question is this... Is there a bios feature that needs to be switched on in order for HT to run? (Win2k server, by the way works fine with 2 xeon's and HT enabled...)
    ---

    Workstation:
    Supermicro P4SCT
    Intel P4 3ghz 800mhz fsb
    512 x 2 PC3200 cas 2.5
    1024 x 2 PC3200 cas 2.5
    RAID 0 X2 WD Raptor X boot drive
    nVidia Geforce 7950 GT 512MB AGP 8X
    ConnectCom 64bit 66mhz PCI-X Fibre Channel Card
    Creative Sound Blaster X-Fi XtremeGamer Fatal1ty Pro
    Killer K1 nic card
    Microsoft Windows Vista Ultimate 32bit
    Gentoo 2.6.26-r5
    Laptop:
    Compaq Presario F500
    Windows Vista Ultimate 64bit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •