The Right SoC at the Right Time: Apple's A5

Here's how I know Apple is masterful at marketing. After first showing off the new iPad Apple had tons of press convinced that the company was no longer competing based on specs but rather only interested in delivering an experience. In reality Apple is competing with hardware even more than before, it's just trying to give the public the impression that it's not. After all, Apple doesn't make the vast majority of the technology inside the iPad but it does control the experience. A competitor may be able to ship a dual core Cortex A9 but it can't ship the iOS experience. Is it really a surprise that Apple would downplay what it doesn't have exclusive rights to and instead try to get everyone to focus on what it does? Make no mistake, Apple is very much playing the specs game - in fact it's playing the game harder than anyone else in the industry today.

At the heart of the iPad 2 is a brand new SoC: the Apple A5. Built on what I assume is Samsung's 45nm process the A5 is a much more powerful SoC than it's predecessor the A4.

Architecture Comparison
  ARM11 ARM Cortex A8 ARM Cortex A9 Qualcomm Scorpion
Issue Width single-issue dual-issue dual-issue dual-issue
Pipeline Depth 8 stages 13 stages 9 stages 13 stages
Out of Order Execution N N Y Partial
FPU Optional VFPv2 (not-pipelined) VFPv3 (not-pipelined) Optional VFPv3-D16 (pipelined) VFPv3 (pipelined)
NEON N/A Y (64-bit wide) Optional MPE (64-bit wide) Y (128-bit wide)
Process Technology 90nm 65nm/45nm 40nm 40nm
Typical Clock Speeds 412MHz 600MHz/1GHz 1GHz 1GHz

While the A4 featured a single core ARM Cortex A8, the A5 integrates two ARM Cortex A9s with a total of a 1MB L2 cache. That puts the A5 at a similar level of CPU performance to NVIDIA's Tegra 2 and TI's OMAP 4430. The only insider information I've managed to come across points to A5 featuring ARM's MPE (SIMD/NEON engine) in its A9 cores.

Based on Chipworks' analysis of the Apple A5 die it looks like Apple implemented a dual-channel LP-DDR2 memory controller, similar to TI's OMAP 4430.

ARM Cortex A9 Based SoC Comparison
  Apple A5 TI OMAP 4 NVIDIA Tegra 2
Clock Speed Up to 1GHz Up to 1GHz Up to 1GHz
Core Count 2 2 2
L1 Cache Size 32KB/32KB 32KB/32KB 32KB/32KB
L2 Cache Size 1MB 1MB 1MB
Memory Interface Dual Channel LP-DDR2 (?) Dual Channel LP-DDR2 Single Channel LP-DDR2
NEON Support Yes (?) Yes No

Had it not been for NVIDIA Apple would've had the first shipping dual-core Cortex A9 SoC on the market. This is ultimately why Apple is producing it's own SoCs - most of the players in the SoC space don't seem to be moving fast enough for Apple's hardware schedule. Given the aggressive yearly product cadence I wouldn't be too surprised to see a dual-core Cortex A15 in the Apple A6 a year from now. Remember that much of Apple's success has come from being able to control it's hardware and software development. On the Mac side Apple has an extremely aggressive chip partner with Intel, but with the iDevices there is no equivalent (for now). Until that changes, Apple will continue to produce it's own SoCs. It's not that Apple is designing any of the IP that goes into the SoC, it's that Apple is piecing together what it needs, when it needs it.

We've already gone through the performance offered by the A5 over the A4, but to quickly recap: it's a huge increase. While the original iPad felt slow, the new one feels much faster. I would be lying if I said it was fast enough, but it's way better than the original.

CPU Performance

Taken from our iPad 2 Performance Preview:

Geekbench 2 - Floating Point Performance
  Apple iPad Apple iPad 2
Overall FP Score 456 915
Mandlebrot (single-threaded) 79.5 Mflops 279.1 Mflops
Mandlebrot (multi-threaded) 79.4 Mflops 554.7 Mflops
Dot Product (single-threaded) 245.7 Mflops 221.7 Mflops
Dot Product (multi-threaded) 247.2 Mflops 436.8 Mflops
LU Decomposition (single-threaded) 54.5 Mflops 205.4 Mflops
LU Decomposition (multi-threaded) 54.8 Mflops 421.6 Mflops
Primality Test (single-threaded) 71.2 Mflops 177.8 Mflops
Primality Test (multi-threaded) 69.3 Mflops 318.1 Mflops
Sharpen Image (single-threaded) 1.51 Mpixels/s 1.68 Mpixels/s
Sharpen Image (multi-threaded) 1.51 Mpixels/s 3.34 Mpixels/s
Blur Image (single-threaded) 760.2 Kpixels/s 665.5 Kpixels/s
Blur Image (multi-threaded) 753.2 Kpixels/s 1.32 Mpixels/s

