Originally posted by: zephyrprime
In terms of low level system stuff, all versions of windows are generally slower in just about evey category than any variant of *nix. I remember for class I had to program a memory allocator and compare it's speed to the memory allocation function in Unix. Since I have a windows xp machine at home, I also compared my code to windows. I was shocked to see that Windows XP allocated memory 200x slower than Solaris. My comparison isn't apples to apples though because the hardware platforms were totally different (the Sun I was using was an older model and my pc is a athlon 1700).
In terms of applications though, windows may add some overhead but performance would be more a function of the application itself and the hardware being used.
XP/2k do context switches faster as long as you have more than two theads (say, init and bash). Low level slower?
Originally posted by: Vehementi
You could compare MFLOPs/MIPs on the same system.
This is pretty much because all X11 apps (even local ones) are drawing to the screen through the TCP/IP stack.
Originally posted by: Nothinman
XP/2k do context switches faster as long as you have more than two theads (say, init and bash). Low level slower?
For that test to mean anything it has to be done under moderate load, and we all know how well Windows handles load =)
Also it would have been good to see if the new O(1) scheduler improves on context switch speed at all.
I was just trolling because he made an un-backed generalization
Originally posted by: Nothinman
I was just trolling because he made an un-backed generalization
Even so I was still surprised that Windows task switches are faster than Linux, especially considering they have to basically do the same thing.
Yea, that is pretty interesting. A related question is, which task switches more frequently?
Originally posted by: Nothinman
Yea, that is pretty interesting. A related question is, which task switches more frequently?
I would have to say Windows, looking at perfmon right now shows my Win2K laptop doing ~1000 context swtiches per second, and it's basically idle.
how do you check that in linux? and how would I check this in windows?
remember, linux has a lot fewer cool fade and scroll effects, so turn em off in windows for a fair test
