Google Answers Logo
View Question
 
Q: Need functions to disable and enable Hyperthreading technology ( No Answer,   0 Comments )
Question  
Subject: Need functions to disable and enable Hyperthreading technology
Category: Computers > Programming
Asked by: arintel-ga
List Price: $25.00
Posted: 10 Jan 2005 20:18 PST
Expires: 12 Jan 2005 23:07 PST
Question ID: 455334
Hello experts,

I need two functions to disable and enable Hyperthreading technology
in Pentium 4 processors, resprectively.

All logical processors must be disabled except one for the cpu to
behave as a normal processor without hyperthreading. All disabled
logical processors will be resumed only by the enabling function or by
rare (as rare as possible) events such as NMI interrupt signals.

The two functions will be put into a Windows XP device driver running
in kernel mode. This means they can call privileged system routines.

Disabling and enabling must not require rebooting. 

The two functions can be written in C or assembly.

Note 1: You only need to write the two functions, not the device driver.
You can consider the single physical processor environment only, need
not multi-processor one.

Note 2: Instead of writing the two functions explicitly, you can
provide algorithms with detailed documentation. Make sure you know
that they will work.


Related material I have found so far:

1. A logical processor can be halted by the HLT instruction.
ftp://download.intel.com/design/Pentium4/manuals/25366614.pdf (pdf page 378)

2. To prevent the halted logical processors to resume by normal
interrupts, you can raise the current task priority:
ftp://download.intel.com/design/Pentium4/manuals/25366814.pdf (section 8.8.3.1)
   or by masking the maskable hardware interrupts (section 5.8.1)


Thanks a lot
ARINTEL
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy