Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > Processors/DSPs
?
?
Processors/DSPs??

Breaking down Intel's transactional memory

Posted: 21 Feb 2012 ?? ?Print Version ?Bookmark and Share

Keywords:multicore processors? transactional memory? x86 processor?

Moving forward into a new era for computer architecture, Intel Corp. is adopting transactional memory (TM) in its upcoming Haswell processors. After two decades, the company is taking the technology from the academia into the mainstream.

Transactional memory is a software technique meant to simplify the writing of concurrent programs. It is how Intel hopes to make its multicore processors easier for software developers to take advantage of with parallel programming.

Multi-core processors are becoming one of the biggest challenges for modern software programmers, with ever more faster CPU cores emerging year by year, keeping pace with Moore's law. How to take full advantage of the sheer power and performance these multiple cores bring, however, is no simple task.

In a paper discussing transactional memory, analyst David Kanter of Real World Technologies said Intel's implementation of TM struck a "careful balance" between what it actually provided to programmers versus the investment needed from Intel, noting that the firm had very carefully extended the existing coherency protocol to provide TM in a non-invasive way.

Kanter also lauds Intel's hardware lock elision, calling it a "nice intermediate step" for programmers, allowing them to explore the benefits of TM without substantially rewriting their code.

"Haswell's transactional memory is most likely a deferred update system using the per-core caches for transactional data and register checkpoints," said Kanter, summing up his technical findings about Intel's specific Haswell implementation of Transactional Synchronization Extensions (TSX).

"With the benefit of several implementations in hindsight (Azul, Sun's Rock, Transmeta), TSX seems to have avoided many problems," said Kanter though he added that the success of TSX depends entirely on how well Haswell works.

Haswell is the first x86 processor to feature hardware transactional memory, but Kanter said Intel appears to have implemented it in a straight forward, logical and relatively simple fashion.

Intel shows off progress in ultrabook line
Haswell is a 22nm follow on to Ivy Bridge that aims to slash power consumption, while maintaining performance. It aims to deliver a 20-fold power reduction to enable a mobile system to live ten days in standby mode on a single charge. Read more of the article here.

Kanter predicts that going forward, Intel will be able to further fine tune its transactional memory, with multiversions more amenable to speculative multithreading, which focuses on using multiple hardware threads (or multiple cores) to work together and accelerate a single software thread.

"The other avenue for Intel is proliferating transactional memory throughout the x86 product line," said Kanter, explaining that the firm's efforts today centered mainly around mobile SoCs and the upcoming many-core Knight's Corner.

"Transactional memory is a natural and obvious fit for future many-core products," said Kanter, noting that Intel's restricted transactional memory (or programming interface) is actually an easier programming model than many alternatives on the market, able to augment existing languages like C++ through libraries and extensions.

"Moreover, the potential to significantly improve scalability is incredibly attractive for a design with dozens of cores and hundreds of threads," he added.

- Sylvie Barak
??EE Times





Article Comments - Breaking down Intel's transactional ...
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top