Single threaded FPU performance is multiples of what we saw with the original iPad. This sort of an improvement in single-core performance is likely due to the pipelined Cortex A9 FPU. Looking at Linpack we see the same sort of huge improvement:

Linpack

Whether this performance advantage matters is another matter entirely. Although there aren't many FP intensive iPad apps available today, moving to the A5 is all about enabling developers - not playing catch up to software.

Geekbench reports the iPad 2 at 512MB of memory, double the original iPad's 256MB. Remember that Apple has to deal with lower profit margins than it'd like with the iPad, but it refuses to cut corners on screen quality so something else has to give.

L2 cache size has also apparently increased from 512KB to 1MB. The L2 cache is shared among both cores and 1MB seems to be the sweet spot this generation.

Geekbench 2 - Memory Performance
  Apple iPad Apple iPad 2
Overall Memory Score 644 787
Read Sequential (single-threaded scalar) 340.6 MB/s 334.2 MB/s
Write Sequential (single-threaded scalar) 842.4 MB/s 1.07 GB/s
Stdlib Allocate (single-threaded scalar) 1.74 Mallocs/s 1.86 Mallocs/s
Stdlib Write (single-threaded scalar) 1.20 GB/s 2.30 GB/s
Stdlib Copy (single-threaded scalar) 740.6 MB/s 522.0 MB/s

Geekbench's memory tests show an improvement in effective bandwidth as well. The biggest improvement is in the stdlib write test which shows a near doubling of bandwidth from 1.2GB/s to 2.3GB/s. Unfortunately this isn't enough data to draw conclusions about bus width or DRAM operating frequency. Given the increases in CPU and GPU performance, an increase in memory bandwidth to go along with the two isn't surprising.

Geekbench shows a healthy increase in integer performance, both in single and multithreaded scenarios. The multithreaded advantage makes sense (two are better than one), but the lead in single threaded tests shows the benefit the A9 can deliver thanks to its shorter pipeline and ability to reorder instructions around stalls.

Geekbench 2 - Integer Performance
  Apple iPad Apple iPad 2
Overall FP Score 365 688
Blowfish (single-threaded) 13.9 MB/s 13.2 MB/s
Blowfish (multi-threaded) 14.3 MB/s 26.1 MB/s
Text Compression (single-threaded) 1.23 MB/s 1.50 MB/s
Text Compression (multi-threaded) 1.20 MB/s 2.82 MB/s
Text Decompression (single-threaded) 1.11 MB/s 2.09 MB/s
Text Decompression (multi-threaded) 1.08 MB/s 3.28 MB/s
Image Compress (single-threaded) 3.36 Mpixels/s 3.79 Mpixels/s
Image Compress (multi-threaded) 3.41 Mpixels/s 7.51 Mpixels/s
Image Decompress (single-threaded) 6.02 Mpixels/s 6.68 Mpixels/s
Image Decompress (multi-threaded) 5.98 Mpixels/s 13.1 Mpixels/s
Lua (single-threaded) 172.1 Knodes/s 273.4 Knodes/s
Lua (multi-threaded) 171.9 Knodes/s 542.9 Knodes/s

On average Geekbench shows a 31% increase in single threaded integer performance over the A4 in the original iPad. NVIDIA told me they saw a 20% increase in instructions executed per clock for the A9 vs. A8 and if we remove the one outlier (text decompression) that's about what we see here as well.

Geekbench 2
  Overall Integer FP Memory Stream
Apple iPad 448 365 456 644 325
Apple iPad 2 750 688 915 787 324

The increases in integer performance and memory bandwidth are likely what will have the largest impact on your experience. The fact that we're seeing big gains in single as well as multi-threaded workloads means the performance improvement should be universal across all CPU-bound apps.

What does all of this mean for performance in the real world? The iPad 2 is much faster than its predecessor. Let's start with our trusty javascript benchmarks: SunSpider and BrowserMark.

SunSpider Javascript Benchmark 0.9

Apple improved the Safari JavaScript engine in iOS 4.3, which right off the bat helped the original iPad become more competitive in this test. Even with both pads running iOS 4.3, the iPad 2 is 80% faster than the original iPad here.

The Motorola Xoom we recently reviewed scored a few percent slower than the iPad 2 in SunSpider as well. Running different OSes and browsers, it's difficult to conclude much when comparing the A5 to Tegra 2.

A bug in BrowserMark kept us from running it for the Xoom review but it's since been fixed. Again we're looking at mostly JavaScript performance here. Rightware modeled its benchmark after the JavaScript frameworks and functions used by websites like Facebook, Amazon and Gmail among others. The results are simply one aspect of web browsing performance, but an important one:

