To read all comments associated with this story, please click here.
But if Linux "scales very badly after a certain amount of threads per CPU" why do thepiratebay.org uses a (modified) Linux kernel and not FreeBSD?
I actually would expect linux to work well with *lots* of threads per-cpu, so it's reasonable to expect Linux to work well with two fscking threads, but it doesn't in that test. God knows what linux/mysql interaction or bug is going on here.
Edited 2007-02-23 01:25
As the guy said himself in TFA, somebody's gunna claim that he's doing something wrong to get such poor performance on Linux, and that person is me. Not because I refuse to believe the fact that FreeBSD performs better, but because I know for a fact that performance should never plummet like that at such low levels of CPU contention.
When you get such strange results for a benchmark, you have to figure out why before posting them and declaring a winner. Whatever is going on with his particular Linux kernel, it isn't normal. He should retest with a vanilla kernel (instead of the FC6 kernel). I suspect the results will be quite different.
Also, he's doing synthetic benchmarks on his development branch. It's very possible that his scheduler isn't working properly. I can write a scheduler that does great under contention. It would simply select a thread to run on each CPU and never schedule the others. That should give optimal transactions/second with this benchmark.
When you get such strange results for a benchmark, you have to figure out why before posting them and declaring a winner. Whatever is going on with his particular Linux kernel, it isn't normal. He should retest with a vanilla kernel (instead of the FC6 kernel). I suspect the results will be quite different.
Nonetheless it's still valid for pointing out a problem with a released OS. If it doesn't happen with the vanilla kernel, then the redhat/FC guys should take a look. I would be more suspect if he did tweak some things or compiled his own with patches, etc. but having it plummet like that out-of-the-box is not good.
About the only nitpick then would be to emphasize that this is only known to happen with FC6 so far but I do agree that he should try other kernels.
If I should draw Linux I would draw something like this:
http://de.wikipedia.org/wiki/Bild:Wolpertinger.jpg
Your operating system sure looks funny! Someone posted this on ##freebsd freenode a little while ago:
http://img255.imageshack.us/img255/6585/pcmacbsdsq9.jpg
Edited 2007-02-23 14:40
Yeah, you are right, Linux is an OS with no obvious goal and a shitload of glue
(No, I don't think it's that bad, but I prefer FreeBSD since I know everyone else runs the same thing instead of random collection of versions and apps, all Linux dists suck ;D, I'd prefer opensolaris with a better distribution than the Sun one thought.)




Member since:
2006-10-27
The question is whether your system is running more than eight client threads. My web server does not. Therefore Linux is the right choice *for me*.
But if Linux "scales very badly after a certain amount of threads per CPU" why do thepiratebay.org uses a (modified) Linux kernel and not FreeBSD?
Linux was never developed with the intention to be "the OS of choice" just for a particular issue but it was developed to fulfill many needs (desktop capabilities, multimedia, server capabilities) at least satisfactorily. And *for me* it does!
If I should draw Linux I would draw something like this:
http://de.wikipedia.org/wiki/Bild:Wolpertinger.jpg