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

  • synaesthetic - Sunday, March 20, 2011 - link

    I have to agree, the 11" MBA is one extremely sexy piece of kit.

    I wish there was a similar option that wasn't branded with the half-eaten fruit of hipsterdom. And doesn't run OSX, which I don't particularly like.
  • snouter - Sunday, March 20, 2011 - link

    iPad does have for real 10 hour battery life and is generally maintenance free. Charge it, pick it up, use it. But, the Air gets a solid 5 hours (gets me from coast to coast) and is also pretty much instant on and generates no heat and I never hear the fan. So, although the iPad has a clear advantage in battery life it has no clear advantage as a "consumption device" and it forces you to favor apps and it does not handle media files as well and it does not have flash, which, is still out there.

    As far as price, yeah, the 11" Air is 50% to 100% more expensive, but ULV Sandy Bridge will see a flood of products on the PC side of things that should have lower price tags and if some PC manufacturer would please step up and start taking product design seriously.

    I typed this on my Air, and I would probably type less and put less thought into it (the same dreaded way that BlackBerry effect has really been a setback for written communications with the half butt answers) on an iPad.

    Also, one last Air advantage, it has a screen on a hinge. I got so sick of hold the iPad or having to prop it up on things...

    The iPad is a +1 device, sure, but... I'm going to stick with the 2 pound laptops for a while.
  • nickdoc - Sunday, March 20, 2011 - link

    Well, if I deserve to be called a hipster or dickhead by some poorly educated idiot with two brain cells (both of them obviously white) for owning an iPad along with a MacBook Air, Mac Mini Server, MacBook Pro 15 and 17", 27" Cinema Display, iPhone4 and something else I forgot, then so be it. I'm not offended in the knowledge who the comment came from. A really sad case. Can't help feeling sorry for you, Kuka-whatever-your-screen-name-was.

    It looks like the comments here have been written by people under the age of 45-50 because no one has ever mentioned glasses. Yes, those things people need to see what's in front of them, far and near. It's worse when you need both. Then you won't be so happy to do any kind of work on an iPhone or even surf the web. You would wish for a larger screen every time you are forced to switch from your normal glasses to your reading spectacles. Use a netbook? Even worse. A tablet is different and allows you to read with your nose practically replacing your fingers on that touch screen. Perfect!

    As a surgeon, I often have to show other people what I mean. This can be a scan, a plain radiograph, lab results and so on. Unless I have a big screen right there for all to see, the iPad is the gadget of choice. Give it to the team before surgery to look at scans with my notes right there on the screen, pass it around when on teaching rounds, give it to a frightened patient to reassure. Try doing the same with a smartphone or a netbook (useless toys that they are) and you will see how crazy that idea is.

    Basically, in my field, there is no end to the list of possible applications. This is combining consumption with creation. Therefore, before using such terms as dickheads, try to think a bit further than your own little world if your "processor" has that much power. If not, well... As I said, a very sad case.
  • Gunhedd - Sunday, March 20, 2011 - link

    Thank you. I wish more folks would pipe in with the real-world capabilities and uses they're discovering. No matter though. Apple-hate isn't new. I dealt with it in the '90s when Apple really was in trouble. Apple currently firing on all cylinders just keeps giving haters more and more to bitch about. (Price of success perhaps?)

    Hipsters? Dickheads? WTF?

    This comment isn't about the review but the inane comments that invariably get trotted out by hater technogeeks that won't move out of their mother's basement, disappointed that all the flash-porn won't work on an iOS device. Instant "fail" (or whatever silly phrase the self-annointed, self-important digerati are using today) in their book. These folks need to get out and learn that most people are "not" like them. But that would require getting a life. (Which would probably be easier than getting a date...)

    (See? I can paint with the broad strokes too. ;)
  • softdrinkviking - Sunday, March 20, 2011 - link

    I just wanted to say that I really enjoyed Alexander's glass article, it was a great read.
    My grandfather was a material scientist, so it brought back a lot of good memories.
  • AgeOfPanic - Sunday, March 20, 2011 - link

    Thanks for the great review. Anandtech seems to be the best site for independent and in-depth reviews. Please keep that going, because there is too much fanboyism going around. Saying that I have to admit, that I lean towards the Android side, because I think it's much more suited towards the tech enthusiast. Right one my HD2 is running the newest Gingerbread 2.3.3 rom from XDA, something impossible with iOS. However, I'm typing this on my iPad and if you would ask me which tablet I would recommend to my parents right now, I would say the iPad.
    I myself will switch. The question is if I can hold out to the quad core SOC that have been announced for later this year or will go for a Xoom wifi only model. The iPad convinced me that a tablet is what I need most of the time. However, iOS is hopelessly outdated. No widgets, notifications are laughable and browsing is annoying. With no memory, switching between tabs means reloading almost every time. And loading is slow.
    That's also why I was so interested in your browser scores. Couple of things I noticed. First of all you switched back to manual measurements for the page loading, because the Honeycomb browser stopped the timer too early. Isn't that just a sign that it is fast or was it really, really early? Manual measurement has it's on flaws though.Very susceptible to operator bias. I don't think you should report your scores in milliseconds then, because that implies an accuracy you just don't have. Furthermore, I would like to see error bars, so we can determine if these differences were really significant.
    Again, these are my comments. Thanks for the good work.
  • bjacobson - Sunday, March 20, 2011 - link

    want it on android...
  • TEAMSWITCHER - Sunday, March 20, 2011 - link

    I purchased an iPad 2 for my wife. I had been giving her my old MacBook Pro laptops, which at even four years old are complete overkill for her use. She adores the new iPad. It's far more portable and can be used in more situations than a laptop.

    Case in point, this week she created the family shopping list on her iPad 2 and brought it grocery store. She browses the WEB, FaceBook, games, EMAIL, and keep all her favorite photos, movies, and music.

    From now on, i'll be hocking my used MacBooks on craigslist if I can. She doesn't even want a laptop anymore. That's the biggest issue I have - it's too good. Too many people will find that tablets are better and abandon their laptops altogether. Laptops will stop evolving, much like desktops did once Laptops became popular.
  • Anand Lal Shimpi - Monday, March 21, 2011 - link

    I agree that it's a better laptop for casual users. However the Flash limitation I believe is still a problem that prevents it from being a complete laptop replacement for even casual users (a lot of restaurant, automotive and photography websites are still unfortunately 100% flash based). As long as you have some access to a laptop however this is really a non-issue, except when traveling with only the iPad.

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

    I enjoyed reading the review,but it seemed a bit biased to me. While it's true that the iPad can't replace a laptop for content creation it works just fine in many fields. I sell annuities and the iPad has totally replaced my laptop when I'm on the go. I have designed presentations using keynote before and It worked great, whenever meeting a client I always bring my iPad instead of carrying paper brouchoures, in fact most of these clients end up getting an iPad themselves after playing with mine. Maybe Apple should pay me for advertising their product.

Log in

Don't have an account? Sign up now