On Rosetta

| 0 Comments

Before I return my MacBook Pro to Apple, I wanted to run a couple of quick tests on Rosetta using my G4 Powerbook and the MacBook Pro. My test data is in the extended, but first some broad sweeping generalizations about intel native, PPC native, and intel through Rosetta.


  • Running using Rosetta takes an extra thread.
    This makes sense, as the extra thread is the emulation layer.
  • Even if it is an Universal Binary (can run native on Intel), it will use more memory than a PowerPC running the same version of the same app.


    My one exception to this was Safari, but I suspect this is due to the number of bookmarks and such that I have loaded on my PowerBook's Safari, whereas my MacBook Pro is clean. This is a rather surprising find, as it means that Intels using Universal Binaries will require more memory than their PowerPC counterparts. With UBs using anywhere from 25% to over 300% of the real memory, it means a 1GB system, on average is roughly equivalent of a 784 MB PPC system (and in some cases, less than 784 MB)
  • Programs in the iLife suite and iTunes are sort of not running natively.

    This is the big shocker. They've been flagged as Universal Binaries, but their activity and resources suggests that they're actually PowerPC applications running through an Rosetta emulation layer. These programs can be identified using "Get Info" and seeing that "Open Using Rosetta" is not an option whereas on true Intel Native Universal Binaries, the option exists.
  • The amount of virtual memory that these new programs use is enormous.

    It's a good thing these new computers come with larger harddrives, because a certain amount is going to be necessary to handle all the virtual memory the system will use. For a heavy memory intensive app such as Maya (the largest memory hog I could find, Photoshop uses less than a quarter of what Maya does). As the Maya file gets larger, the virtual memory usage rises accordingly.



Maya 7 PLE on Intel 2.0 Ghz using Rosetta: 187.14 MB Real Memory, 1.66GB Virtual Memory, 4 Threads

Maya 7 PLE on PowerPC G4 800Mhz native: 140.32 MB Real Memory, 480 MB Virtual Memory, 3 Threads

33% more Real Memory used.

iTunes on Intel 2.0 Ghz native: 43 MB Real Memory, 373MB Virtual Memory, 4 Threads (can't turn on Rosetta for iTunes)

iTunes on PowerPC G4 800Mhz native: 12.35 MB Real Memory, 188 MB Virtual Memory, 3 Threads

348% more Real Memory used.

Quicktime

MacBookPro (native): 25.23 MB Real Memory 371.60MB Virtual Memory, 6 threads

MacBookPro (Rosetta): 36.24 MB Real Memory, 507.71 MB Virtual Memory, 7 threads

PowerBook G4: 19.62 MB Real Memory, 172.01 MB Virtual Memory, 6 threads

29% more memory used natively, 84% more used via Rosetta.

Safari

MacBookPro (native): 10.36 MB Real Memory 350.46MB Virtual Memory, 5 threads

MacBookPro (Rosetta): 23.39 MB Real Memory 453.64MB Virtual Memory, 6 threads

PowerBook G4: 11.18 MB Real Memory 122.47MB Virtual Memory, 5 threads

Universal Binary uses 8% less real memory, while Rosetta uses 109% of real memory.

--------

Leave a comment

Recent Entries

H1N1 Outbreak At PAX '09
Those of use on the convention circuit know that a lot of fanboys plus convention center equals an epidemiologist's nightmare;…
Scream Sorbet
I don't tend to like sorbet (or sherbet, the fizzier dairy-added version); while flavorful, it always seemed to me that…
Golden Age Comics are the New Benjamins
Recently, a meth ring was broken up, and the investigators discovered over $500,000 worth of comics in plastic cases. It…