Linux Kernel Benchmarks, 2.6.24-2.6.29
Ashmash writes "Phoronix has posted benchmarks of the Linux kernel from versions 2.6.24 to 2.6.29. They ran a number of desktop benchmarks from the Phoronix Test Suite on each of the six kernels on an Ubuntu host with an Intel Core 2 processor. The points they make with the new Linux 2.6.29 kernel are 1. there's a regression with 7-Zip compression 2. OpenSSL has improved significantly 3. a regression drastically impacting the SQLite performance has been fixed 4. the OpenMP GraphicsMagick performance is phenomenally better with this new kernel. In all of their other tests, the kernel performance was the roughly the same."
I find it difficult to believe that the 2x gain in OpenSSL performance for 4K RSA private key operations is solely due to this new kernel. Such operations are, at the core, just CPU-intensive modular exponentiations. Unless the kernel has become significantly better at making use of several cores (or processors) to parallelize such operations, I don't see how that can happen.
Comparison to OS X purely at the kernel level ? I'd prefer to see real-world benchmarks (a contentious area in itself..) across a range of operating systems, using identical hardware, but it would only spark endless debate that the methodology favoured one OS over another. Personally, I use all 3 and each has its pros and cons : such a benchmark would have to make a pretty compelling case for me to abandon any of my currently installed operating systems.
wake me up when you have an article that has some useful information that can drive my imagination or
i can't get no ...
no no no
I'm sure there are performance gains in the new kernal, but is Phoronix even considered a credible source for benchmarks?
I remember one where they benchmarked the new opteron to compare operating systems but used different compiler versions.
Looked at a Java benchmark recently and they were using different JDK versions on different OS's.
I really am not sure if they know what they are doing. Can't you wait till anandtech, tom's hardware or some better site posts results?
1. So I should just stick with gzip or bzip2?
2. It went from 31.47 "signs per second" to 62.77. So the older kernel take one second less than the new one? News!
3. Sorry, this is the part where I started nodding off.
4. zzzzzzzz
Wait, huh! Sorry, other than those four points every graph was within like .00001 signs or seconds or iterations of each other.
Surely it is the year of the linux desktop!
I'd like to see these results compared to a Windows machine.
Sure, it may have gone from working perfectly in 2.6.21 to not producing a beep in 2.6.28, but look how fast it has become! Priorities! :-P
Neat. They benchmarked a bunch of stuff and some real changes obviously took place. I can't help but be comforted by their conclusion (paraphrased): "Stuff changed."
How about telling me why they changed.
Why did SQLite performance bomb for 3 releases?
There are reasons for these things. You could test and find them out. You could read the mailing lists and see if someone else posted explanations (others must have noticed the SQLite thing).
Heck, look at this list of new features and make guesses. I'd prefer "the newly added HyperScheduler v3.732 is probably the source of this" than the article's "things got faster, neat."
That's why I love LWN and the kernel page so much. They post why things changed, or at least reasonable theories.
Comment forecast: Bits of genius surrounded by a sea of mediocrity.
in almost all benchmarks, 2.6.29 did the same or a tiny bit worse than the others. Then in imagemagic operations, sometimes 2x faster? what mem / operation combination caused this?
THL phish sticks
I think you're missing an article.
Besides, how do you expect a different binary to be fair? At least in this test the only variable was the kernel, whereas on OSX you have the kernel, application specific code, and the compiler to consider. They can't exactly copy the ELF binaries and libraries straight over from Linux.
The Phoronix benchmarking is intended to provide you the answers as to why. It is to highlight the stuff that has happened.
If performance management is going on within the kernel community, then this shouldn't come up as a shock. The whole purpose of independent testing is that you see something that looks out of place, investigate and resolve. A perfect example is http://www.phoronix.com/scan.php?page=article&item=intel_atom_four&num=1 phoronix article, that showed that SuSE was trailing. This causes this http://lizards.opensuse.org/2008/12/16/comments-on-phoronix-benchmarking-opensuse-111/ discussion.
The question and answer don't need to be provided by the same voice. It is when you have someone questioning, and then someone answering, then you have a discussion, then finally you have progress.
To make it worse, there is virtually no reason that any number of the organizations supporting the leading developers can't invest a small amount of infrastructure and run the tests themselves. Phoronix Test Suite is absolutely trivial to use. The amount of "software development in autopilot" is frightening, this applies equally to Open Source as it does to Proprietary.
Stop replying to stories where TFA is a click through.
Boycott web designer retardation!
A lot of new code (and old code reformed) was added to try and speed up the boot process, I know that for sure. I saw some of the work Arjan did in the bootfast tree-
fastboot: Asynchronous function calls to speed up kernel boot
fastboot: make scsi probes asynchronous
fastboot: make the libata port scan asynchronous
fastboot: make ACPI bus drivers probe asynchronous
fastboot: Make libata initialization even more async
I don't know for sure that all of this made it upstream for this release but I know some of it did. I think you have to pass the "fastboot" kernel line for it, however. So check your kernel configs and update your grubs!
Or LILOs, if you're weird...
Oh one more thing.. I think the introduction of the asynchronous probing and various other things are going to start a whole new wave of bootfast tricks. For example, before it tries mounting the root file system and continuing on, it waits for device probing to finish. A comment above that code states "Waiting for device probing to finish... This is known to cause long delays in boots, for example this can take 5 seconds for a laptop's touchpad to initialize". The comment was written by Arjan, who obviously has intention to speed things up. So I think what might happen is instead of waiting for EVERYTHING to finish probing (Even if it is async), it'll just wait for the filesystem to become available (Perhaps try after IDE probes, then try after SCSI probes, then after USB, and so on.)
I also remember there was a patch that didn't go upstream (I don't think so anyways) that added a function to be able to initialize things later on (After the boot was done). You changed the initialize() or whatever the function name was to initialize_later(), and then after you're done booting, whenever you want, you do a command and it then initializes anything you did the initialize_later() to. So you would be able to load up the webcam initialization or whatever else you know you don't use right when you boot.
Well, where I'm going with this is that I would like to see them incorporate more of that stuff into the kernel. More boot hacks, more power saving, more efficiency. These things are only going to improve.
They can't exactly copy the ELF binaries and libraries straight over from Linux
They can to *BSD or Solaris though, and that would make for an interesting comparison. Last time I saw anyone do this was a few years ago, and FreeBSD was around 5-10% faster running Linux binaries than Linux was, although I wouldn't be surprised if this has changed now.
I am TheRaven on Soylent News
Where they compare 5-year-old 32-bit Solaris x86 GCC to new 64-bit Linux GCC, then crow about how fast Linux is when compared to Solaris:
Our build of Ubuntu 9.04 was depending upon the Linux 2.6.28 kernel, GNOME 2.25.5, X Server 1.6.0 RC 1, GCC 4.3.3, and we opted to use the EXT4 file-system. OpenSolaris 2008.11 is based upon Solaris Nevada Build 101b, uses the 5.11 kernel with X Server 1.3, GCC 3.4.3, and the ZFS file-system.
Heaven forbid that Phoronix would benchmark an up-to-date version of Sun Studio compiler on Solaris. No, they use an old version of GCC.
As I said, Moronix.
FreeBSD was around 5-10% faster running Linux binaries than Linux was, although I wouldn't be surprised if this has changed now.
I would, actually. If history is any indication, the operating system gets slower as time goes on. Note that I actually have oprofiled some of these areas, and it's frequently due to things like processor ACPI enablement (processor sleeping) and security improvements like stack randomization.
It was only on after reading the comments at Phoronix that I noticed the benchmarks used 64-bit (x86-64) kernels, not x86 as I had initially assumed. Maybe the use of kernel and compiler code that gets less testing than x86 is related to the odd performance quirks Phoronix found?