Got a tip for us? Share it...

Grand Central Dispatch and Open CL Bring Significant Performance Improvements for Optimized Applications

Hardmac reports on a performance comparison between Mac OS X Leopard and Mac OS X Snow Leopard from Christophe Ducommun, developer of MovieGate, a video encoding and DVD creation software package. Ducommun, who is optimizing his application to take advantage of the Grand Central Dispatch and Open CL features of Snow Leopard, has found remarkable performance improvements for his software on the operating system when running on a Mac Pro.

Christophe Ducommun who keeps optimizing Snow Leopard for his application MovieGate just sent us results to illustrate how Snow Leopard can improve performance when one can make use of Grand Central and Open CL. Tests below have been performed with a Mac Pro 2007 (Quad Core 2.66 GHz with a GeForce 8800 GT).

The results include an approximately 50% increase in video encoding speed when compared to Leopard, while also reducing the CPU load during video decoding by passing some of the work to the graphics processing unit.

Snow Leopard
150 frame/s for encoding in MPEG-2
70% CPU load for decoding
130% CPU load for MPEG-2 encoding (ffmpeg)

Leopard
104 frame/s for encoding in MPEG-2
165% CPU load for decoding
100% CPU load for MPEG-2 encoding (ffmpeg)

While Ducommun's experience is relatively rare at this point due to the inability for the vast majority of applications to make such comprehensive use of Grand Central Dispatch and Open CL at this time, it highlights the potential performance gains these core technologies can bring to Mac OS X as developers begin to take advantage of them.

Top Rated Comments

(View all)

31 months ago
I'd like to know which Apple apps are already optimized. For example, Logic 9?
Rating: 0 Positives / 0 Negatives
31 months ago

I'd like to know which Apple apps are already optimized. For example, Logic 9?


Probably none are.

I'd like a GCD/Open CL-capable iMove, Keynote, iDVD, Handbrake, iPhoto, FCS, and Logic Studio, along with Finder.
Rating: 0 Positives / 0 Negatives
31 months ago
Yeah developers, start taking advantage of this ****.
Rating: 0 Positives / 0 Negatives
31 months ago
good news. :D
Rating: 0 Positives / 0 Negatives
31 months ago

Probably none are.

I'd like a GCD/Open CL-capable iMove, Keynote, iDVD, Handbrake, iPhoto, FCS, and Logic Studio, along with Finder.


Indeed.

You know, I would have expected either FCS 3 to arrive after the launch of Snow Leopard, and boast about how fast these apps (or at least some actions) are using GCD and OpenCL, or have a few updates for these apps to make use of these optimizations.
Strangely, nothing can be found.

Probably iLife 10 etc..?
Rating: 0 Positives / 0 Negatives
31 months ago
Since i updated to SL my cod 4 is running extremely slow.. (uMBP on 9600)
Rating: 0 Positives / 0 Negatives
31 months ago
Decoding under OS X definitely needs a lot of help.
Rating: 0 Positives / 0 Negatives
31 months ago

Probably iLife 10 etc..?


Most likely. That's why I'm not getting iLife or iWork '09. '10 will be GCD/Open CL-compatible for sure and written in 64-bit Cocoa. If not, that'd be a pretty stupid move.
Rating: 0 Positives / 0 Negatives
31 months ago
I desperately want GC/OpenCL optimized Handbrake, but the developers have been saying for a long time that it is probably nowhere near, and may never come at all. At first they said it was because of Handbrake being cross platform, and more recently they say that it's out of their hands and up to the people who make the encoder they use.
Rating: 0 Positives / 0 Negatives
31 months ago

Most likely. That's why I'm not getting iLife or iWork '09. '10 will be GCD/Open CL-compatible for sure and written in 64-bit Cocoa. If not, that'd be a pretty stupid move.


I want that too, but I wouldn't bet on it - I mean, Logic 9 and FCS 3 was released a little over a month before Snow Leopard, and they weren't even optimized (Pro apps you would figure would be first in line for a rewrite).
Rating: 0 Positives / 0 Negatives

[ Read All Comments ]