On The Insider: Oprah's Next Project on HBO
BNET Business Network:
BNET
TechRepublic
ZDNet

January 26th, 2006

The performance debate: Linux vs Windows

Posted by Paul Murphy @ 4:58 am

Categories: General, Linux Server OS

Tags:

My January 13th blog To beat Linux: scam the customer drew quite a lot of talkback comments. One of the themes there was fired off by a comment from No-Ax-To-Grind to the effect that the Linux community is somehow afraid of a direct performance comparison against Microsoft.

I’m pretty sure that Microsoft’s challenge was little more than a publicity stunt The near total absence of truly comparable information can’t be a coincidence. carefully structured to ensure no one could take them up on it, but the fundamental question is interesting: for some range of tasks, which is really faster given identical hardware and skills?

Running a publishable benchmark isn’t cheap and, of course, there are both sales and ego reasons for companies to ensure that the results they publish support their sales. In most cases that means they try to get the best possible results -i.e. you’re not going to see IBM hire just any idiot off the street to set up and run their TPC/C Linux benchmark: they’re going to put some real expertise into getting exactly the results they want, and so will Microsoft and HP and everybody else who gets into this game.

As a result the public benchmarks offered by TPC and SPEC may be good places to look for an answer. Unfortunately, there are few pairs of comparable results and most of the ones that do exist reflect HP’s attempts to convince people that the Itanium is worth looking at.

The TPC/H series, for example, shows an that HP Itanium2 server running Windows with SQL-Server on 32 CPUs reached a score of 30,956 on the 3000GB test while essentially the same machine, but with 64 of the same CPUs and running Oracle under HP-UX, claimed a score of 71,847 - 31% more than the doubling you’d expect if scaling were linear and the performance per CPU for the Windows server combination equaled that of Oracle under HP-UX.

You get somewhat better comparability under the TPC/C V5 benchmark. Here, for example, an HP 64 CPU Itanium2 running at 1.5Ghz was used under both software scenarios. With Microsoft SQL Server 2000 Enterprise Ed. 64-bit, running under Microsoft Windows Server 2003 Datacenter Edition 64-bit and the Microsoft COM+ Transaction Monitor, this machine obtained a throughput score of 786,646. With Oracle Database 10g Enterprise Edition running under HP UX 11.iv2 64-Bit Base OS and the BEA Tuxedo 8.0 Transaction Monitor, it reached 1,008,144 to suggest about a 30% performance advantage to Unix.

A pair of 32CPU Itanium2 based NEC machines show the same pattern. With Microsoft SQL Server 2000 Enterprise Ed. 64-bit, Microsoft Windows Server 2003 Datacenter Edition 64-bit, and Microsoft COM+ the test system achieved a score of 577,531. With Oracle Database 10g Enterprise Edition, and BEA Tuxedo 8.1 on SUSE LINUX Enterprise Server 9 it reached 683,575 - an 18% advantage for Unix.

Beyond that, however, there are a pair of two way comparisons in which both sides use the same database and the same Xeon hardware to produce a pure OS to OS comparison that Linux wins - but there’s a strange gotcha hiding in the weeds.

The first of these pairings offers a direct comparison between IBM DB2 UDB 8.1 running under Microsoft Windows Server 2003 Enterprise Edition and the same database product running under SUSE LINUX Enterprise Server 9. The Unix result, 5090 on TPC/H at 300GB, is trivially better (about 1.7%) than the Windows result (5,003).

Similarly, a TPC/C V5 comparison between an HP Proliant ML350-T03-X2.8/533 running IBM DB2 UDB Express Edition v8.1 with Microsoft COM+ on Microsoft Windows Server 2003 Standard Edition and the same hardware, database, and monitor but using SUSE LINUX Enterprise Server 9, produced a 1.8% victory for Linux: 18,661 to 18,318.

However close inspection of the detailed reports suggests something very odd: the machine’s controller and RAM specifications were the same in both cases - and that’s not what you would expect.

Because of the waterfall object control heirarchy built into Windows 5.X (and, indirectly, the Intel Itanium), you maximize performance by using one controller (and one NIC) per CPU. Linux, in contrast, is a true SMP system so you maximize performance by reducing device interupts and loading up on memory for your database cache instead. That’s why if you look at Linux benchmark configurations you’ll typically see 0.5 controllers or fewer per CPU while Windows benchmarks almost always have 1:1 CPU/Controller ratios.

Since RAM is actually cheaper and faster than controllers and disks, keeping machine configurations essentially identical artificially slows Linux and raises its cost relative to Windows. Cost per transaction is, of course, one of the TPC’s critical metrics, and Linux did "win" both comparisons; but it won by a much smaller margin than it should have.

Overall, however, there seem to be two trends visible in both the TPC and SPEC benchmarks:

 

  1. where the hardware is roughly comparable Unix, whether Linux or anything else, wins - usually by a wide margin; and,

     

  2. recent Microsoft benchmarks, to the extent that these are published, tend to have been done by third parties - meaning that Microsoft has apparently stopped participating in these kinds of comparisons.

