RSS RSS Twitter Twitter
tech industry

06/15/2005, 9:50am, EDT

Wednesday, June 15th

Review: Mac OS X limits server performance

AnandTech has posted a lengthy review of the Power Mac G5, Xserve G5, and Mac OS X. The report finds that Mac OS X on the PowerPC G5 is a viable workstation platform. However, the article concludes that Mac OS X is lacking as a server platform. Lmbench was used to test MySQL performance and measure the bottlenecks at the Unix operating system and CPU level. "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."


Filed under: industry

, , 20comments, del.icio.us, slashdot, digg, buzz , Twitter



20 comments
Reader Reactions (Please use <i></i> for italic text)

subscribe to comments
for this article




Expand All   Global Settings
Factual errors
0
06/15, 10:10am, EDT
Although I am curious why Mac OS X performed so badly in the database ad webserver tests, the reasons they give are wrong. Mac OS X most certainly does use kernel threads. In fact, every process under Mac OS X is nothing but a glorified Mach thread.

And the slowness is also not due the fact that they use Mach, because they are not using it like a traditional microkernel (where every service runs in a separate memory space), but everything runs in one single address space (even the Mach and BSD personalities run in the same address space).

Some more detailed comments can be found at http://ridiculousfish.com/blog/?p=17
Fresh-Faced Recruit
Joined Jan 2002
User is offline
Thread creation
0
06/15, 10:21am, EDT
I've been a developer a long, long time, and I found the reading of this article quite amusing! Let's first accept the premise that the performance issues are indeed due to thread creation. This is the "Doctor, doctor - it hurts when I do this" syndrome. I haven't created threads willy-nilly in a application in at least 15 years, it's just not a good idea. Any system resource that required overhead to create you should try to only create once, then reuse - it's call pooling. Databases do it all the time with connection pooling. The interpretation of the test results is flawed because the test application was not measuring anything other than poor application design.
Fresh-Faced Recruit
Joined Feb 1999
User is offline
Old news
0
06/15, 10:24am, EDT
Interesting how MacNN posts this only *after* Apple's Intel announcement. This is old news.
Dedicated MacNNer
Joined Jan 2003
User is offline
Debunked last week
0
06/15, 10:27am, EDT
This article was discussed in other places last week. It seems that the testers don't understand some important characteristics of how Mac OS X operates. They have inadvertently(?) created an artificial test condition that actually highlights their lack of insight...

Intelligently designed server applications run very well on Mac OS X. Badly designed ones... don't.
Fresh-Faced Recruit
Joined Jul 2002
User is offline
Just as expected
0
06/15, 10:40am, EDT
ore drivel from the reviewer crowd that thinks that they can just walk up, throw something down onto a box, and say "go". Sure, on the desktop, for the user, stuff just runs ( I love being a Mac person again and being able to say that, after 20 years on PC's. Hey...I have a household to support ), but on a server, there are always things that need to be tuned to the environment they're being run in. Has anyone looked at how many different things you can ( and usually HAVE to ) do to Oracle to get best performance out of it ( no matter what platform you're running on ) ?

What possible brain-deficiency related thing made them think that their little test case even made sense ? And frankly, I STILL question what even GAVE THEM the idea that they were prepared for this ? Has Anandtech EVER done any sort of review of anything else Mac related ( I don't think so, but I could be wrong on that ) ?

But I digress, I think they need to go back to school, and rethink their approach. Come back to us after you've actually thought the assignment through boys.

Fresh-Faced Recruit
Joined Apr 2005
User is offline
Poor Article
0
06/15, 11:00am, EDT
This one was posted on Slashdot a while ago. The reviewer's methodology is horrible, and he does nothing to try to isolate the source of the performance difference, even on the small array of micro tests he does. The reviewer also does not fully understand the Mac OS threading model and his understanding of what an OS is, is poor at best.
Fresh-Faced Recruit
Joined Apr 1999
User is offline
Re: Just as expected
0
06/15, 11:14am, EDT
Anandtech is generally quite positive when it comes to the Mac, and is nearly always fair. Anand Shimpi keeps a Mac runing as one of his personal machines, and continually shows admiration and respect for the machine and OS.

That said, he's only a kid. And although extremely bright, he's not the last word in computing (although treated as such by many PC folk).
Fresh-Faced Recruit
Joined Dec 2001
User is offline
Re: marcelol
0
06/15, 12:24pm, EDT
For a list of Mac articles at Anandtech, see this link: http://www.anandtech.com/mac/
Junior Member
Joined May 1999
User is offline
Results
0
06/15, 12:38pm, EDT
Let's not put our head-in-the-sand. The fact that you can't get good performance out of the box *is* a problem.

But the only people that can address it is the MySQL and Apache developers.
Senior User
Joined Apr 2001
User is offline
Let's face it
0
06/15, 12:55pm, EDT
Performance sucks. There is absolutely no reason why MySQL performance should be any worse out of the box than it is on Linux. The old saw "it wasn't optimized for OSX" is just a load of crap. The fact that microkernel architectures are a performance sink has been known for years (google Linus vs. Tanenbaum if you don't believe me). OSX is currently carrying the baggage of its NeXT origin. It's time for Apple to admit there's a problem, and FIX it. When they start delivering Intel-based machines the lackluster performance of the machines is going to become a very serious issue, because it's going to be trivial to benchmark OS performance (if you can run OSX, Linux, FreeBSD and Windows on the same machine, and run MySQL on all environments, it's easy to rate OS performance objectively).
Fresh-Faced Recruit
Joined Aug 2002
User is offline
additional comments:..1..2..Next
Your Comments

In order to post comments: If you are a registered member, please login with your MacNN Forums username and password otherwise please uncheck the checkbox below.


Registered Member?
macnn forums login:

macnn forums password:

Not a member of the MacNN forums? Register now for free.

RSS Feeds

Have the latest content delivered to your desktop via RSS. Use the links below to get access to a specific blog, news, or reviews feed.



  MacNN -all

  MacNN Reviews

  MacNN Podcasts

  iPodNN

  Electronista

  Left Lane News
Want To Sell Your Laptop? Any Condition - receive Top Cash. Get an instant quote. Free shipping www.CashForLaptops.com

Internet Marketing School - 100% Online: Master SEO, SEM, E Commerce, Media & More with a U of San Francisco Certificate.

Buy from The Apple Store, iTunes.com, Amazon.com, TechDepot, OfficeDepot, Computers4Sure, or donate.