On The Insider: Joe Simpson to Produce TV Show
BNET Business Network:
BNET
TechRepublic
ZDNet

November 8th, 2005

'Unix beats Windows' - says Microsoft!

Posted by Paul Murphy @ 4:13 am

Categories: Enterprise Policy, General, Linux

Tags:

Ok, that headline may be a bit overblown - but Microsoft Research has released part of a report on the "Singularity" kernel they’ve been working on as part of their planned shift to network computing. The report includes some performance comparisons that show Singularity beating everything else on a 1.8Ghz AMD Athlon-based machine.

What’s noteworthy about it is that Microsoft compared Singularity to FreeBSD and Linux as well as Windows/XP - and almost every result shows Windows losing to the two Unix variants.

For example, they show the number of CPU cycles needed to "create and start a process" as 1,032,000 for FreeBSD, 719,000 for Linux, and 5,376,000 for Windows/XP. Similarly they provide four graphs comparing raw disk I/O and show the Unix variants beating Windows/XP in three (and a half) of the four cases.

Oddly, however, it’s the cases in which they report Windows/XP as beating Unix that are the most interesting. There are three examples of this: one in which they count the CPU cycles needed for a "thread yield" as 911 for FreeBSD, 906 for Linux, and 753 for Windows XP; one in which they count CPU cycles for a "2 thread wait-set ping pong" as 4,707 for FreeBSD, 4,041 for Linux, and 1,658 for Windows/XP; and, one in which they report that "for the sequential read operations, Windows XP performed significantly better than the other systems for block sizes less than 8 kilobytes."

So how did they get these results?

 

The sequential tests read or wrote 512MB of data from the same portion of the hard disk. The random read and write tests performed 1000 operations on the same sequences of blocks on the disk. The tests were single threaded and performed synchronous raw I/O. Each test was run seven times and the results averaged.

umm…

 

The Unix thread tests ran on user-space scheduled pthreads. Kernel scheduled threads performed significantly worse. The "wait-set ping pong" test measured the cost of switching between two threads in the same process through a synchronization object. The "2 message ping pong" measured the cost of sending a 1-byte message from one process to another and then back to the original process. On Unix, we used sockets, on Windows, a named pipe, and on Singularity, a channel.

So why is this interesting? Because their test methods reflect Windows internals, not Unix kernel design. There are better, faster, ways of doing these things in Unix, but these guys - among the best and brightest programmers working at Microsoft- either didn’t know or didn’t care.

