Slashdot Mirror


Linux 2.6.20-rc6 Kernel Performance

Michael writes "The Linux 2.6.20 kernel will feature KVM support, Playstation 3 support, and a variety of other improvements. With the Linux 2.6.20-rc6 kernel out the door, Phoronix has written a performance comparison of the Linux 2.6.20-rc6 kernel against the 2.6.19 and 2.6.19.2 kernels in a variety of benchmarks."

21 of 226 comments (clear)

  1. Great, now linux... by Anonymous Coward · · Score: 4, Funny

    The Sony Playstation 3 support in the 2.6.20 kernel is coming because of Sony engineers contributing the patches, which add machine-specific support for various items.
    Great, so now Sony is starting to put their rootkit^H^H^H^H^H^H^Hcode into the Linux kernel now...
  2. So wait.. by Anonymous Coward · · Score: 5, Insightful

    All it takes to get a /. front page link to my ad-word laden website is to create a few bar graphs showing that nothing has changed in the last few kernel revisions and add 2 paragraphs of filler text?

  3. Re:PS-3 by Anonymous Coward · · Score: 5, Insightful

    Why is anything in the kernel tree? Jeesh -- why don't you complain about the whole gamut of processors included. Just because it's supported doesn't mean you have to build for that arch. To each his own -- pick the proc(s) you need.

  4. What the... by Jethro · · Score: 4, Informative

    So the bottom line here is that they're almost exactly the same?

    --


    In the land of the blind, the one-eyed man is kinky.
  5. ThinkPad? by Anonymous Coward · · Score: 5, Funny

    Is this a joke?

    He's running kernel benchmarks on a laptop?

    Looks like half the things he was measuring were I/O bound? On a laptop?

    Phoronix.... more like Moronix.

  6. Re:PS-3 by jimstapleton · · Score: 5, Informative

    I think that means that it is bootable on a PS3. This kind of thing would only be included if it was compiled for a PS3, and as for "is it required", only if you want to run arbitrary distros on a PS3, which there are people who'd want to do that.

    --
    34486853790
    Connection too slow for X forwarding? Try "ssh -CX user@host"
  7. Re:PS-3 by qwertphobia · · Score: 5, Insightful

    Why is playstation support being included in the kernel? Is that really necessary?

    Yeah, don't forget why most folks start tinkering with Linux in the first place.
    • We love to tinker
    • We want closer access to the hardware
    • Somebody told us we can't, so that just makes us want to all the more
    All three apply to the PS3, as far as I'm concerned!
    --
    Never ask for directions from a two-headed tourist! -Big Bird
  8. Re:PS-3 by Ultra64 · · Score: 4, Insightful

    Why is playstation support being included in the kernel?

    Why is there x86 support in the kernel? why is there PowerPC support in the kernel?

    To make linux run on these systems. Duh.

  9. Article is vandalised by victim · · Score: 4, Funny

    I tried to read the article, but someone has vandalized it with double underlined words all over the place and annoying popups when your mouse slides over them. I closed the window.

  10. Somebody owes me two minutes. by Kadin2048 · · Score: 4, Informative
    So the bottom line here is that they're almost exactly the same?

    Yeah, that was a totally worthwhile read, no?

    Let me give everyone else the bottom line, and save you two or three minutes of your life, that you'll otherwise never get back:

    Sony Playstation 3 support and Kernel-based Virtual Machine support are among the exciting features in this release. From today's testing in our environment used and set of benchmarks, there were no definitive performance gains or losses seen throughout the set of tests.
    Now, back to our regularly scheduled Slashvertising....
    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
  11. Re:PS-3 by Bluesman · · Score: 5, Interesting

    I bought a PS-3 for the sole reason that I want to run Linux on it to use as a cheap, quiet server, and play with the Cell processor, which I think should be pretty fast for DSP and software radio applications.

    I'm pretty excited about the Cell, and the Playstation is an incredible value for a small form-factor computer that you can put next to your TV without having fan noise be a bother.

    Why not support it in the Linux kernel?

    --
    If moderation could change anything, it would be illegal.
  12. Re:Regarding Playstation Support by Anonymous Coward · · Score: 4, Informative

    7SPE's are accessible via Linux, as long as you use the Cell BBE SDK..

  13. Re:Regarding Playstation Support by drinkypoo · · Score: 4, Informative

    Does anyone know how much of the PS3's hardware is actually supported? When you run Linux on Cell, is it actually using all of the Cell cores, or is it just using the main (PPC-like) one?

    Cell as implemented in the PS3 has 8 cells. One is disabled (probably due to poor yields when demanding that all 8 be working.) In Linux, one is devoted to kernel tasks. That leaves you with six Cell SPEs to work with besides the PPC PPE.

    Seems like getting software to take advantage of it, would require changes both to the kernel, and also to GCC, in order to produce optimized binaries for it, not to mention various pieces of software themselves (rewriting for greater parallelizability).

    Well, yes and no. The real problem is that the SPEs are only good for vector data. Anything else requires that you underutilize them. For instance if you have just two numbers and not a whole matrix to multiply, it takes equally long - you just have one useful result and a bunch of useless results that you didn't want. So certain kinds of tasks will be easier to optimize on the SPEs than others. But in many cases you can probably get good results by just using libraries... for instance if libz and libm were accelerated, that would probably make a big difference. Likewise for widget libraries, sound processing libraries, 3d...

    3d brings us to the other point, which is that Linux runs in the PS3 "hypervisor" environment and you do not have unfettered access to the video hardware. I don't know precisely what you're not allowed to do that you can do in the commercial environment though; I've never seen a complete description of that.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  14. Re:Looks like it got worse!? by Enderandrew · · Score: 4, Informative

    Did you only skip to the last page? If you looked over every benchmark, the new kernel had improved performance in almost every test, save for two of the last three.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  15. Re:Isn't it just Microsoft-style "bloat"? by radarsat1 · · Score: 5, Informative

    You misunderstand the Linux kernel ethos. The idea is to include *everything* "in the kernel", but you only have to compile the parts that you want. That way there is a central place to track all changes and maintain compatibility and consistency between all parts of the kernel, without having to set an internal interfaces in stone.
    It's not "bloat" if it's only in the source. Simply put, you don't have to include PS3 support in your binary version. In other words, the only way it affects you is a few extra bytes to download when you want to compile it.

  16. Re:PS-3 by Bluesman · · Score: 4, Interesting

    1) A file/subversion server for my home network.
    2) It's not, yet. It's arriving today via UPS.

    And the main reason I bought it was not as a server, although that's certainly a benefit. I'm more interested in development on the Cell.

    --
    If moderation could change anything, it would be illegal.
  17. Re:Regarding Playstation Support by tlhIngan · · Score: 5, Informative

    The only thing that is limited is GPU support. Sony doesn't want you running pirated or homebrew games on it, so now graphics hardware acceleration (until someone writes an unofficial driver).
    I've played with PS3 linux. I can tell you, the hypervisor is just that. It virtualizes the PS3 hardware. About the only thing Linux has "raw" access to (which could also be virtualized) are the USB ports.

    The hard disk must be PS3-formatted before Linux will see it. Otherwise the hypervisor will not see it and make it available.

    BTW: /dev/sda - hard disk, if available (else this node is the following devices.) /dev/sdb - flash memory - configuration area storing the bootloader (kboot), and a few configuration flags /dev/sdc - Memory stick, I believe /dev/sdd - SD Card /dev/sde - CompactFlash card /dev/sr0 - blu-ray drive.

    The hypervisor is a lot like VMWare/Virtual PC/etc. I suspect the Power Processing Elements aren't even fully accessible and that the hypervisor is trapping everything and passing it on as appropriate, like virtualization software you run.

    BTW, the virtualization also causes some issues. When I bought a new hard disk for PS3 Linux, it had bad sectors on it (I returned it in the end), but instead of the usual IDE error messages (DriveError) or SCSI errors (with media sense keys), you get nothing, other than a generic "I/O Error reading sector XXXX", which causes the filesystem in use to suddenly go read-only (not sure if ext3 did that or if the hypervisor just disabled the ability to write to the disk - I never had many bad disks with ext3). Basically, you don't even know it's a bad sector as it isn't reported. I suspected it when I could get dd to consistently put the filesystem into read-only mode 16GB in. Another system helped prove the point.

    The video hardware is identical - it's virtualized the same way. It's not a driver issue - it's just that Sony has virtualized the video hardware away, and there's no direct access available. Heck, there aren't any WiFi devices accessible either - not for lack of a driver, but that Sony didn't make the WiFi hardware accessible.
  18. Even more WOW than Vista! by xoundmind · · Score: 4, Funny

    With that kind of performance increase, my Gentoo laptop is going to be screaming along after the release of 2.6.20.

    Ok...was that sarcastic enough? With this crowd, one can never quite know.

  19. Re:Why not? by steveha · · Score: 5, Informative

    There is support for hardware in the kernel that is so obscure that there are probably less than 100 people in the world still using it.

    I attended FreedomHEC in Seattle last year. Greg Kroah-Hartman gave a talk, and one point he made was that there are devices supported by the Linux kernel that are literally known to have only one or two users in the whole world; we are talking devices that are so obscure that only one or two people are known to even possess the hardware.

    The point he was making is: if you make some hardware, and you are wondering whether your device is too obscure for Linux to accept drivers for it... don't wonder, just submit the drivers.

    steveha

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
  20. Where does the hypervisor live? by Kadin2048 · · Score: 4, Interesting

    I've played with PS3 linux. I can tell you, the hypervisor is just that. It virtualizes the PS3 hardware. ...

    I don't know about anybody else, but I find this just conceptually fascinating. Where does the hypervisor run from, anyway? Is it in the machine's ROM, so that there's no way to prevent it from booting? (Without irreversible hardware modifications.)

    I was just wondering whether it's possible to get rid of it, and boot Linux on the bare metal, or whether the hypervisor is tied into the hardware so tightly, it's impossible to remove and install a new Domain 0 operating system.

    Getting Linux to run on the bare metal, 'below' the hypervisor, will be an interesting exercise in what I suspect may be a large part of the future of "unauthorized" computing. I don't think it'll be long before most consumer systems have something like that in place, so it'll be a good intellectual challenge, if nothing else, to see if it can be gotten around.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
  21. Same here by this+great+guy · · Score: 5, Interesting

    I also bought a PS3 two weeks ago primarily to develop on the Cell processor. So far, I have written a prototype application that runs 5x faster on the PS3's Cell than on the highest end Woodcrest Xeon at 3.0 GHz. When I am not coding on it, I am also using it as a Blu-ray player. Given all this, plus the fact that the PS3 is a next-gen console (though I don't plan to buy any game), I am probably one of the few to recognize that $500 is dirty cheap for such a polyvant device !