Sushi

tap tap tap

tasty bits for your iPhone

Our blog blog blog

256÷128=10?! The impact of the iPhone 3GS RAM increase

45 commentsJuly 8, 2009 by John Casasanta

RAM fight!

The most significant thing that Apple’s been touting about new iPhone 3GS is its speed. Generally, when you think about speed improvements, you think of faster CPUs, faster GPUs, and such. But one very important difference in the 3GS that’s contributing to the overall performance is the increased RAM and that’s pretty much gone under the radar.

Apple’s been fairly quiet about the actual specs of the hardware that’s been in all the iPhones. Take a look at their Technical Specifications page and do a quick search on processor speed, GPU specs, or RAM sizes and you’ll come up empty. Essentially, all you’ll find is the “capacity” and that’s mainly because that’s how they differentiate the various models (“capacity” on the iPhone refers to its flash memory and is the equivalent of hard drive space on your Mac or PC).

But even though Apple’s been mum about these details, the actual specs are fairly widely known…

CPU (central processing unit):

  • original iPhone: ARM 11, 412 MHz
  • iPhone 3G: ARM 11, 412 MHz
  • iPhone 3GS: ARM Cortex, 600 MHz

GPU (graphics processing unit):

  • original iPhone: PowerVR MBX Lite
  • iPhone 3G: PowerVR MBX Lite
  • iPhone 3GS: PowerVR SGX

RAM (random access memory):

  • original iPhone: 128 MB
  • iPhone 3G: 128 MB
  • iPhone 3GS: 256 MB

At a glance, you’ll notice that the RAM in the 3GS doubled from past iPhone models. Twice the amount of RAM than you’ve had is never a bad thing, but the reality here is far more noteworthy… The older iPhone models have been often considered underpowered when it comes to RAM, so even though the RAM amount is technically doubled, in actual use, you’ll often be working with 4x to 10x the amount of free RAM. And that’s one major aspect that’s contributing to the overall speedier feel of the 3GS.

3GS startup

Here’s what the RAM usage looks like for my freshly started 3GS using the handy app Memory Status. “Wired” and “active” RAM is generally memory that’s in-use while “inactive” and “free” is basically available.

So there’s around 156 MB of memory available at startup time.

iPhone 3GS RAM after startup

3G startup

Now compare this to my freshly started 3G. The available memory is just under 40 MB. So right out of the gate, you’re playing with around 4x the memory on the 3GS.

iPhone 3G RAM after startup

The apps that are running when both phones start-up are:

  • MobileMail (Mail)
  • MobileMusicPlayer (iPod)
  • MobilePhone (Phone)
  • BTServer (Bluetooth server)
  • SpringBoard (manages your home screen)
  • accessoryd (controls accessories connected through the dock connector)
  • aosnotifyd (controls MobileMe syncing)
  • mediaserverd (controls audio mixing)

3GS after use

But now, after opening, using, and quitting several apps, you can see that the available memory dropped down a bit to around 122 MB. The one additional app that remained running at this point was MobileSafari (Safari). Apple gives themselves the nice little benefit of being able to run apps in the background.

iPhone 3GS RAM after use

3G after use

Again, by comparison you can see that after similar use, the 3G’s available memory drops down to under 13 MB. Here’s where the close to 10x factor comes in.

iPhone 3G RAM after use

So why are these multipliers significant? Well, the more available RAM you have, the more you’re able to keep the background apps running. One huge difference I’ve noticed on the 3GS is that I can keep a bunch of Safari tabs open and when I go through them, they rarely need to reload. Anyone who’s owned a 1st generation iPhone or a 3G can attest to the fact that Safari would almost always reload each full page when you’d jump from tab to tab.

And a similar thing happens when you jump from app to app. One of the things that made the older phones feel sluggish was having each app fully load when you’d open it. But now with the 3GS and its larger memory, this is very much a thing of the past since many of the standard apps (Mail, Safari, etc) don’t unload so easily now. Because these are the apps that are used most often by people, this is one major reason that everything feels so much more zippy on it.

So even though Apple isn’t touting it, the increased RAM size of the iPhone 3GS is definitely a major contributor to the “S” in its name. It’s an incredibly welcome improvement.

A digression: I was tempted to use an interrobang (‽) in the post title but, while the creator of them had good intentions, they usually look like crap and are confusing, IMO.