So there’s an interesting twist to the answer for the original question: Although the evidence we do have heavily favors Unix, there isn’t enough information to draw firm conclusions. On the other hand the near total absence of truly comparable information can’t be a coincidence. Combine that with Microsoft’s general refusal to play in the more complex benchmarks and we can guess who’s afraid of who - and it isn’t Solaris, Linux, or any other Unix.

Paul MurphyPaul Murphy (a pseudonym) is an IT consultant specializing in Unix and related technologies. See his full profile and disclosure of his industry affiliations.


Email Paul Murphy

Subscribe to Managing L'unix via Email alerts or RSS.

  • Talkback
  • Most Recent of 147 Talkback(s)
Ok, ok, you win
My high end server makes a lousy game machine, and your game machine makes a lousy high end server...a pretty sorry statement in a post associated with Linux/Windows performance in servers.... (Read the rest)
Posted by: Taz_z Posted on: 02/22/06 You are currently: a Guest | | Terms of Use
No-ax is a shill  Chad_z | 01/26/06
Don't curse the messenger  Still Lynn | 01/27/06
Slightly misleading math error...  johnay | 01/26/06
Debate away  D. T. Schmitz | 01/26/06
Re: Debate away  nix_os_fan | 01/26/06
Thru a big straw  D. T. Schmitz | 01/26/06
You are wellcome...  nix_os_fan | 01/26/06
Sun  D. T. Schmitz | 01/26/06
Cost per transaction is one thing...  Scottman_z | 01/26/06
Data migration costs  Fred Fredrickson | 01/26/06
I want virus free and crash proof...  nix_os_fan | 01/26/06
A rule for understanding posts.  Anton Philidor | 01/26/06
Yo Anton, I wouldn't touch...  nix_os_fan | 01/26/06
Have you ever stopped to think...  AckItsMe2 | 01/26/06
Agree 100% n/t  mosborne | 01/26/06
Yo nix  D. T. Schmitz | 01/26/06
So Anton  D. T. Schmitz | 01/26/06
Then why is it that in the enterprise...  Richard Flude | 01/26/06
I accept your challenge  NonZealot | 01/26/06
*Anyone* fits this rule? Maybe not.  Still Lynn | 01/27/06
Re XP - I agree  wconrad@... | 01/27/06
Believe it or not...  SGT_Spam | 01/26/06
I don't blame the users or the OS  maldain | 01/26/06
Agree to a point  SGT_Spam | 01/27/06
The performance debate: Linux vs Windows  Loverock Davidson | 01/26/06
Like I have said in the past and will say again...  nix_os_fan | 01/26/06
Like I have said in the past  Loverock Davidson | 01/26/06
Lame comeback as usual...  nix_os_fan | 01/26/06
Head butting drains acuity of perception  Still Lynn | 01/27/06
What if BSD was included in the test?  Roger Ramjet | 01/26/06
Nope  Loverock Davidson | 01/26/06
Now isn't that better  Roger Ramjet | 01/26/06
I think you get...  nix_os_fan | 01/26/06
BSD and Linux  SGT_Spam | 01/26/06
Dear god, do you really know much about BSD?  Sxooter_z | 01/27/06
Grammar  bmeacham98@... | 01/26/06
Grammar (2)  bmeacham98@... | 01/26/06
Here's a grammer lesson for you...  No_Ax_to_Grind | 01/26/06
Forgive Murph, he's Canadian (NT)  Erik1234 | 01/26/06
TPC Comparison Not So Fair  P. Douglas | 01/26/06
Not quite equal  Yagotta B. Kidding | 01/26/06
Message has been deleted.  BrutalTruth | 01/26/06
Thanks for trying murph  Roger Ramjet | 01/26/06
Heavily?  Yagotta B. Kidding | 01/26/06
I will test this MYSELF  Justin James | 01/26/06
Additional thought  Justin James | 01/26/06
jmjames, since you are a fellow BSD lover, you might find this amusing...  toadlife | 01/26/06
Real Benchmarks  Sxooter_z | 01/27/06
Slackware  SGT_Spam | 01/26/06
I can do testing too.  toadlife | 01/26/06
Other distros  Rokstar83 | 01/26/06
Servers adequetely installed for their tasks  Justin James | 01/26/06
Based on that  Rokstar83 | 01/26/06
Simple queries favor simple DB engines, involuntary misleading  Mp_z | 02/20/06
Add back updates and anti spy scans  duclod | 01/26/06
Just from my experience  voska | 01/26/06
As I have long suspected,  No_Ax_to_Grind | 01/26/06
What it shows me  Michael Kelly | 01/27/06
For consumers the meaning of fair is out-of-the-box vs. out-of-the-box (NT)  Vily Clay | 01/26/06
Exactly what I will be testing  Justin James | 01/26/06
Many consumers have no clue what the RAM, settings, etc. they need. (NT)  Vily Clay | 01/26/06
That could be why ...  Still Lynn | 01/27/06
And who are the consumers...  Still Lynn | 01/27/06
the test that counts  BrutalTruth | 01/26/06
What else is new?  AmusedAtItAll | 01/26/06
your ignorance is forgiven  BrutalTruth | 01/26/06
Not so  tracy anne | 01/26/06
Please post your results  Still Lynn | 01/27/06
can take a horse to the pond, but its the horse thats got to drink th water  BrutalTruth | 01/31/06
A better test...  No_Ax_to_Grind | 01/26/06
are you donating the cash? happy (NT)  balsover | 01/26/06
Sounds good to me.  booknut | 01/26/06
I'd take that challenge  Robert Crocker | 01/26/06
The problem with cost...  Erik1234 | 01/26/06
I don't think you meant that  Yagotta B. Kidding | 01/26/06
Here you go  Robert Crocker | 01/26/06
Server: $4669...  Erik1234 | 01/26/06
When in doubt  Robert Crocker | 01/26/06
But the costs are real  Erik1234 | 01/26/06
So sorry  Sxooter_z | 01/27/06
Some People have way too much time  Pyvent | 01/26/06
Note, this assumes both...  No_Ax_to_Grind | 01/26/06
Well, I listed my prices  Robert Crocker | 01/26/06
No Robert, you listed the prices  No_Ax_to_Grind | 01/27/06
Already changing the rules you made ...  Taz_z | 02/22/06
Wow AX thats the first "Fair" thing I ever heard you say!  Pyvent | 01/26/06
Yes, but as  No_Ax_to_Grind | 01/27/06
Now that would be interesting  Anti_Zealot | 01/28/06
Not to mention  BrutalTruth | 01/26/06
Interesting theory you have going...  Monkey_MCSE | 01/26/06
pathetic comeback  BrutalTruth | 01/26/06
i don't believe you read well  Monkey_MCSE | 01/26/06
I feel sorry for you  zzz1234567890 | 01/26/06
a point of what?  Monkey_MCSE | 01/27/06
I was comparing other features of Windows  BrutalTruth | 01/26/06
Same thing all over again  Pyvent | 01/26/06
nope I even provided a few reasons  BrutalTruth | 01/27/06
then why even bring up these things..  Monkey_MCSE | 01/27/06
hope you get it right this time.  BrutalTruth | 01/31/06
Why are you here?  Still Lynn | 01/27/06
read up the blogs  BrutalTruth | 01/31/06
Too much time palying  Still Lynn | 01/27/06
so did you kiss the toad  BrutalTruth | 01/31/06
Get a life!  Pyvent | 01/26/06
why would anyone call themselves MONKEY  BrutalTruth | 01/27/06
it's a nickname...  Monkey_MCSE | 01/27/06
excellent choice  BrutalTruth | 01/31/06
Can't come up with a real argument? Side track them!  Sxooter_z | 01/27/06
do monkeys get married  BrutalTruth | 01/31/06
answered questions to the point  BrutalTruth | 01/31/06
Beyond the call of duty?  Still Lynn | 01/27/06
what's false about this statement  BrutalTruth | 01/31/06
How about comparing the brutal results ...  Still Lynn | 01/27/06
maybe you dont understand English  BrutalTruth | 01/31/06
Ok, ok, you win  Taz_z | 02/22/06
Not really that important.  Sxooter_z | 01/27/06
Comparison  chromeronin | 01/26/06
But you missed the most important factor  Robert Crocker | 01/26/06
Amortized Post to Desktop  Erik1234 | 01/26/06
Actually  tracy anne | 01/26/06
Fast Boot  chromeronin | 01/26/06
Real World Comparison  wraith0x29a | 01/26/06
As I don't play computer games  tracy anne | 01/26/06
Real World  chromeronin | 01/26/06
RPM-based linux distros suck  Knorthern Knight | 01/26/06
Real World  tracy anne | 01/27/06
Doin' it /Backwards/  sixit | 01/26/06
One thing though...  zkiwi | 01/26/06
Already done  Fred Fredrickson | 01/26/06
Let's test DOS  TonyMcS | 01/26/06
We Are Talking Servers Here  Edward Meyers | 01/26/06
Used to be  Still Lynn | 01/27/06
Dev tools  chromeronin | 01/26/06
Let's Test DOS..  walterreads@... | 01/27/06
Ahhh But It Is  Edward Meyers | 01/27/06
TPC is more a comparison of databases than OSes  Sxooter_z | 01/26/06
Great article...  mockylock | 01/26/06
'Dows to *Nix  walterreads@... | 01/27/06
Level playing field  Knorthern Knight | 01/26/06
Production DB server on the Internet?  Still Lynn | 01/27/06
Is that realy so important?  Agnostique | 01/26/06
Competition Keeps MS on its Feet!  badgertale | 01/27/06
It's a Vegetable Kingdom conspiracy  daver_z | 01/27/06
Actually...  rapson | 01/27/06
Yes, the was one of Paul's points  daver_z | 01/27/06
Tell 'em Paul!!!  Still Lynn | 01/27/06
Author misleading on benchmarks  flyingbuick | 01/27/06

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

  • Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
  • More from IBM
  • Innovate your business' process model, play against the market, compete against others on our scoreboards and WIN! Try INNOV8 2.0: A BPM Simulator
  • Enabling Real-World Business Transformation through IBM Service Management Read the EMA Analyst Report
Click Here