Slashdot Mirror


G5 vs. x86 and Mac OS X vs. Linux

demonbug writes "Anandtech has an article up comparing performance of dual G5s to AMD Opteron and Intel Xeon workstations. The article also takes a look at performance under Mac OS X versus Linux. It provides an interesting look at some of the strengths and weaknesses of the different CPUs." From the article: "This article is written solely from the frustration that I could not get a clear picture on what the G5 and Mac OS X are capable of. So, be warned; this is not an all-round review. It is definitely the worst buyer's guide that you can imagine. This article cares about speed, performance, and nothing else! No comments on how well designed the internals are, no elaborate discussions about user friendliness, out-of-the-box experience and other subjective subjects. But we think that you should have a decent insight to where the G5/Mac OS X combination positions itself when compared to the Intel & AMD world at the end of this article."

24 of 486 comments (clear)

  1. There Is No Comparison by the_mad_poster · · Score: 0, Insightful

    Comparing OS X to Linux is like comparing a brand new Lamborghini to an old Charger. Yea, they may both be fast, but only one is refined, and only a certain breed of people are going to pick the Charger over the Lambo, given the option.

    That's what gets me about Linux. OS X is the power of a BSD with REFINEMENT. Linux? If I have never have to use vi to set up a simple routing configuration again, it will be WAY too soon. If I can't point and click my way to a basic setup, it's not a useful system, and comparing it to something that can do that is ridiculous. I shouldn't have to 'alias' this and 'rm' that and :wq here and 'sudo' there just to get a damn X server running...

    And, of course, like the guy in the Charger, the Linux people will extoll the limited virtues of their decision while gleefully ignoring the fact that they're still driving around in something that smells like pee.

    --
    Alito: A vote for Alito is a punch in the eye to put that bitch back in her place!
  2. No PowerPC Linux in the Review?! by Noksagt · · Score: 4, Insightful
    The article also takes a look at performance under OSX versus Linux.
    They look at PowerPC running Darwin 8.1 and two Xeons and an Opteron running Linux 2.4/2.6. Why not show the PowerPC running Linux?! I want to see how Linux on PPC compares to Linux on x386 these days!

    Anyway..here's the article summary:
    Mac OS X is incredibly slow, between 2 and 5(!) times slower, in creating new threads, as it doesn't use kernel threads, and has to go through extra layers (wrappers). No need to continue our search: the G5 might not be the fastest integer CPU on earth - its database performance is completely crippled by an asthmatic operating system that needs up to 5 times more time to handle and create threads.
    So, forget OS X in the server room, but have fun if you want a desktop OS.
    1. Re:No PowerPC Linux in the Review?! by MarcQuadra · · Score: 2, Insightful

      This just proves the point that we're ready and willing to deal with the greater overhead of a (semi) microkernel OS. The performance hits are bad, yes, but if the core of the system is more flexible and robust it's a small price to pay.

      Honestly, I know of very few machines out in the real world that are heavily taxed in ways where OS X suffers. I'm sitting next to a server room with 47 (mostly wintel) servers in it and not one of them has shown greater than 10% load on a five-minute scale for days. I'd rather have OS X running a lot more reliably at the cost of my spare CPU cycles.

      I'm really miffed that we didn't see a Linux/PPC Linux/x86 comparison, THAT would have been revealing. This test should have been done with Darwin on both hardware platforms OR Linux on both. Benchmarking across philosophical bounds of OS rationale seems foolish to me, except to compare operating systems, in which case you would want identical hardware.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    2. Re:No PowerPC Linux in the Review?! by lederhosen · · Score: 4, Insightful

      I totaly agree that they should have done a comparison using Linux/PPC.

      I would allso like to see them use the latest Intel compiler.

      I dont, however, agree on the microkernel stuff. darwin is no microkernel design at all, all the
      driver, filesystem and memory management is done
      in kernel space. There is nothing in that design that makes the OS more stable.

    3. Re:No PowerPC Linux in the Review?! by saintp · · Score: 2, Insightful

      I think they should have gone all the way and used one of the distros that has ports for both x86 and PPC -- run the same software on both platforms. (E.g., Debian, Ubuntu, FreeBSD, etc.) Then you'd get to test out the hardware. This way, you have two variables: hardware and OS. If you want real benchmarks, you have to isolate these. First test a G5 running Debian against an Opteron system running Debian; then test a G5 running Debian against a G5 running OS X. Hey presto, results that actually mean something.

    4. Re:No PowerPC Linux in the Review?! by rhavyn · · Score: 2, Insightful

      MySQL uses threading, PostgreSQL uses multiple processes. Given that the MySQL performance was so bad, I don't think Apache 2 would have helped. And, if anything, PostgreSQL would have run even slower than MySQL.

  3. Flawed comparison by Amoeba · · Score: 3, Insightful

    This comparison is flawed. A more direct comparison that would have resulted in better information would have been Mac/OS X vs. x86/BSD.

    What performance is he measuring? The hardware or the OS? Comparing both with no baseline control for each is about as informative as pulling numbers out of my ass.

    --
    Do not taunt Happy-Fun Ball
    1. Re:Flawed comparison by Medievalist · · Score: 3, Insightful

      That comparison is easy. OSX hacks a BSD kernel into a Mach microkernel, and thus performance is nearly as bad as Mach despite the existence of the mature, standardized interfaces of a BSD.

      MacOSX is not about performance. It's about interface. I don't think Apple (or Next for that matter) has ever tried to deny their intention to overcome the performance problems caused by tremendously complex software through the use of immensely powerful hardware.

    2. Re:Flawed comparison by hkb · · Score: 2, Insightful

      Are you retarded? Go read the link YOU provided. And then go Google, specifically kernelthread.com, where they discuss how that although they use the Mach 3.0 kernel, they've eliminated most of the performance hits by highly integrating the BSD subsystem.

      dumb ass.

      --
      /* Moderating all non-anonymous trolls up since 2004 */
  4. Should do a better comparison by HeelToe · · Score: 2, Insightful

    How about OpenDarwin x86 vs. Mac OS X on Apple Hardware?

    How about Linux on x86 vs. LinuxPPC on Apple Hardware?

    jeesh

  5. Re:Where's the Apples to Apples comparison? by pkhuong · · Score: 3, Insightful

    Agreed. Once they'd found that the kernel was crumbling when there were lots of threads, why did they not try the same tests on Linux/PPC?

    --
    Try Corewar @ www.koth.org - rec.games.corewar
  6. what's missing in the comparison by oringo · · Score: 2, Insightful

    I read through the whole comparison/review. The article points out that the main factor that MySQL is slow on OS X is how threads are handled in darwin. It's a speculation based on good observations. However, I think that the author should have done a more controlled test to prove his point, such as running yellowdog linux and OS X on identical hardware to compare MySQL performance. Instead, the mahcines that ran linux were opteron and xeon machines, which made it hard to tell whether the hardware or the kernel contributed more to the performance difference.

  7. Apples to Oranges (this is not redundant... yet) by UnapprovedThought · · Score: 3, Insightful

    As some people have pointed out (but not completely), you should be comparing:

    • PPC vs. x86 on Linux, or
    • PPC vs. x86 on BSD, or
    • Linux vs. OSX on PPC, or
    • Linux vs. OSX on x86(!), or
    • OSX vs. Windohs on PPC, or
    • OSX vs. Windohs on x86
    • x86 vs. PPC for TPM/DRM BS
    • PPC Altivec vs. x86 SSE3 on Linux

    Linux forks 5 times faster than BSD, but that's been known for years. You didn't need a new benchmark/ad for that. Finally, the article doesn't have a benchmark that uses Altivec to its full potential, so it might be a hack piece as well.

  8. They lost me right here... by mark_wilkins · · Score: 4, Insightful

    "Thirdly, hardcore gamers are not the ones buying Apples, but rather, creative professionals.

    So, we focus on workstation and server applications..."

    How could anyone who has ever met a "creative professional" think they care about "workstation and server applications" like MySQL and Apache??

    Sorry, guys, but being a sysadmin does not make you a "creative professional..."

    -- Mark

    1. Re:They lost me right here... by dodobh · · Score: 2, Insightful

      Yes we do. Creativity isn't only in the graphics world, you know?

      --
      I can throw myself at the ground, and miss.
  9. vi is not the only Un*x text editor by Dogtanian · · Score: 2, Insightful

    Linux? If I have never have to use vi to set up a simple routing configuration again, it will be WAY too soon.

    vi? Where do you *have* to use vi? Is it meant to stand for [any plaintext editor]?

    Granted, editing text configs *can* be less friendly in certain situations (it can also be a lot more flexible and straightforward); but I guess invoking the name of vi (which has a reputation for being arcane) makes textual config sound more complex than it actually is.

    I use and like vi in preference to Emacs (vi IMHO is less friendly on the surface, but more straightforward than Emacs once you know the basic keys). BUT.... we're discussing its reputation here, and it seems this is being exploited to make your case.

    Don't like vi? Use a different editor, but don't try to rub vi's alleged arcaneness off onto text editing in general.

    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  10. ARG! gcc 3.3.3 by Duncan3 · · Score: 2, Insightful

    Sorry, but this completely invalidates any metric including the word "performance".

    IBM's C compiler should be used on the Mac side (OSX now uses GCC 4.x BTW), Intels C compiler on the AMD64 side.

    Do that, and try again.

    Repeat after me - "GCC is crossplatform - performance sucks on all eequally".

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
  11. Re:Creating threads slow? by 3770 · · Score: 2, Insightful

    That's not what I mean't.

    You need threads. But you create 20 threads at the beginning (or something) and then you use those throughout the life of the application.

    You can grow the number of threads dynamically to best suit your load.

    But the point is, you don't create threads all the time. You pick a thread up from a thread pool.

    Creating threads on Windows and Linux may be 5 times faster than on Mac OS X, but it is still a relatively slow operation. A thread pool makes sense there as well.

    I'm not saying that it is OK that thread creation is slow. But creating a thread that lives for less than a second is a bad design for a server application.

    Another poster stated that MySQL uses thread pools however. So that puts things in another light. If the problem wasn't because creating threads are slow, then Mac OS X had another problem.

    --
    The Internet is full. Go Away!!!
  12. Stupid test according to their standards by NeedleSurfer · · Score: 1, Insightful

    I'll criticize the entire article after reading it, but rigt after the first page I can tell this is a crap test badly done, here's why:

    They say Macs are bought by creative profesisonnal so they will test open source solution such as MySQL and Apache!!!???

    Since when those are the tools of creative pros?

    They compare Xeons and Opterons to the G5, it should be Athlon64 and P4 against the G5, lets compare what target the same type of user base, else why not simply make a test that pit the G5 against a cray machine or Blue Gene?... I mean I know the Xeon isn't that powerfull and I don't have the test result but the base config is flawed in terms of comparison. Even if it wouldn't I mean Apache... common, at least pit the Gimp against the Gimp if you wanna look like you don't give the test gift-wrapped to Linux and x86, even then it would be flawed comparison since Gimp doesnt get the same amount of devellopement on G5 than on x86... and people say Photoshop benchmarking is flawed... geez at least the app truly IS optimized for both patforms...

    Anyway on to the reading of the second page...

  13. Re:Wooohooo by That's+Unpossible! · · Score: 3, Insightful

    A comment can't be homophobic, only a person can.

    I am not homophobic, and I see the humor in the joke you are replying to. It's called absurd humor... half the joke is in the stereotyping. Macs are stereotypically the favorite computer of gays, and Linux geeks have a strong correlation with the "dirty hippie" and "pinko commie" crowd.

    So don't get your panties all in a bunch.

    (I'm assuming you're either a P.C. blowhard, or a homo. See, wasn't that funny?)

    --
    Ironically, the word ironically is often used incorrectly.
  14. Lacking in Tests by Sepht · · Score: 2, Insightful

    Like everyone's already said: Linux/PPC would have been a good thing to add in. Like someone else mentioned, Apache 2.x and a PostgreSQL database would have been good tests along with the MySQL+Apache 1.3 ones. I haven't seen anyone mention the gcc compiler version.(they used 3.3) 3.4 is more wholesomely made. 4.0 is the latest, woulda been interesting to see if that made any significant changes(and doesn't panther use that defaultly?) The test lacks the ability to show whether the issues in server based MacOSX are CPU based or OS based. Linux/PPC would have been helpful.

  15. Re:MacGCC? by mr_burns · · Score: 3, Insightful

    Apple actually does work on GCC and it gives patches back to the project. The way they do this was actually used as a counterexample in the recent khtml/webcore spat.

    I think that a better choice on OS X Tigger would have been GCC 4 for this test, as that's what the OS is built with and it's the native compiler for the OS.. IIRC.

    --
    "Let him go, Ralph. He knows what he's doing." --Otto Mann (simpsons)
  16. Comparing them is fine: draw conclusions carefully by kylef · · Score: 2, Insightful

    The reason these tests ARE relevant is that the vast majority of users do not run Linux on their Macs, nor do they run BSD on their PCs.

    The tests are pitting the common OS on each platform against each other. That is a fine comparison, because it represents the basic choice that people face when they want to choose a platform.

    You just have to be careful how you interpret the results. Since neither the hardware nor the software are held in common as a "control" variable, there is no way to compare System A's software against system B's, or System A's hardware against System B's.

    The best conclusion you can draw from a system level comparison like this one is that, given the test environment, System A was faster than System B overall.

    And in this case, it looks like the G5-OSX combo is "System B"...

  17. Re:Benchmarks performed poorly? by Anonymous Coward · · Score: 1, Insightful

    Is it this commercial you are talking about?

    Yes, very extensive benchmarks. You better follow their advice.