O'Reilly logo

The Unabridged Pentium 4 IA32 Processor Genealogy by Bob Colwell, Tom Shanley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HT Performance Issues

Introduction

Intel® recommends that the following software techniques be used to optimize code for execution on HT-enabled processors:

  • The OS scheduler should schedule threads to be executed on logical processors within different physical processors before scheduling threads to be executed on both of the logical processors within the same physical processor.

  • Eliminate spin-wait loops wherever possible.

  • Execute the HLT instruction on a logical processor when entering an idle period.

  • The OS scheduler should attempt to balance the load placed on each of the logical processors.

  • Attempt to share code and data between the threads executing on each of the logical processors within the same physical processor.

  • Eliminate or decrease the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required