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."

59 of 486 comments (clear)

  1. Let's begin the flamewar ! by alexhs · · Score: 2, Funny

    Wow, double flamewar.
    Slashdot editors are impressive :)

    --
    I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    1. Re:Let's begin the flamewar ! by LiquidCoooled · · Score: 2, Funny

      They are trying to distract us so they can run off with the money ;)

      --
      liqbase :: faster than paper
    2. Re:Let's begin the flamewar ! by dynamo · · Score: 2, Funny

      The OSX vs. Linux flamewar SUCKS!

      G5 vs. x86 FOREVER. There shall be no higher flame war

  2. SLES 9 - Kernel 2.6.5? by c0l0 · · Score: 2, Informative

    Linux 2.6.5 - That's rather outdated... Maybe more recent kernel snapshots offer better performance in some regards?

    --
    :%s/Open Source/Free Software/g

    YTARY!
    1. Re:SLES 9 - Kernel 2.6.5? by Brandybuck · · Score: 4, Funny

      Buddha on a diet! I've been hearing this crock ever since the 1.x days! Linux never has any performance problems because you're perpetually using an outdated kernel...

      --
      Don't blame me, I didn't vote for either of them!
  3. 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 fimbulvetr · · Score: 4, Informative

      Don't forget this:

      The server performance of the Apple platform is, however, catastrophic. When we asked Apple for a reaction, they told us that some database vendors, Sybase and Oracle, have found a way around the threading problems. We'll try Sybase later, but frankly, we are very sceptical. The whole "multi-threaded Mach microkernel trapped inside a monolithic FreeBSD cocoon with several threading wrappers and coarse-grained threading access to the kernel", with a "backwards compatibility" millstone around its neck sounds like a bad fusion recipe for performance.

    2. 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
    3. 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.

    4. Re:No PowerPC Linux in the Review?! by dduck · · Score: 4, Interesting
      Your Linux on G5 performance figures are here . It does appear that the performance (or rather, lack of wrt. forking and threads) is due to tue architecture of Darwin/OS-X.

      I will point out that this is hardly relevant for a desktop OS, and that I am more than happy with my dual G5/1.8GHz. Getting things done faster and neater due to elegant interaction design is much more important to me than being able to spawn threads quickly ;)

    5. Re:No PowerPC Linux in the Review?! by RickHunter · · Score: 5, Interesting

      Except that they used Apache 1.3 and MySQL, two of the worst possible choices. If they'd gone for Apache 2.x (which actually uses threading, instead of processes) and PostgreSQL, things would've looked much nicer.

    6. Re:No PowerPC Linux in the Review?! by molnarcs · · Score: 3, Interesting
      I think Sybase and Oracle found the linuxthreads package :) FreeBSD 4.x and early 5.x had problems with multithreaded applications like mysql, which has been solved in the newer versions. That's what the article says as well:

      "This means that applications use slower user-level threads like in FreeBSD and not fast kernel threads like in Linux. It seems that FreeBSD 5.x has somewhat solved the performance problems that were typical for user-level threads, but we are not sure if Mac OS X has been able to take advantage of this.

      In order to maintain binary compatibility, Apple might not have been able to implement some of the performance improvements found in the newer BSD kernels."

      Yes, server performance with the xserve seems terrible right now, but I think that will be solved in the future, as apple will incorporate the enhanchements from fbsd 5, and more importantly 6. They are cooperating (freebsd and apple) it seems on many issues.

    7. 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.

    8. Re:No PowerPC Linux in the Review?! by imroy · · Score: 2, Interesting
      My psychic forecast is that the PowerPC would outperform the x86 setup because Apple has tuned gcc for the PowerPC platform.

      Which would probably even things up, if anything. Remember that GCC's largest user base is probably x86, and most of its developers are probably working on x86 PC's. So it stands to reason that a lot of work has gone into the x86 optimisations in GCC over the years. But, they're very different CPU's (translated-CISC vs kinda-RISC) so different things have to be done to optimise for each processor family. Maybe it's easier to optimise for PPC. Maybe it's easier for Apple to create optimisations for the few PPC CPU's it uses (603, G3, G4, G5), while it takes an army of volunteers to create optimisations for the plethora x86 CPU's (386, 486, p5, p6, pentium 3, pentium 4, amd386, amd486, k5, k6, k7, k8, and all the ones from Cyrix and now Via).

    9. Re:No PowerPC Linux in the Review?! by i_finally_got_an_acc · · Score: 2, Funny
      ???

      I suppose these aren't the droids I'm looking for either? Nice try OBIWAN.

      Oh well, at least it wasn't modded informative.

      --
      "I'm not religious, but at the same time I don't get why science always has to have something to prove."
    10. 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.

    11. Re:No PowerPC Linux in the Review?! by fimbulvetr · · Score: 2, Informative

      /. is where we often go to discuss the article. Since the parent of my post was mentioning some performance problems, I thought it'd be a good opportunity to highlight one of the most informative aspects of the article that the parent left out.
      To question it's informative mod would be to question the nature of /.: Very few posters read the summary, and fewer the articles. For these people, a post like this is quite informative.

    12. Re:No PowerPC Linux in the Review?! by mangu · · Score: 2, Informative
      Since gcc is cross-platform, it is a better to use it for both platforms in a cross-platform test


      But, even if they use gcc for both, they are still doing a compiler comparison. They are comparing the gcc version that Apple carefully optimized for the G5 with the gcc version that performs very badly on the Pentium SSE2 instructions. The article itself said so, they mention that they didn't use the Intel compiler because no one uses it in the real world. However, if you really need floating point performance, then you should consider doing a hand-optimization on the critical parts of your software.


      That's the comparison that I would really like to see for floating point performance: assembly code G5 vs assembly code Intel vs assembly code AMD.

  4. 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 Flamerule · · Score: 2, Interesting
      This comparison is flawed. A more direct comparison that would have resulted in better information would have been Mac/OS X vs. x86/BSD.
      It's not flawed. Perhaps they'll undertake your comparison some other time.
      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.

      What a crock of shit. Guess what, buddy -- he's measuring the performance of both at the same time! *gasp*

      He takes the most advanced Apple system, a dual G5 2.7 GHz, and compares it with 2 recent AMD / Intel machines, an Opteron 250 and a Xeon DP 3.6 GHz. The Apple system gets their most recent OS release, Tiger 4.1. The Intel and AMD systems get a SUSE release running Linux 2.6.5.

      Using these machines to run various benchmarks reveals how these modern, currently-available platforms compare to each other. It's an obvious test to undertake. Notably, their benchmarks show that OS X's threading performance, especially with MySQL and Apache, doesn't compare favorably with performance on the Intel and AMD systems. That's good information to have at one's disposal.

    3. 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 */
  5. Summary by varmittang · · Score: 5, Informative

    The G5 woops when it comes to floating point, and stays just behind in everything else. AMD of course takes top honors in almost everything. The find out that OS X kernel doesn't do so well on the server when it comes to multiple threads created while using MySQL and other possible open source software, so they conclude OS X a good desktop, but Linux is better on the Server. They will look into Linux on PPC to see which is better next time, PPC or x86 when it comes to a Linux server.

    --
    -----BEGIN PGP SIGNATURE-----
    12345
    -----END PGP SIGNATURE-----
    1. Re:Summary by kylef · · Score: 4, Informative
      The G5 woops when it comes to floating point, and stays just behind in everything else.

      Uh, that's not what I read:

      The conclusion is that the Opteron has, by far, the best FPU, especially when more complex instructions such a FDIV (divisions) are used. When the code is using something close to the ideal 50% FADD/FSUB and 50% FMUL mix and is optimised for Altivec, the G5 can roll its muscles. The normal FPU is rather mediocre though.

      That hardly sounds like the G5 is "whooping" when it comes to floating point...

  6. 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

  7. First by pocketfullofshells · · Score: 3, Funny

    Anandtech has an article up comparing performance of dual G5s to AMD Opteron and Intel Xeon workstations.

    Ok, Rule #1 - its a performance comparison...

    It is definitely the worst buyer's guide that you can imagine. This article cares about speed, performance, and nothing else!

    Calm down, did we forget Rule #1 already?

    No comments on how well designed the internals are, no elaborate discussions about user friendliness, out-of-the-box experience and other subjective subjects.

    OK... Rule #2, no more posting news for you.

    I wonder if he uses a mac or pc....

  8. all i know by Triumph+The+Insult+C · · Score: 2, Informative

    are opterons are super super fast and AMD kindly, and without NDAs, provides technical documentation on them. that's why i buy them

    --
    vodka, straight up, thank you!
  9. 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
  10. I was trying to take them serious by Anonymous Coward · · Score: 3, Funny

    Until I saw the blatanly placed & scantily clad woman with the words "Root Me" written with MS Paint on the desktop.

  11. Re:Well Duh! by devphaeton · · Score: 2, Funny

    Don't forget the

    "The people who buy Macs are creative professionals" partyline that we've been hearing since Joel was still on the S.O.L.

    --


    do() || do_not(); // try();
  12. 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.

  13. Ummmm...... by dmaxwell · · Score: 2, Interesting

    MySQL runs just fine on the BSDs, Linux, and even Windows. Every project on the face of the planet that uses threads has to be re-written for the sake of Darwin/OS X?

    1. Re:Ummmm...... by AusG4 · · Score: 4, Interesting

      1. MySQL -does- have a thread pool.

      2. The threading engine on OS X really does suck. This is not new information. Apple says as much if you ask them.

      This will all get fixed in due course anyways - Linux is more than a decade older than MacOS X is, and Apple is already doing very well.

      --
      bash-3.00$ uname -a
      SunOS panda 5.10 Generic sun4u sparc SUNW,Ultra-2
    2. Re:Ummmm...... by ad0gg · · Score: 2, Informative
      By the time you need to handle ten thousand simultaneous http requests, consider FreeBSD/x86 or NetBSD/PPC.

      Umm. No. I'd pick linux running on opteron system.

      --

      Have you ever been to a turkish prison?

  14. Re:There Is No Comparison by bman08 · · Score: 2, Funny
    Holy crap! Where did you get the idea of comparing OS's to cars?!? Genius.

    Try this similie on for size, OS's are like socks. They're all fine at first, but after a while they all start to stink.

  15. 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.

  16. 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 otis+wildflower · · Score: 5, Funny

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

      Are you kidding?

      I've seen perl scripts that outdo Jackson Pollock or De Kooning...

    2. 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.
  17. What about compilers? by cheezfreek · · Score: 2, Interesting
    The compiler used to compile the benchmarks makes a huge difference. I'm very disappointed that information about the compilers wasn't published in this "review". This makes me suspect that GCC was used. Performance of GCC-compiled code varies widely across platforms.

    Wouldn't it have been better to use compilers that are tuned for each platform? Say, Intel's compilers for the x86 systems, and IBM's compilers for the PPC systems. These compilers could perform better prefetching, for example, and you might get a more accurate idea of what the systems could do with binaries that are tuned for that system.

  18. MacGCC? by Doc+Ruby · · Score: 3, Interesting

    Most of the benchmark data is bottlenecked by gcc, as the review mentions. That's fair, because that's what so many of us use to compile on these kinds of platforms. But I do think that Apple would do well to throw some of their programmers at the GCC project, at least adding their expertise to some of the Altivec modules. It would show off their platform, and return some value to the gcc project surely used extensively by Apple.

    --

    --
    make install -not war

    1. Re:MacGCC? by bubba451 · · Score: 2, Informative
      But I do think that Apple would do well to throw some of their programmers at the GCC project, at least adding their expertise to some of the Altivec modules.

      Good news! Apple has been doing precisely this with its contributions to auto-vectorization in GCC 4.0.

    2. 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)
  19. Re:There Is No Comparison by Reverberant · · Score: 3, Informative
    The odds are pretty good that you'll need to do some CLI sorcery to get an X-Server to run under OSX.

    Umm, no.

  20. 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).
  21. 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/
  22. threading optimiztions by FranTaylor · · Score: 2, Interesting

    I want to hear about the techniques used by "the major database vendors" to deal with the thread blocking issue. Maybe programs like MySQL can take advantage of these enhancements, too.

    This doesn't appear flattering for Apple, but it's apparent that they have been scrambling to get the user experience right in OSX, at the expense of sub-optimal kernel development. Hopefully they will be able to refocus on the kernel and the compiler and get the performance up to what Linux people expect. Thread blocking will become much more of an issue as multi-core CPUs become mainstream.

    Linux is a good example of what can happen here. They got crummy benchmarks, the kernel guys identified the bottlenecks, experiments were written to overcome the bottlenecks, and eventually the fixes made it into the kernel and everyone benefits. Notice how Microsoft doesn't brag about performance any more?

    Sunshine is the best disinfectant. - Tip O'Neill

  23. Re:Apples to Oranges (this is not redundant... yet by Atomizer · · Score: 4, Funny

    There's no OpenLinux, FreeLinux or NetLinux. I think that proves that *BSD forks at least 3 times faster than Linux.

  24. Hippies are massing. by JudgeFurious · · Score: 2, Funny

    My investigation has uncovered a series of hippy drum circles arranged in a flower shaped pattern on this map (that you cannot see).

    My research clearly shows that we are very close to the start of a hippy music festival. It could begin at almost any moment. In fact it may already be too late.

    --
    Appended to the end of comments you post. 120 chars.
  25. Re:There Is No Comparison by argent · · Score: 2, Interesting

    The odds are pretty good that you'll need to do some CLI sorcery to get an X-Server to run under OSX.

    Double-click on your hard disk.
    Double-click on Applications.
    Double-click on Utilities.
    Double-click on X11.

    Compare a machine running OS 8 or OS 9 to a Macine running OSX, the machine will be discernably slower when running OSX.

    The interesting question is, why?

    Here's what I've found:

    Compare a machine running NeXTSTeP with a comparable machine running OS 8 (say, the Performa 475 vs the NeXTStation Mono). The NeXT, running the same basic kernel as OS X, is about as responsive for pure GUI interactions and WAY more responsive running multiple applications or when disk I/O is involved.

    Compare a machine running BeOS and Sheepshaver with the same machine running OS 8 natively. Under BeOS, the machine is again more responsive, and again disk I/O is much better.

    Compare a machine running OS 9 applications under Classic and the same machine running OS 9. Not a lot of difference. Slightly slower screen, better disk I/O, and much more responsive than OS X applications.

    OS 8 vs OS 9? Not that big a deal. OS 9 does multitasking a bit better, it seems, but at the same time it's a bigger system.

    OS X should be faster than OS 9, then, even with the "Microkernel overhead", because of the improved multitasking and disk I/O. But you can see that it isn't just using it on the same machine.

    The big difference is that OS X allocates a separate raster map for each window, and composites them without involving the app. Scrolling panes in windows can end up using a raster map the size of the scrolling region. This means at least tens of megabytes of extra storage just on scrolling, and at least one and sometimes two additional copies (dpending on translucency) before any pixel makes it to the screen.

    This is why QE and QE2d are such big wins on the Mac. They move one of the copies out of the way.

    Meanwhile on OS 9, you usually have zero copies... the app calls Quickdraw and Quickdraw renders just what's visible, and may completely bypass the CPU to do it. Just like just about every other windowing system I know of, including NeXTstep.

  26. 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!!!
  27. Re:There Is No Comparison by mcc · · Score: 2, Funny

    Holy crap! Where did you get the idea of comparing OS's to cars?!? Genius.

    If metaphors were cars this would be the big honking overcrowded city bus that everyone's ridden and smells vaguely of urine.

  28. Re:There Is No Comparison by Temporal · · Score: 2, Interesting

    Lamborghini? Did you read the article? They found that Linux was ten times faster for high-end server apps that make lots of system calls. That's more like comparing that old Charger to a shiny new bicycle. I love OSX's GUI too, but is it worth an order of magnitude speed penalty? On a server system? Hell no.

    (I similarly dislike Linux and like OSX, so this article disappointed me. I do think they made some mistakes in their testing. However, the unerlying problems causing the performance issues are certainly real.)

  29. Re:Wooohooo by NeedleSurfer · · Score: 3, Funny

    isn't it sad that racist, homophobic and sexist comment systematicaly get rated funny on Slashdot?..

  30. 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.
  31. 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.

  32. Re:There Is No Comparison by argent · · Score: 2, Interesting

    Mach's multitasking _performance_ still blows.

    Compared to OS 9? Have you used classic Mac OS? The classic Mac OS multitasking charade (I won't call it a kernel) was appalling. It had no real scheduler, applicatons ran for a while, gave up the CPU voluntarily, and went on. There was no way to get smooth interapplication concurrency because the API was built around operations that weren't even thread-safe, let alone safe for separate independent applications to use concurrently.

    That's what I'm comparing Mac OS X with, not other real multitasking operating systems, but a hideous shambling wreck that was so bad it made a 240 MHz Power PC running Mac OS 9 feel less responsive than a 30 MHz 68040 running Mach.

    Later on, I ran both OS 9 and OS X on the same hardware. OS X was smoother and more responsive in the face of even heavy competition for the CPU and disk than OS 9 just sharing files. I had an upgraded 7600 which I was going to use as a file server and occasional console, until I started trying to use it that way. Any time it started sharing files it got slow, unresponsive, and jerky. I wanted to use it for music, but iTunes would chop and skip on just about any file access. Upgrading it to a 240 MHz CPU and giving it a second SCSI card just for file sharing didn't help.

    Bad as Mach is, it's so much better than what Apple was using before that if they had just stuck to using Quickdraw and Display Postscript OS X would have knocked the doors off OS 9 on the same hardware. I had a copy of Rhapsody DR1 for Intel at one point, and it was easily the equal of BeOS (another OS I've found has an inflated reputation) on the same test box.

    It's not the Mach kernel that makes OS X slower than OS 9, it's the Quartz graphics.

  33. 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"...

  34. Thread Creation Time by 5plicer · · Score: 2, Interesting

    k, I don't know whether this "between 2 and 5(!) times slower" stat is true, but even if it is, it should hardly matter. The time it takes to create a thread should be insignificant compared to the time it takes for the thread to do its work (at least, in a good program). Not to mention that in the case of a multithreaded server (like Apache 2), thread pools are used so that less time is spent creating and destroying threads.

    --
    The bits on the bus go on and off... on and off... on and off...