FreeBSD 7.0 Bests Linux In SMP Performance 288
cecom writes "After major improvements in SMP support in FreeBSD 7.0, benchmarks show it performing 15% better than the latest Linux kernels (PDF, see slides 17 to 19) on 8 CPUs under PostgreSQL and MySQL. While a couple of benchmarks are not conclusive evidence, it can be assumed that FreeBSD will once again be a serious performance contender. Some posters on LWN have noted that the level of Linux performance could be related to the Completely Fair Scheduler, which was merged into the 2.6.23 Linux kernel."
Update: 03/06 21:32 GMT by KD : An anonymous reader sent in word that Linux kernel developer Nick Piggin reran the benchmark today and came to a different conclusion: In his benchmark Linux was faster than FreeBSD.
Re:You don't have to be Kreskin (Score:5, Insightful)
Bad news for Linux? (Score:2, Insightful)
Re:Bad news for Linux? (Score:4, Insightful)
Its a safe bet Linux will do some other set of things faster than FreeBSD does them, possibly even another specific set of PostgreSQL queries for that matter. Linux is definately more concerned with desktop app performance. I can say this safely because Linux actually cares about it, FreeBSD does not. Its there to serve, not run X. It will run X, and if they see a way to make performance better for the desktop apps AND the server apps, then it may go in the source tree. If its going to hurt the server side, don't bet on it.
While I use FreeBSD for my servers because its got a clean filesystem layout and is designed to be a server OS, I'd be willing to bet that someone with deep knowledge of PostgreSQL on Linux could give it a run for its money by tweaking the kernel for server performance.
Re:You don't have to be Kreskin (Score:4, Insightful)
Re:BSD Desktops (Score:5, Insightful)
I'm a FreeBSD fan, but what kind of logic is that? You pick one example out of a fragmented set, and compare it to an entire other set of operating systems.
You act as if NetBSD, OpenBSD, DragonflyBSD, Darwin, etc, do not exist. Of course and item cannot be fragmented if if you define it's containing set as "itself". Makes about as much sense as:
Re:You don't have to be Kreskin (Score:5, Insightful)
It does (I use it too) BUT only in specific environments. FreeBSD hardware support is not bad, but it is nowhere near as complete as that found in the various Linux distro's. My wireless keyboard + mouse is supported under any recent Linux distro, on FreeBSD, only the keyboard works (fixable with a unofficial ums.ko though). No support under FreeBSD for my DVB-C PCI card either.
Re:Well (Score:3, Insightful)
Re:Bad news for Linux? (Score:5, Insightful)
In my opinion, the article summary is a pretty big red herring because the SMP performance may not have a huge impact on the result.
Re:Bad news for Linux? (Score:5, Insightful)
Re:BSD Desktops (Score:3, Insightful)
Compare/Contrast to Linux distributions. The kernel, assuming version matchs, is rather interchangable between the distros. Its the file system layout, the utilities included, and default configurations that define the 'distro'.
With FreeBSD, all of the above is defined as 'FreeBSD'. DragonflyBSD is a fork it. As is PC-BSD and a couple of the even less known forks.
Linux distros are 'the GNU/Linux kernel' and 'the utilities and userland tools required to make it usable'.
Saying there are FreeBSD distros is like saying there are 'Slackware' distros, or some such variation. While I'm sure you could argue it, the meaning behind what we all consider it to be would be different than what people think of when its said.
Re:FreeBSD SMP threads + boehm-gc = totally broken (Score:-1, Insightful)
Strange, it's not listed as broken in the Ports tree:
http://www.freshports.org/devel/boehm-gc/ [freshports.org]
http://portsmon.freebsd.org/portoverview.py?category=devel&portname=boehm-gc [freebsd.org]
Have you contacted the MAINTAINER regarding your concerns, or filed a PR? If no one complains then no one will know to fix things.
Re:FreeBSD SMP threads + boehm-gc = totally broken (Score:3, Insightful)
Re:Seriously: who cares? (Score:4, Insightful)
If it takes more than a few weeks to make the switch, you've already lost your benefit, as well as the potential of destabilizing your administration of those systems. Backups have be revisited, since the file tree will have changed. Network monitors will have to be updated, and tested for compatibility changes. Little one-off scripts to solve problem X or Y in a hurry will break. Admins will have to be trained, and will make more mistakes for a while until they find out what not to do. Unforeseen wrinkles will inevitably appear, Etc... Etc... Etc...
Worth it for Google? Not a chance!
Re:BSD Desktops (Score:3, Insightful)
Eivind (ex/inactive FreeBSD kernel developer).
Re:You don't have to be Kreskin (Score:4, Insightful)
Re:Seriously: who cares? (Score:3, Insightful)
That isn't the important point though; the important point raised is that CFS might be less good than promised and that there's the accusation that Linus picked CFS over other projects because Ingo is in the in-crowd. I don't follow lkml, so I wouldn't know whether this is true.