August 13, 2007

AMD proposes CPU extensions for multicore apps

Software and hardware will be better integrated, allowing users to take fuller advantage of multicore processors

AMD is announcing plans to extend its CPU instruction set Tuesday to make it easier for software developers to exploit the power of multicore processors when building applications.

The company's Hardware Extensions for Software Parallelism initiative represents an effort to help hardware and software become better integrated, said Margaret Lewis, vice president of software engineering at AMD. 

AMD stressed that converting single-threaded software to be multithreaded is a highly specialized skill and a challenge for developers. The extensions initially focus on performance analysis via the company's new "Light-Weight Profiling" specification accessible on AMD's site. This technology will enable real-time feedback for performance optimization that can be directly used by software, said Earl Stahl, vice president of software engineering at AMD.

"Developers will incorporate [the technology] into the software, and the software can utilize it to at runtime to discover, for example, cache contention with their memory allocator and reallocate that memory," Stahl said. 

Over time, other hardware extensions could be added in such areas as software transactional memory, high-performance message-passing, and fast context-switching for lightweight parallelism. AMD plans to offer the full gamut of specifications released under the plan up for public review.

Software that would leverage the extensions could be applications based on platforms such as Microsoft's Common Language Runtime or the Java runtime, Stahl said. Access to the extensions by developers could be done either through compilers or via a small API layer.

The extensions, however, will not be in AMD chips for an estimated three to four years. They will not be in the upcoming AMD Barcelona and Bulldozer chips.

Such a long lead time is not uncommon, according to AMD officials. The company detailed its 64-bit CPU extensions in 1999, but they did not appear in processors until 2003. The purpose of Tuesday's release is to get discussion going on software optimization, Lewis said.

Intel, whose chip technologies are leveraged by AMD, theoretically could use the extensions also if it put them in its own chips, Lewis said. Intel could not be reached for a response on Monday.

AMD and Intel have approached the processor parallelism issue differently, said analyst Nathan Brookwood, research fellow at Insight64. Intel has focused on software tools to help with multithreaded development, while AMD is offering support in hardware itself, he said.

"The AMD extensions will make it easier for multiple threads to cooperate on a single task. Intel is doing that through software, and AMD is saying, hey, with a little bit of help from the hardware, they can make it even better," Brookwood said.

AMD's plan could result in better-performing applications, he said.

The only issue Brookwood could raise with the extensions is that they could simply take up space on the chip when the choice is made not to use them and that this space might be used more wisely for other tasks. But the extensions will not create chaos or disorder or force any changes in what people are doing, he said.

AMD's extensions are not specific to multicore chips, which are becoming more of the dominant processor technology. "While not limited to multicore, [the technology] certainly will find its sweet spot there," Stahl said.

By publishing its specifications, AMD can get parties such as Microsoft to look at them and have open dialog on implementation, according to AMD. The company would submit the specifications to a standards body, but none currently exists in this area, Stahl said.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.