Feeds

HyperThreading scores are Hyper- perplexing

It still doesn't add up

  • alert
  • submit to reddit

Designing a Defense for Mobile Applications

Friday's server briefings at Intel SC13 allowed the press an extended session to quiz Chipzilla on its recent benchmark adventures. But what we were particularly interested in was the question that's been vexing hardware sites since the spring: why HyperThreading - Intel's word for SMT - doesn't deliver all the benefits promised.

As we noted back in March (see Why isn't SMT Xeon scaling?", preliminary benchmarks showed a very mixed result. In some cases HyperThreading slowed the machine down. Although Alan Cox noted in a recent kernel list posting that enabling SMT could add a 10 to 30 per cent improvement, in some cases there was no gain. And in the German tech bible c't, Andreas Stiller recommended disabling HyperThreading on Windows systems altogether.

Intel's Jason Waxman, who looks after "performance marketing" - or in his words, the guy who cops it when a benchmark is shot down - pointed out that SMT was disabled by default in Xeon workstations. In short, Intel wasn't recommending multi-threading for everyone.

Yes, he acknowledged, cache contention was real: when two processor threads were vying for resources, one was bound to lose out.

Would he recommend that developers recompile for HyperThreading? No, but there was some things they could be done, such as improving thread affinity.

At this point a member of the press (no names here) came to Intel's rescue, by suggesting that ISVs were already beginning to rewrite their applications for SMT.

The look on Jason's face was a mixture of relief and horror. Relief, because he was delighted to see a journalist ride to the company's cause, but horror because much of the point of HyperThreading is that you don't have to rewrite your applications. In fact, it would be like a ferry company advising its passengers to bring their own wetsuits and dinghies.

Wisely Jason stopped short of endorsing this approach. The name of the game is increasing parallelism, and the presence of threads in the OS doesn't necessarily make for a more parallel work flow.

Intel itself has a C++/Fortran compiler that supports OpenMP pragmas and directives. OpenMP is a cross-platform initiative for tools vendors to optimize for shared memory multiprocessing: so it covers SMP as well as SMT.

There's also some interesting Intel labs work on speculative execution designed to speed up single threaded applications. We'll get some additional clarification in the next day or two. ®

The Register Server Channel

The Power of One eBook: Top reasons to choose HP BladeSystem

More from The Register

next story
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Attack of the clones: Oracle's latest Red Hat Linux lookalike arrives
Oracle's Linux boss says Larry's Linux isn't just for Oracle apps anymore
THUD! WD plonks down SIX TERABYTE 'consumer NAS' fatboy
Now that's a LOT of porn or pirated movies. Or, you know, other consumer stuff
EU's top data cops to meet Google, Microsoft et al over 'right to be forgotten'
Plan to hammer out 'coherent' guidelines. Good luck chaps!
US judge: YES, cops or feds so can slurp an ENTIRE Gmail account
Crooks don't have folders labelled 'drug records', opines NY beak
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
FLAPE – the next BIG THING in storage
Find cold data with flash, transmit it from tape
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.