Rightware BrowserMark

The move from the A4 in the iPad 1 to the A5 in the iPad 2 boosts scores by 47%. More impressive however is just how much faster the Xoom is here. I suspect this has more to do with Google's software optimizations in the Honeycomb browser than hardware, but let's see how these tablets fare in our web page loading tests.

We debuted an early version of our 2011 web page loading tests in the Xoom review. Two things have changed since then: 1) iOS 4.3 came out, and 2) we changed our timing methods to produce more accurate results. It turns out that Honeycomb's browser was stopping our page load timer sooner than iOS', which resulted in some funny numbers when we got to the 4.3/Honeycomb comparison. To ensure accuracy we went back to timing by hand (each test was repeated at least 5 times and we present an average of the results). We also added two more pages to the test suite (Digg and Facebook).

2011 Page Load Test - Average

The iPad 2 generally loads web pages faster than the Xoom. On average it's a ~20% increase in performance. I wouldn't say that the improvement is necessarily noticeable when surfing most sites, but it's definitely measurable.

Double the Memory, Still Not Enough

On a Mac or PC if you don't have enough system memory and go to run a new application you'll get a lot of swapping to disk. The OS will write least recently used pages of memory to disk and evict them from main memory, making room for the newly launched application. Memory management in iOS works differently. All applications are required to save their state as soon as they move from the foreground as iOS can evict them from memory at any point in time.

Having more memory in iOS means you can have apps with larger memory footprints or you can keep more apps in memory without forcefully evicting them, but it generally doesn't mean you'll see improved performance.

With the iPad 2 Apple chose to only equip the device with 512MB of LP-DDR2 memory. That's half of what you get in the Motorola Xoom, but twice what you got in the original iPad. This does mean that (as we mentioned earlier) things like web pages can remain in memory longer, although there's no real impact on performance from what we can tell.

If Apple follows its short tradition, we may see more memory in the iPhone 5 and then more in the iPad 3 next year. Display resolution didn't increase so there's no pressure for additional memory there, but Apple is definitely holding developers back by not throwing even more hardware resources at the iPad 2.

Industrial Design & The Future The GPU: Apple's Gift to Game Developers
Comments Locked

189 Comments