And if they’re the best and brightest, what do you think happens when the average Microsoft programming whiz gets asked to program for Linux?

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 111 Talkback(s)
Interesting article
I am not surprised if the statements in this article are true. The Linux kernel is very efficient and is completely modular in design. I am not as familiar with the Windows kernel because it is clos... (Read the rest)
Posted by: apexwm Posted on: 02/25/09 You are currently: a Guest | | Terms of Use
More evidence  Real World | 11/08/05
You really want to make these "big" statements?  michael_t | 11/08/05
Benchmarks are  Real World | 11/08/05
You really want to make these "big" statements?  michael_t | 11/08/05
Definately agree  Someguy2 | 11/11/05
more evdence  giskard | 11/12/05
Singularity Kernel Looks Interesting  BanjoPaterson | 11/08/05
Agreed - very interesting indeed  murph_zZDNet Moderator | 11/08/05
Well well  D-T-Schmitz | 11/08/05
funny how you omit and misrepresent facts  zzz1234567890 | 11/08/05
More on Singularity  Yensi717 | 11/08/05
And how often...  rapson | 11/08/05
Good point(nt)  IT Scion | 11/08/05
Sure .. but we're right  murph_zZDNet Moderator | 11/08/05
Paul...  rapson | 11/08/05
Every single stratum of them..  murph_zZDNet Moderator | 11/08/05
Not in my opinion  rapson | 11/08/05
Agreed - but I wasn't being totally serious  murph_zZDNet Moderator | 11/08/05
OT - proof read  rapson | 11/09/05
Sorry, they don't  A.Sinic | 12/05/05
Yes thats right  jackie40d@... | 12/05/05
"Windows whizz kid programmers"?  whisperycat | 11/08/05
What is 'standardized'?  balsover | 11/08/05
Standards  Emu-1 | 11/09/05
Windows Programmers  jjanks | 11/08/05
No one said it wasn't  rapson | 11/08/05
don't shoot  D-T-Schmitz | 11/08/05
Not just wrong, but a fabrication  george_ou | 11/08/05
Late 2005  Harry Bardal | 11/08/05
You missed the point completely.  Yensi717 | 11/08/05
conditional reflex  D-T-Schmitz | 11/08/05
His conditioned reflex, or your's?  balsover | 11/08/05
I think you need to re-condition yours !  sawthpaw | 11/08/05
C# != C  mastercko | 11/09/05
Did you read the article?  timeofmind | 11/10/05
are you serious?  Someguy2 | 11/11/05
Message has been deleted.  Altair4 | 11/12/05
The one who didn't RTFA is obviously you  Altair4 | 11/12/05
You're the one who needs to RTFA  Altair4 | 11/12/05
Sorry for the triple post  Altair4 | 11/12/05
Uh no - Not a fabrication - but certainly misleading testing  TGlassey | 12/29/05
This is not surprising at all  michael_t | 11/08/05
At least not surprising for you.  balsover | 11/08/05
This is not surprising at all  doc_cotton | 12/29/05
Singularity - Hasn't this been done before?  HiRezL | 11/08/05
How typical.  jgmsys@... | 11/08/05
I don't think they rigged anything  murph_zZDNet Moderator | 11/08/05
Real testing...  Sxooter_z | 11/08/05
Real testing...  Sxooter_z | 11/08/05
... if they're the best and brightest ....  An_Axe_to_Grind | 11/08/05
Blow  node357 | 12/29/05
Have your considered writing for the National Enquirer?  balsover | 11/08/05
You bet! please see  murph_zZDNet Moderator | 11/08/05
This article isn't about Singularity  Altair4 | 11/12/05
Exactly  murph_zZDNet Moderator | 11/12/05
In other news MS  michael_t | 11/08/05
or - "MS buys Apple "  murph_zZDNet Moderator | 11/08/05
Now your talking  D-T-Schmitz | 11/08/05
dream on  zzz1234567890 | 11/08/05
dream on  Muncher | 01/03/06
Most people can see through you (only the *nix fanatics are with u on this  zzz1234567890 | 11/08/05
I was actually listening to you...  tommyhigbee | 11/08/05
you can make all user to run without admin rights in Windows  zzz1234567890 | 11/08/05
Wrong  toadlife | 11/09/05
Windows NT = VMS  msmitchel | 11/10/05
And VMS != UNIX  toadlife | 11/10/05
In all aspects...  duanebarb | 03/03/06
Threads are OLD  eeklund | 11/09/05
Windows Security (lmao)  Emu-1 | 11/09/05
Everything you just posted...  toadlife | 11/09/05
No there aren't  murph_zZDNet Moderator | 11/10/05
That's complete BS  toadlife | 11/10/05
Why didn't MS make this point.  bjbrock | 12/05/05
So...  duanebarb | 03/03/06
When there's nothing else to write about...  John Zern | 11/08/05
That 70s show  TonyMcS | 11/08/05
ah tony ? Tony..?  murph_zZDNet Moderator | 11/08/05
thats why they still dont support  zzz1234567890 | 11/08/05
Ummm  TonyMcS | 11/08/05
WTF...  pubmonster | 12/29/05
Murph You Are An Intellectual ...  PMC-CON | 11/16/05
70's OS???  Joshp_z | 11/20/05
Slight correction  toadlife | 11/08/05
Gaming  TonyMcS | 11/08/05
As an aside  imric_z | 11/09/05
Games faster in Cedega than in their native platform?  toadlife | 11/09/05
opengl on windows  Scott W | 11/17/05
It's a two-fer!  tommyhigbee | 11/08/05
Age  TonyMcS | 11/09/05
Classes and objects?  pubmonster | 12/29/05
happy  Scott W | 11/17/05
graphics + animation  Scott W | 11/17/05
I am just guessing  hughe | 12/29/05
I am just guessing  hughe | 12/29/05
Why Threads Are A Bad Idea  cyber_rigger@... | 11/08/05
use events instead of threads  zzz1234567890 | 11/08/05
Threads are not *that* hard to use.  rsteiner@... | 11/09/05
Well, yes and no  murph_zZDNet Moderator | 11/10/05
Singularity is about *real* security  raycr | 11/11/05
All right, I give up  rapson | 11/12/05
Carl  toadlife | 11/12/05
Example of Singularity: Black Hole  PMC-CON | 11/16/05
MS programmers doing *ix?  code_flogger | 12/02/05
microsoft programming linux  drexen | 12/04/05
MS for Linux?  jesus_of_suburbia344 | 12/05/05
Idiot  wily@... | 12/07/05
The best and the brightest vs time constraints  gerardbr | 12/05/05
Windows much slower than Linux  albertvd | 12/28/05
CAMLAM:OPERATING SYSTEMS ARE NOT HANDY  camlamm@... | 11/06/07
RE:  Janjop31 | 09/09/08
Interesting article  apexwm | 02/25/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here