On The Insider: Britney's Bikini-Clad Top 10
BNET Business Network:
BNET
TechRepublic
ZDNet

By Stephen Shankland CNET News
Posted on ZDNet News: Jun 09, 2009 4:27:56 AM

SAN FRANCISCO--Apple wants Mac OS X to do a better job dealing with the new directions that Moore's Law has taken computer chips.

At its Apple Worldwide Developer Conference here, Craig Federighi, vice president of Mac OS engineering, shed light on technology called Grand Central Dispatch that's designed to make Mac OS X 10.6, called Snow Leopard, take better advantage of multicore processors and graphics processors.

Computer chips for years improved in performance through faster clock speeds, but processor engineers ran into problems with chips consuming inordinate amounts of power and producing inordinate amounts of heat. In addition, the faster clock speeds sometimes meant chips just idled faster because memory access speeds couldn't keep up.

The new direction: multicore processors that put multiple processing engines on the same chip. The problem with the approach, though, is that PC software typically had been written to run with one thread of instructions at a time. Multicore processors work best when software does many things at the same time, which is much harder to program.

Grand Central Dispatch is designed to address that problem for software developers, making it easier to program multithreaded software, use operating system services, and tune program executions.

It also improves how Mac manages those threads, Federighi said. For example, when running Apple's Mail app, today's Leopard OS uses about the number of threads when busy as when idle.

"When it's busy, it uses more threads to take advantage of multicores. When idle, all those threads go away, giving back resources to the system," Federighi said. "When you apply that to every application, you get a big win in performance and responsiveness."

Graphics chip power
The new Mac OS X also is designed to support a programming technology called GPGPU--general-purpose graphics processing unit--which lets a graphics chip run some computing jobs in addition to its ordinary job displaying graphics.

To make its GPGPU technology work, Apple uses OpenCL, a C-like programming technology that has the support of graphics chipmakers Nvidia, AMD's ATI, Intel, and others.

Graphics chips aren't good for every sort of computing task, but they are good for mathematical calculations--including they physics calculations often needed in video games that simulate flowing fabrics, bouncing balls, and other real-world actions.

Mac OS X will be available in September with an upgrade price of $29, a big notch less expensive than the $129 price of earlier upgrades.

Apple also is working to support 64-bit x86 processors, now the prevailing standard. One big advantage of 64-bit processors is support for more than 4GB of memory; Federighi also touted faster mathematical processing such as the doubled speed of fast Fourier transforms.

Apple has been gradually making its operating system fully 64-bit. "Snow Leopard is final stage where all the major system applications are written in 64-bit mode," Federighi said.

This article was originally posted on CNET News.

SponsoredWhite Papers, Webcasts, and Downloads

  • Talkback
  • Most Recent of 6 Talkback(s)
GCD != OpenCL
GCD helps with multicore processors.

OpenCL for leveraging your GPU.

Both are useful additions.... (Read the rest)
Posted by: Richard Flude Posted on: 06/10/09 You are currently: a Guest | | Terms of Use
One question ...  johnfenjackson@... | 06/09/09
It ultimately depends...  Stuka | 06/09/09
As always, the answer is: it depends  NonZealot | 06/09/09
Grand Central doesn't speed up anything come September  honeymonster | 06/09/09
GCD != OpenCL  Richard Flude | 06/10/09
Until developers use APIs, minimal speed up.  BillDem | 06/09/09

What do you think?

SmartPlanet

Click Here