45 comments

  1. tewha.net » The impact of the iPhone 3GS RAM increase
    4:52pm, July 8

    [...] tap tap on the impact of the iPhone 3GS RAM increase. Lots of pretty memory usage graphs. Categories: Link Tags: iPhone, iphone development, memory, [...]

  2. Kris Markel
    5:11pm, July 8

    I’ve been wondering if the flash memory used in the 3GS is also faster than what’s in the 3G. Beyond just having more RAM, quicker access and faster reads on the “hard drive” could significantly improve things like application launch times.

  3. Stephen Coles
    10:45pm, July 8

    Continuing your digression: here’s what a well-designed interrobang looks like.

  4. Justin
    10:49pm, July 8

    I wonder why they don’t list the CPU and RAM specs on their site. You think they would want people to know how much faster the “S” is?

  5. Yun4 - Impact Of iPhone 3GS RAM Increase
    11:22pm, July 8

    [...] analysis of the impact of the RAM increase in the iPhone 3GS by John Casasanta. Top ↑ [...]

  6. Karl
    11:36pm, July 8

    There are other factors at play here. The ARM11 instruction set allows for smaller object code size for one. And its well known that Apple are using LLVM extensively.

    These two factors combined probably lead to the actual OS core and Apple’s own applications being 25% smaller and executing faster (less memory to read and faster instructions on a faster CPU)…assuming Apple has recompiled everything to take full advantage and it would be unlike Apple not to..

    Apple is using the extra RAM to very good effect in terms of making the 3GS much faster but also leaving plenty of space for developers to benefit.

    Can it be long before we get third party ‘blessed’ apps that can run some part of themselves in the background…?

  7. iPhone » Current News Trends
    3:15am, July 9

    [...] tap tap tap ~ 256÷128=10?! The impact of the iPhone 3GS RAM increase [...]

  8. » 256 MB de RAM en el 3GS Canal Apple
    4:04am, July 9

    [...] artículo de J. Casanta que explica los beneficios de los 256MB de RAM en el iPhone 3GS (los modelos anteriores sólo [...]

  9. Jim stewart
    4:56am, July 9

    This was a huge selling point for me. Now I can use backgrounder to run apps like Tuner in the background and still use mail and safari without Tuner running out of memory. Not to mention being able to have Skype or similar running.

  10. John Casasanta
    6:28am, July 9

    I just corrected a small but significant oversight in the post (I left out the word “additional” when talking about background apps):

    “The one additional app that remained running at this point was MobileSafari (Safari).”

  11. iPhone 3GS — Twice the RAM… 10x the Impact? | Apple News
    7:03am, July 9

    [...] tap tap tap points out something that perhaps should have been obvious from the start regarding the iPhone 3GS’ 256MB of RAM — that doubling the memory, once the OS loads and programs start eating away at it, often leaves more than double the free space. [...]

  12. iPhone 3GS — Twice the RAM… 10x the Impact? | iPhone Daily
    7:34am, July 9

    [...] tap tap tap points out something that perhaps should have been obvious from the start regarding the iPhone 3GS’ 256MB of RAM — that doubling the memory, once the OS loads and programs start eating away at it, often leaves more than double the free space. [...]

  13. iPhone 3GS — Twice the RAM… 10x the Impact? | Gizmo Addiction
    7:44am, July 9

    [...] tap tap tap points out something that perhaps should have been obvious from the start regarding the iPhone 3GS‘ 256MB of RAM — that doubling the memory, once the OS loads and programs start eating away at it, often leaves more than double the free space. [...]

  14. Craig Hunter
    8:04am, July 9

    I saw some big impacts of the free memory on the 3GS when developing Mars Flyer, which will use up to 27MB of RAM if allowed. On older devices, this is an intricate dance, but it becomes a non-issue on the 3GS. I got into some of the details in my blog. I agree, this is a watershed change for developers.

  15. Spicy iPhone » Blog Archive » iPhone 3GS — Twice the RAM… 10x the Impact?
    8:11am, July 9

    [...] tap tap tap points out something that perhaps should have been obvious from the start regarding the iPhone 3GS‘ 256MB of RAM — that doubling the memory, once the OS loads and programs start eating away at it, often leaves more than double the free space. [...]

  16. iFUN.de/iPhone :: Alles zum iPhone − iPhone 3GS: Doppelter RAM - zehnfache Auswirkung
    8:14am, July 9

    [...] immer lesenswerte Firmen-Blog der Entwickler-Schmiede TapTapTap hat sich in dem Artikel “The impact of the iPhone 3GS RAM increase” dem wohl ausschlaggebenden Faktor der Geschwindigkeitssteigerung des iPhone 3GS angenommen - [...]

  17. iPhone-Blog » Blog Archiv » 2x RAM = 2x Geschwindigkeit?
    9:23am, July 9

    [...] taptaptap – das Entwicklerstudio – in ihrem Blog ausführt, stimmt die Gleichung im Titel nicht. Doch wer jetzt -wie üblicherweise- erwartete, dass doppelter [...]

  18. Dalton
    9:33am, July 9

    I wonder how long it will be before we start seeing applications that are “optimized” for the 3GS, in the sense that they require the additional RAM and speed improvements to run properly, leaving those of us with older phones feeling left out?

  19. IONIZED: A Journal of Witty Commentary - The 3GS and Huge RAM Increase
    10:03am, July 9

    [...] ✖ [...]

  20. Louis
    10:03am, July 9

    Karl:

    Apple is definitely investing heavily in LLVM, but they are not using it on the iPhone at this time. The ARM backend is not yet production quality, it is not an option in the current SDKs, and if you look at the frameworks on an iPhone they were clearly built with gcc, not llvm-gcc or clang.

    There is no doubt that at some point in the future iPhone OS (and its apps) will be built with LLVM, but it isn’t yet.

  21. Paul Goracke
    11:38am, July 9

    As a developer with a 3GS whose wife has his old 1st Gen, I’ve noticed this newfound memory bounty makes it easy to get complacent about handling memory warnings while developing–and more difficult to get a real feel for how often these will happen on all the pre-3GS devices out there.

    Just one more stage to the required test matrix, I guess…

  22. How big the S in the 3GS really is | Smoking Apples
    12:02pm, July 9

    [...] How big the S in the 3GS really is → [...]

  23. Iphones 3Gs – 2x mais memória 10x mais performance
    12:23pm, July 9

    [...] tap tap tap salienta que o aumento da memóra ram no Iphone 3Gs traz mais beneficios do que as pessoas pensam. [...]

  24. Mike
    3:53pm, July 9

    Whilst you’re correct in that there is considerably more memory available to applications on the 3GS, you’ve made the usual (incorrect) assumptions about how the various reported memory numbers translate into memory that’s available to an application.

    With the exception of wired memory, and in the case of iPhoneOS, private memory, all of RAM is used by Darwin as a cache for data that lives persistently somewhere else.

    “Free” memory is memory that is not being used by the cache, but memory from both the active and inactive categories is also available for re-use.

    Without considering the distribution of private memory between the active and inactive categories in the above charts, they are unfortunately meaningless. Even then, you would need to distinguish between private memory that will be surrendered on receipt of a low memory warning vs. that which won’t before you can approximate how much memory is available to an application.

    = Mike

  25. Friday Morning News | MacTalk Australia
    6:02pm, July 9

    [...] tap tap tap ~ 256÷128=10?! The impact of the iPhone 3GS RAM increase [...]

  26. O dobro de RAM do iPhone 3GS pode ter um impacto muito superior ao esperado | MacMagazine
    8:51pm, July 9

    [...] ao iPhone 3GS que faz falta novidades para pesar o outro lado da balança. Felizmente, uma observação feita por John Casasanta, da tap tap tap, mostrou que o impacto do dobro de RAM presente no aparelho é muito maior do que [...]

  27. John
    9:30pm, July 9

    Yes, they unclogged the bottleneck. :)

  28. The impact of the iPhone 3GS RAM increase - Benny Ling’s Bling
    11:43pm, July 9

    [...] via tap tap tap ~ 256÷128=10?! The impact of the iPhone 3GS RAM increase. [...]

  29. Die wahre Ursache für den Leistungszuwachs des iPhone 3GS! - iPhone 3GS, Geschwindigkeit, Leistungszuwachs, verdoppelte Arbeitsspeicher, Memory Status, RAM-Auslastung, verfügbare Arbeitsspeicher, iPhone - Apfelnews
    12:01am, July 10

    [...] taptaptap.com beschäftigte sich deswegen eingehend mit dem Leistungsschub des iPhone 3GS und stellt dabei klar, dass nicht der Prozessor, sondern zum überwiegenden Teil der insgesamt verdoppelte Arbeitsspeicher für den Leistungszuwachs verantwortlich ist. Dieses Detail lässt man schnell vergessen, allerdings handelt es sich dabei um das wohl gewichtigste Leistungsinstrument. Zu diesem Schluss kam man durch verschiedene Messungen, die man mit der iPhone-App “Memory Status” durchführte. [...]

  30. Mundo Touch 3.0 » Arquivo » 128MB de Memória RAM a Mais Faz Tanta Diferença?
    12:12am, July 10

    [...] ao iPhone 3GS que novidades para pesar o outro lado da balança fazem falta. Felizmente, uma observação feita por John Casasanta, da tap tap tap, mostrou que o impacto do dobro de RAM presente no aparelho é muito maior do que [...]

  31. ed
    12:17am, July 10

    Invizible

  32. Ed
    12:23am, July 10

    Your site is invisible on the Google Android browser. No text at all.

  33. I7500 Galaxy: Erste Eindr
    3:39am, July 10

    [...] immer lesenswerte Firmen-Blog der Entwickler-Schmiede TapTapTap hat sich in dem Artikel “The impact of the iPhone 3GS RAM increase” dem wohl ausschlaggebenden Faktor der Geschwindigkeitssteigerung des iPhone 3GS angenommen - [...]

  34. iPhone 3GS — Twice the RAM… 10x the Impact?. Merita sau nu?
    4:45am, July 10

    [...] tap tap tap points out something that perhaps should have been obvious from the start regarding the iPhone 3GS‘ 256MB of RAM — that doubling the memory, once the OS loads and programs start eating away at it, often leaves more than double the free space. [...]

  35. Bites from the Apple: Catching Up | Daily Blog Posting
    6:37pm, July 10

    [...] Tap Tap Tap blog shows with some charts culled from the Memory Status iPhone app how the additional RAM added [...]

  36. Belgium iPhone » 3GS - L’importance de la ram!
    3:10am, July 11

    [...] taptaptap.com [...]

  37. Bites from the Apple: Catching Up « What I Would Buy
    12:10pm, July 11

    [...] Tap Tap Tap blog shows with some charts culled from the Memory Status iPhone app how the additional RAM added [...]

  38. La “S” del 3GS: anche questione di RAM | Apple Planet
    8:11pm, July 11

    [...] da questa riflessione che si sviluppa una analisi pubblicata sul blog di TapTapTap, la software house dietro “Classics“, un best-seller [...]

  39. Bites from the Apple: Catching Up reviews, prices | eOpinions Product reviews
    10:20am, July 12

    [...] Tap Tap Tap blog shows with some charts culled from the Memory Status iPhone app how the additional RAM added [...]

  40. 片甲生活 » iPhone 3G S速度PK
    1:24pm, July 12

    [...] iPhone 3G S很“华丽”地升了个级,多了“S“,以速度为名。快多少?国外网友John Casasanta 在博客taptaptap上简单测试解释了“S”。测试如下: [...]

  41. » Blog Archive » La RAM segreta dell’iPhone 3GS
    6:51am, July 15

    [...] [Via taptap.com] [...]

  42. Hayden James
    4:41pm, July 15

    This is great. Will have to link to this. Thanks

  43. John Casasanta
    4:39am, July 20

    @ Mike:

    See this: http://bit.ly/virtualmem

  44. Inside Google’s Android and Apple’s iPhone OS as software markets — RoughlyDrafted Magazine
    6:45pm, November 21

    [...] hold applications and content (much like a PC hard drive). When launched, an app is loaded into the separate system RAM, where it runs along with the operating system. Android phones lack much functional storage RAM, [...]

  45. Inside Google’s Android and Apple’s iPhone OS as software markets | 非原创无线互联网观察
    8:28am, November 25

    [...] hold applications and content (much like a PC hard drive). When launched, an app is loaded into the separate system RAM, where it runs along with the operating system. Android phones lack much functional storage RAM, [...]


Leave a comment

What’s on your mind?