View All Comments

  • VivekGowri - Saturday, March 19, 2011 - link

    I think it's $799, but I agree, it's too high. The equivalent iPad, at $729, is also way up there - really the only iPad that makes much sense as far as value goes is the base 16GB WiFi. I think the Xoom is probably going to have it's price cut by at least $100, if not $200, before it actually gets anywhere - ASUS took the right tack by putting it's lowest end Honeycomb tablet at $399.
  • KoolAidMan1 - Saturday, March 19, 2011 - link

    Where the iPad really works for me is as a travel device and in the living room. The iPad is just much nicer to use with in-flight wifi. Small, no cable management, and the battery will outlast a LAX-JFK roundtrip. My laptop lives in the overhead storage bin.

    You mentioned that the iPad has replaced the ThinkPad in airports, and I think that is spot-on. It is just so much more convenient and manageable to use compared to a laptop. I've left the laptop at home twice and I didn't miss it much, aside from not being able to play Starcraft 2 when I'm on the road. :)

    The "sharing" aspect of the device has great advantages in a work environment, especially when you want to go over PDFs with a group of people. No need to crowd around or turn a laptop, just pass around the iPad.

    As for the living room and bedroom, self explanatory. Not being tethered to the home office in order to fire off email is nice. Ditto using it as a universal remote in the living room.

    It is a luxury device and a supplement, absolutely, but a damn good one.
  • nickdoc - Sunday, March 20, 2011 - link

    Finally a sensible person. We are definitely on the same page.
  • kevith - Sunday, March 20, 2011 - link

    "You're absolutely right" almost always really means: "I totally agree..." :-)
  • relentlessfocus - Saturday, March 19, 2011 - link

    As always a real insight into the hardware. I'd like to make an observation about generalising from your own inability to find something that tablets add to your PC./smartphone mix to the larger sphere of buyers. Indeed most are not crazy and overly rich.

    My friends have a 2 year old child. I have no doubt that eventually she'll be reacting with laptops and desktops but my oh my how much my friends talk about the 3 of them with the iPad. Not an Anandtech thing... fine. A real life use. I think so.

    Jake Humphrys is the lead for BBC's Formula 1 coverage here in the UK. While talking live in the pits with his co-commentators he now holds an iPad cupped in his hand that he gracefully reads from and then puts to his side as he gets live update info from his directors as the show is broadcast. OK, its not an Anandtech thing but its a real life use for a tablet that you wouldn't do with a netbook or notebook.

    It's being used by coaching staff in sports and by doctors making their rounds in hospitals. It's used by major corporations for field workers running in house bespoke apps for catalogues and inventory and real time pricing etc. It's used by estate agents in the field with their clients and its used in trendy clothing shops like All Saints to display the entire store catalog for customers to browse. I could without a doubt put together 100 real life uses that "did figure out a use for it" distinctive from what you might do with a netbook or laptop or even desktop.

    Your reviews set the gold standard in so many ways but in this one way its a shame you brought such a limited perspective to the usefulness of touch tablets in the world at large. I understand that people who do certain kinds of work really do find that a touch tablet device may not be useful, indeed you may not own a pickup truck or headphone amplifier. But the slant of your article and some of the comments above implies a great generality than I think can be justified.
  • Anand Lal Shimpi - Saturday, March 19, 2011 - link

    First of all, thank you for your kind words - I really do appreciate them.

    I don't doubt that there are specific uses for a tablet that a notebook cannot do as well. I mentioned one of these in the review - simply passing around the iPad for others to look at, information sharing, it's a lot easier to do this than with a clunky notebook.

    My point about the usefulness is that it's currently not powerful enough, flexible enough and ergonomic enough to completely replace a notebook. I'm not saying it won't get there, but I don't believe it's there today. The iPad 2 is a great device, but it's an augment to existing computing devices - and for some users that's tough to integrate into their existing workflow.

    If you can find a fit that makes sense however, it's a great device.

    Take care,
    Anand
  • Azethoth - Sunday, March 20, 2011 - link

    Good article. However I do not think the point of tablets and smartphones are to replace netbooks. I think their point is to compete on apps. If they can do something critical to someone better than another form factor then they win a sale. I think it will turn out there are more apps that are tablet appropriate than netbook appropriate.

    Unless there are more interface revolutions I just do not think there can be a 100% intersection between netbook and tablet utility. So while netbooks will remain better at the things a lot of people complain about not being able to do on a tablet, tablets will eat their lunch market share wise because of the many more things they do good enough or perfectly.
  • Fontanka - Sunday, March 20, 2011 - link

    "Workflow ", "Use", "Users","Usefulness".........

    That's not what most of the 15 million purchasers (and counting) are thinking about....they want to communicate, be entertained and diverted when NOT WORKING. The iPad delivers.

    Fontanka
  • WaltFrench - Sunday, March 20, 2011 - link

    @Anand, let me second the kind words of @relentlessfocus.

    And also his point: a tablet and a notebook are largely incommensurable.

    Lightweight, sub $1000 notebooks with 11-hour battery life, compressed learning times and near-instant app startup don't exist.

    Likewise, notebooks don't have anywhere near the touchscreen's I/O capabilities, which you call out as great in iMovie and GarageBand. (I'd add the iOS app I use for writing Chinese as part of my studies, and the painting app used by high profile artists to create New Yorker covers.) Then, there's a new mix of software appropriate to mobile life, including the many “specialized” apps @relentlessfocus offered.

    I get that, by definition, our current workflows can't be optimized on a tablet. (Mine, with multiple screens on the desktop, and a bigscreen laptop, would be horrible. Why would I even think to try?) These things are "technical disruptors," "creative destructors," "inventor's dilemmas," however you want to characterize them. They enable new usage modes at the same time that they're not as good, or downright awful, for the old ones. They serve new customers better than the old; this is all old hat ever since Shiva got incorporated into the pantheon.

    But thanks for such a complete review, for those of us who happen to be dabbling in devices that enable new functions, new activities.
  • Anand Lal Shimpi - Sunday, March 20, 2011 - link

    I believe we're actually in agreement here. The tablet is a disruptive form factor and a disruptive device. In the article I state that I believe there's a glorious future for tablets, however I believe we're still at an early point in the evolution. Since we're operating on a faster-than-moore'slaw-curve here, you're looking at a 12 month product cycle with these things. As such I believe a cautious approach to investment is better, especially given the price points we're talking about.

    By all means, if you have the money to spend and have a genuine use for it - the iPad 2 is a great device. I'm genuinely giving the iPad 2 another chance, I really wanted to use the iPad 1 I just found myself carrying it and a notebook wherever I went.

    For example, I'm traveling now for CTIA but I brought the MacBook Air. I'd much prefer reading comments on the iPad 2, but I like responding to them on the Air. I don't really know what the right solution is to that problem. It can't be to have one device for reading web pages and another device for contributing to web sites? I believe there's still a lot of work to be done here, that's all I'm saying - not that the iPad or the tablet are doomed.

    Take care,
    Anand

Log in

Don't have an account? Sign up now