Snow Leopard taps into the Mac's core power

Mac OS X 10.6, code-named Snow Leopard, adds native support for parallel programming tools.

Mac OS X 10.6, or "Snow Leopard", running on a MacBook Pro: image by Apple

Mac OS X 10.6, or "Snow Leopard", running on a MacBook Pro: image by Apple

Laptops and desktops could see software performance gains with parallel programming tools built into Apple's new operating system, Mac OS X 10.6, which was introduced by the company on Monday.

A number of enhancements allows the OS, code-named Snow Leopard, to tap into the processing power of multiple CPU and graphics processing cores to boost software performance. The OS builds in multiple programming and software tools that divide up tasks for simultaneous execution across the cores.

Snow Leopard is more intelligent than its predecessors in taking advantage of hardware resources available to drive system performance, observers said on Monday. The OS also is better at identifying resources available and can accordingly allocate threads across multiple cores and processors, observers said.

The new tools in Snow Leopard include Grand Central Dispatch, a programming environment that breaks up tasks into multiple threads based on the number of cores and threads available. It also builds in native support for OpenCL, a set of programming tools to develop and manage parallel task execution.

"A lot of Macs will have supercomputers sitting there for free," said Neil Trevett, president of The Khronos Group, the standards organization that defines the specifications for OpenCL.

Video processing in particular could see up to 50 times improved performance on Macs with the new OS, Trevett said. Video decoding could be a lot faster as pixel processing will be distributed across multiple CPU and graphics processing units in a system.

Snow Leopard's evolution is tied to challenges hardware and software makers have faced in the past. The traditional way of boosting application performance on PCs was by cranking up CPU clock speed, said Linley Gwennap, president and principal analyst at The Linley Group. That led to software being written in a sequential mode for execution on a single core, with an increase in clock speed providing the boost in software performance.

Ultimately, cranking up clock speed led to excessive heat dissipation and power consumption, and chip makers like Intel reverted to adding cores to boost performance. That brought a set of new issues to software developers, who faced the challenge of writing applications to take advantage of multiple cores to scale application performance.

"As the processor vendors brought forth dual-core and multicore processors, the operating systems guys have had to play catch up in terms of bringing out software that works with the new chips," Gwennap said. Apple has unlocked a piece of the software puzzle, as parallel processing is the only way ahead to get big gains in performance, he said.

Apple has also laid the groundwork for software providers to write multicore applications with Snow Leopard, Gwennap said. But users may not see performance benefits until programmers stop writing applications for single-core processors and retrain themselves to write in parallel.

Another analyst agreed with Gwennap, saying that programmers aren't used to thinking in parallel, even though the problem dates back to the 1940s.

"Programmers have to be educated to think about how to break down their program into multiple tasks that can execute simultaneously," said Tom Halfhill, senior analyst at In-Stat, and senior editor of Microprocessor Report. Native support for OpenCL in Snow Leopard could encourage more programmers to write in parallel.

OpenCL is a programming framework that includes a C-like programming language with a few APIs to manage distribution of kernels across hardware like processor cores and other resources.

Apple's push of parallelism to desktops and laptops could ultimately reach smartphones, Halfhill said.

"Ultimately Apple could go migrate it down into products like their iPhone," Halfhill said.

But Microsoft isn't far behind Apple, Halfhill said. Microsoft is trying to bring in additional multicore execution capabilities with its upcoming Windows 7 operating system through a new DirectX set of application programming interfaces (APIs).

Earlier versions of Windows -- like Windows XP and Vista -- have been panned by observers for failing to take advantage of multiple cores in CPUs to boost application performance.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags AppleMac OS Xsnow leopardOpenCL

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Agam Shah

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Jack Jeffries

MSI GS75

As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr

MSI PS63

The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?