Workstation, yes; Server, no.

The G5 is a gigantic improvement over the previous CPU in the PowerMac, the G4e. The G5 is one of the most superscalar CPUs ever, and has all the characteristics that could give Apple the edge, especially now that the clock speed race between AMD and Intel is over. However, there is still a lot of work to be done.

First of all, the G5 needs a lower latency access to the memory because right now, the integer performance of the G5 leaves a lot to be desired. The Opteron and Xeon have a better integer engine, and especially the Pentium 4/Xeon has a better Branch predictor too. The Opteron's memory subsystem runs circles around the G5's.

Secondly, it is clear that the G5 FP performance, despite its access to 32 architectural registers, needs good optimisation. Only one of our flops tests was " Altivectorized", which means that the GCC compiler needs to improve quite a bit before it can turn those many open source programs into super fast applications on the Mac. In contrast, the Intel compiler can vectorize all 8 tests.

Altivec or the velocity engine can make the G5 shine in workstation applications. A good example is Lightwave where the G5 takes on the best x86 competition in some situations, and remains behind in others.

The future looks promising in the workstation market for Apple, as the G5 has a lot of unused potential and the increasing market share of the Power Mac should tempt developers to put a little more effort in Mac optimisation.

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.

Workstation apps will hardly mind, but the performance of server applications depends greatly on the threading, signalling and locking engine. I am no operating system expert, but with the data that we have today, I think that a PowerPC optimised Linux such as Yellow Dog is a better idea for the Xserve than Mac OS X server.

References

Threading on OS X
http://developer.apple.com/technotes/tn/tn2028.html

Basics OS X
http://developer.apple.com/documentation/macosx/index.html


Mac OS X versus Linux
Comments Locked

116 Comments

View All Comments

  • wessonality - Friday, June 3, 2005 - link

  • ailleur2 - Friday, June 3, 2005 - link

    Oh and the graph on page 5 doesnt display correctly in firefox.
  • ailleur2 - Friday, June 3, 2005 - link

    Well that was interesting.

    Im a big apple fan myself but even i never thought od putting osx server in a server room.
    I think the g5 did quite well and had IBM delivered its promise of a 3ghz g5 (and that was supposed to be a year ago) the g5 would have won a couple of tests by a good margin.

    If apple/IBM want altivec optimisations, i think theyll have to do it themselves since the interest level is pretty low.

    One question though, why wasnt linux installed of the g5 if this was a cpu test? I dont know if it makes a damn of a difference but it whould have put them on equal bases.
  • Methodical - Friday, June 3, 2005 - link

    I like anands articles way better.

    Your drawing too many conclusions off of data you basically call untrustworthy, but I agree your basic conclusion. The OS still needs more work.

    I really think leaving out After Effects was a bad idea. Its a perfect benchmark. Plugins that do the exact same calculations on the exact same workfiles. Its also one of the biggest things these macs are used for, but I understand your article to be a bit more server-oriented.
  • Bahlo - Monday, December 13, 2021 - link

    Actually, for better or worse the GCC Apple includes is being used for most Mac OS X software. OS X itself was compiled with it. https://setbitv.com/
  • Bahlo - Thursday, May 5, 2022 - link

    jhagman, the number in the apache test table means the request per second that the server handles.
    https://setbitv.com/abonnement-iptv1/

Log in

Don't have an account? Sign up now