Channels ▼

Gastón Hillar

Dr. Dobb's Bloggers

Downsizing Multicore Programming Skills to Take Advantage of Intel Atom

October 02, 2009

There is no doubt that Intel Atom is an attractive microprocessor. Netbooks, embedded systems, consumer electronic devices, and MIDs (Mobile Internet Devices) are using its different flavors. But can multicore programming skills be useful with these single-core CPUs?

I spent last week attending Intel Developer Forum 2009 where the most popular words were "netbooks," "Atom," "multicore," and "parallelism." I had a great interest on the new Nehalem EX with its 8 physical cores and 16 hardware threads (16 logical cores when Hyper-Threading is enabled). Nonetheless, I was also involved in finishing an application to take advantage of the power offered by a tiny Intel Atom microprocessor running on netbooks and on MIDs (Mobile Internet Devices).

Intel Atom is a very powerful microprocessor. It is a single-core CPU. However, it offers Hyper-Threading, therefore you have ttwo hardware threads, with many shared resources. I wanted to show an application using nice visual effects, displaying images with animations and extra large icons. I had read Stephen Blair-chappell's article Parallel Execution Advantage on Single Core Intel Atom. His experience with an Intel Atom netbook motivated me to design an application with parallelism in mind, trying to take advantage of two hardware threads. It was a really difficult task because I had to target Windows XP, Windows Vista, Windows 7, Moblin 2.1 and Midinux 3.0.

When you target multiple platforms, you usually lose some performance, there is always a trade-off. However, if you design an application with parallelism in mind, you will gain performance in most modern microprocessors, even on Intel Atom. I could improve the overall performance by 35% taking advantage of Hyper-Threading. However, it was not enough to create real-time animations using multiple effects. As Intel Atom also offers MMX; SSE; SSE2; SSE3 and SSSE3, I had the possibility to take advantage of these powerful additional instructions. As I was working with visual effects, I could improve the overall performance by 80%.

CPU-Z displaying the features offered by Intel Atom N270 (MMX; SSE; SSE2; SSE3; SSSE3 and 2 hardware threads).

Finally, I had the possibility to run the application on stage as part of the keynote launching the Intel Atom Developer Program.

The good news is that you can downsize your multicore and parallel programming experience to target new mobile microprocessors and you'll be able to achieve very interesting performance improvements. Besides, I believe we will see multicore Atom CPUs in the future.

No matter whether you're targeting an eight-core CPU or a tiny single-core CPU with Hyper-Threading, you can go parallel in order to take advantage of the newest micro-architectures.

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.