New Intel tool to help debug apps for hyperthreading
- 10 April, 2003 07:41
Intel has released a new software tool aimed at helping developers check for bugs in multi-threaded software applications for use on processors with Intel's hyperthreading technology.
A single user license for Intel Thread Checker costs US$1198, and is now available for download on Intel's Web site, the company said in a press release. It is designed to be used when bug-checking a multithreaded application, or a software program that throws multiple instruction streams at a processor simultaneously.
Normal processors execute streams of instructions sequentially, but hyperthreading allows a processor to execute different instruction streams simultaneously, Intel said.
It takes advantage of unused execution units in the processor, principal analyst at US market research firm Mercury Research, Dean McCarron, said. Execution units were part of the hardware of the processor and completed the operations specified in the instruction stream.
Some instruction streams were dependent on the stream preceding it, while some streams could be processed independently, he said. A processor equipped with hyperthreading could detect when an execution unit was not being used because the processor was waiting for a series of dependent streams to finish executing through another unit.
It then assigns an independent thread to the unused unit, speeding up the overall process.
Multithreaded applications benefit from this technology, which fools the operating system into thinking the system has two processors and ordering the application to send more instruction streams to the processor, McCarron said.
An example of a multithreaded application is Adobe Systems's Photoshop, which requires an instruction stream to run the overall application, and another to handle the graphics manipulation, he said.
Users who wished to take advantage of Intel's processors with hyperthreading technology, such as the 3.06GHz Pentium 4 processor and several Xeon server processors, needed to purchase multithreaded software or recode single-threaded applications into multiple threads, McCarron said.
Developers using Intel Thread Checker would be able to identify specific lines of code that contained errors, allowing them to more quickly repair software bugs that were causing threading errors, Intel said.
It automatically classified bugs as serious errors or issues warnings for suspect code, and showed variable, source line, and call stack information, the company said.
The tool can be downloaded at http://www.intel.com/software/products/, and will be available through resellers sometime in the second quarter, Intel said.
Users must run either Microsoft's Windows XP or Windows 2000 operating system to use the tool, the company said.