- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is a question received by Intel Developer Services Support, followed by the response provided by our Application Engineers:
Q. I wonder if there are any adaptations of Hyper-Threading technology in assembler? Can I write any programmes (including the simplest ones) which use this technology? Howdo Ido this? Could you give me some examples of source code which I can use in assembler with explanation and comments?
A. The first thing to understand about Hyper-Threading Technology is how it's implemented. Here is a link to a tutorial that explains how Hyper-Threading works: http://or1cedar.intel.com/media/training/hyper_threading_intro/tutorial/index.htm.
In a nutshell, Hyper-Threading Technology allows a single processor to appear as 2 processors to the OS. This is done by duplicating a few resources on the actual CPU so that there can be 2 architectural states. Since there are not 2 actual physical processors available to the OS as there would be in a dual-processor system, we say there are 2 logical processors.
In order to take advantage of this technology, an application would need to be threaded. Existing applications that are threaded for multi-processor systems should automatically take advantage of Hyper-Threading technology. This paper,
Now, once you've written your code, you may want to look at optimizing it for maximum performance. This tutorial, http://or1cedar.intel.com/media/training/spinloop/tutorial/index.htm, shows a few threading techniques (along with small code samples) to use on IA-32 processors to achieve maximum performance.
==
Lexi S.
Message Edited by intel.software.network.support on 12-07-2005 04:45 PM
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page