November 04, 2008

Multicore: New chips mean new challenges for developers

More and more help is available so developers can write apps for the new-generation chips

With the advent of multicore processors such as the Intel Core Duo, which is now commonplace in PCs, software developers must deal with a new wrinkle -- getting software to be processed across multiple cores -- in order to ensure the maximum performance from their software. But this is much easier said than done, with developers having to tackle issues with concurrency and potential performance bottlenecks. Already, 71 percent of organizations are developing multithreaded applications for multicore hardware, according to a recent IDC survey sponsored by tool vendor Coverity.

Developers need to get an organization-wide commitment to accommodate multicore software development, advises IDC analyst Melinda Ballou. "They need to approach this with a level of commitment to better practices organizationally and from a project perspective for quality management [and] change management as well as development," she says.

[ Intel's Nehalem chip will push PCs further into a multicore world. InfoWorld's Tom Yager explains why Nehalem is such a game changer. ]

Multicore processors are becoming more prominent because single-core chips have maxed out on the heat and performance scale. Power-consumption issues also have driven development of multicore chips. Chipmakers such as Intel are adding cores to their CPUs. "Over the last 20 years of computing or longer, we've really been able to ride the wave of increased computing power through frequency scaling," says Lynne Hill, general manager of Microsoft's Parallel Computing Platform. But now, a wall (power consumption) has been hit, and hardware has to change if the processing capabilities of PCs are to increase, she says.

The hardware is in fact changing, which puts the burden on developers to adapt their applications to use it. Developers must learn new techniques and use new tools to maximize performance.

That's because multicore processors work differently than single-core ones, processing multiple instructions in parallel. That means software has to break apart its instructions to be able to be processed in parallel as well. "When you have multiple cores, your program has to take advantage of all those cores, and it has to run instructions [on those cores] simultaneously," says Ben Chelf, CTO at Coverity, which offers tools for multicore development. "The challenge is that software never had to be designed to be run in parallel on multiple cores. It always just ran on a single core," says Ray DePaul, CEO of RapidMind, another provider of multicore-development tools.

Cliff Click, a distinguished engineer at Azul Systems who has offered technical presentations on issues with large concurrent programs, stresses the difficulties of writing multithreaded programs. "It's very hard, [but] it doesn't look that hard to begin with," he says.

Companies such as Intel, Microsoft, and Sun Microsystems are providing assistance with the multicore challenge and parallel programming.

Close

On Twitter now

Application development

Powered by Twitter
additional resources
White Paper - How to Improve Delivery of Advanced Web Applications

White Paper

Virtual Workforce: The Key to Expanding The Business While Cutting Costs

Get the independent advice and expertise you need to support a virtual workforce.

Go inside:
The three-step approach to making a virtual workforce a reality.
The four flavors of client virtualization technologies.
The three key initiatives that solve IT challenges.
Download now »
White Paper: Successfully Secure Your Wireless LAN With Wi-Fi firewalls.

White Paper

Addressing Linux Threats Leveraging Fewer Resources

The increase in Linux popularity has increased the frequency and sophistication of malware attacks. Read this 2 page white paper now to learn how you can protect your Linux environment with real-time protection that is certified by all major Linux vendors.

Download now »
White Paper - The 2009 Handbook of Application Delivery

White Paper

The 2009 Handbook of Application Delivery

Ensuring acceptable application delivery will become even more difficult over the next few years. As a result, IT organizations need to ensure that the approach that they take to resolving the current application delivery challenges can scale to support the emerging challenges. This handbook elaborates on the key tasks associated with planning, optimization, management and control and provides decision criteria to help IT organizations choose appropriate solutions.

Download now »
White Paper - Is Your Backup System Outdated?

White Paper

Mid-range Storage Considerations

A common misconception is that mid-range storage requirements are dramatically different than that of a larger enterprise. Mid-range storage users may require less capacity, but they have similar functionality and management requirements. This ESG paper examines mid-range storage needs and reviews a new solution that adjusts size while retaining value, performance and functionality.

Download now »

Developer World Newsletter

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

©1994-2010 Infoworld, Inc.