Tablet, phone software developers face multicore challenge

Developers have to change their programming mindset as more cores and accelerators are added to mobile phones

Writing applications for devices like tablets and smartphones could become more challenging as CPUs and hardware accelerators are added to mobile chips, experts agreed at a processor conference on Monday.

Chip makers are adding CPUs and specialized hardware accelerators to mobile chips as an energy-efficient way to boost application performance on tablets and smartphones. Most mobile devices today come with one CPU core on a chip, but tablets and smartphones with dual- and triple-core chips could hit shelves as early as next year.

That means that applications must be rewritten to take advantage of the new hardware, said Linley Gwennap, principal analyst at Linley Group, during the Linley Tech Processor conference in San Jose, California.

A lot of work would be needed in software to extract better performance out of multicore chips, which could be a challenge, Gwennap said.

"What we're seeing on the phone side is applications having to change to use the second CPU," Gwennap said. "It's going to take some time before the software is ready for that," Gwennap said.

But it's a challenge that programmers are likely to meet. Smartphone and tablet shipments are growing fast, and developers are churning out new programs designed to get an early foothold in these exciting markets.

New smartphones such Apple's iPhone 4, Motorola's Droid X and HTC's Evo 4G carry the fastest processors ever, running at clock speeds of 1GHz. The tablet market is ruled by Apple's iPad, but it will heat up as challengers such as Samsung's Galaxy Tab and Toshiba's Folio 100 begin shipping. Research in Motion on Monday announced its new tablet, called the PlayBook.

Mobile devices are undergoing a transition from voice and SMS to more data services, and applications remain connected for longer, said Kannan Parthasarathy, an engineer at Byte Mobile. "It started off with Web browsing, now people are watching video," she said.

There are also social media applications that remain connected for longer, which calls for more processing power and improved network connectivity. To save battery life, developers need to understand mobile applications, services and connectivity, and break down tasks over cores and threads accordingly.

Mobile operating systems like Google's Android are partly ready for dual-CPUs at the OS level, which could initially reduce the strain on programmers, Gwennap said. But as mobile chips carry more cores, there will be more complexity in implementing applications over multiple cores and threads.

Qualcomm and Nvidia have announced dual-CPU chips based on Arm designs for smartphones and tablets. But Marvell has already released a chip with three processing cores, and the number of cores on mobile chips could increase over time as devices demand more performance while saving power.

"As you go beyond four cores ... you really have to start stripping down the OS," Gwennap said.

Chips based on Arm designs also have the capability of shutting down cores to save power. Depending on the chip architecture, many OS- and program-level changes would be needed for tablets and smartphones to take advantage of the power-saving features.

"The problem is the way you throttle down a Marvell CPU is different from the way you throttle down a Qualcomm CPU. The operating systems are going to have to have specific modules for each phone. It starts getting complicated," Gwennap said.

Beyond CPUs, specialized cores and hardware accelerators are being added to mobile chips to either increase performance or reduce power consumption. However, such specialized cores could reduce software portability, as they may require specific proprietary APIs (application programming interfaces) to port specific applications.

"The downside of accelerators is they reduce software portability," Gwennap said.

Some applications like video processing are suited for multicore processors and specialized accelerators, Gwennap said. Nvidia, for example, has added proprietary graphics processing cores to its Tegra 2 chips to accelerate video applications while saving power.

Similar multicore programming challenges faced software programmers writing applications for PCs in the past. Before multicore chips, application performance on PCs was boosted by cranking up CPU clock speed, and a lot of software was written in sequential mode for execution on a single core.

But cranking up clock speed led to excessive heat dissipation and power consumption, and chip makers like Intel reverted to a new technique of adding processing cores to improve performance. Software developers faced the challenge of rewriting applications to take advantage of multiple cores to scale application performance.

But with mobile devices, power consumption matters a lot more than application performance, Gwennap said.

"The software is very important in terms of driving power consumption. Everybody says 'oh, is my CPU good, is my CPU not good,' but it's what the software does with the CPU that makes a huge difference," Gwennap said.

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 GoogleAppleprocessorssoftwarehardware systemsapplication developmenttablet PCslaptopsresearch in motionComponentsSamsung ElectronicsLinley Group

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

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

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!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?