Slashdot Mirror


Fork the Linux Kernel?

Joe Barr writes "Fork the kernel? Are you crazy? A blog entry on InfoWorld.com urged the Linux community to fork the kernel into desktop and server versions because, according to the author, all Linus Torvalds cares about is big iron. Sorry, but that's both wrong and stupid."

12 of 455 comments (clear)

  1. Meh by paullb · · Score: 5, Funny

    I'd rather spoon it

  2. Keep the code together; make it configurable by Kartoffel · · Score: 5, Insightful


    # Forking isn't necessary.

    options BIGIRON
    #options DESKTOP

  3. Re:Well that's the beauty of Linux... by MightyMartian · · Score: 5, Informative

    Or, alternatively, you could just custom compile the fucking thing to take out the "big iron" if that's what you want. I frequently custom compile kernels, particularly when I'm putting Linux on older hardware.

    There's nothing quite like the grand proclamations of the idiots.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  4. One size rarely fits all by Creamsickle · · Score: 5, Interesting

    People who advocate this aren't necessarily stupid, just ignorant. The Linux kernel's flexibility is being taken to the limit, and people are forgetting the easiest way to improve performance for their particular rig: Customize your kernel! You can add all the code in the universe, and then you pick and choose the particular things you need or don't need! Say I run a 486/25 with 16 MB RAM as an IP Masq router. The hard drive is an old IDE with 600 megs of space. I have two network cards, and that's about it. Do I need SCSI support? Do I need to support joysticks, X, Pentiums, AX.25, or anything else? No! I compile a kernel specifically to run the IP Masq, and run it well. My P100 laptop, on the other hand needs a bit more. I use it for packet, so I need AX.25. It uses PCMCIA, so PCMCIA support needs to go in. I use Seamonkey and the GIMP, so I need graphics. But, my HD is not SCSI. I yank out SCSI. My CPU is subject to the 0xf00f bug, so that gets included. I brew a custom kernel, and boot time is a lot shorter. My big-rig is a AMD X2. I need just about everything, as I have a Nvidia card for Quake4; a SCSI scanner; and a connection to my Packet base station. I optimize compilation for the higher-end computers. I plan on getting a Mac Pro from Apple and putting SuSE on it. Again, by optimizing the options I optimize my system. Get the point? If you want a once-size-fits-all kernel, use Windows. If you want a kernel which can be adjusted for your particular and peculiar environment, use Linux and customize your kernel!

    --
    On the 0th day, God created C
  5. I don't see the need by downix · · Score: 5, Informative

    The only difference between a "server" build and a "desktop" build, kernel-wise, is in which components/modules you compile. Functionally, there is no difference. Same goes for Windows, the "desktop" and "server" kernels are fundimentally the same, it is only what you put on top of them that differentiates the two.

    Someone here does not understand the difference between a kernel and an OS.

    --
    Karma Whoring for Fun and Profit.
  6. I saw it on an Internet blog! by n6kuy · · Score: 5, Funny

    It's probably a serious concern!

    --
    If you disagree with me on social issues, then it's pretty clear that you are a narrow-minded bigot.
  7. Re:No you can not by 644bd346996 · · Score: 5, Insightful

    Have you got any examples where there is significant overhead that can't be removed with a make config but could be removed with a specific, less scalable algorithm that isn't available in the kernel source?

    I'm pretty sure your comment is mostly BS. The vanilla kernel source includes a lot of configuration options for embedded systems. Low on RAM? Turn off CONFIG_BASE_FULL to use several smaller, slower data structures. Don't have swap space? Turn off things like CONFIG_SHMEM. Using uClibc? For now, you might as well throw out CONFIG_FUTEX as well.

  8. Re:Why is it stupid? by 644bd346996 · · Score: 5, Insightful

    Which algorithms are bottlenecking your desktop? Is it the I/O scheduler? You can swap between one of four choices, at runtime.
    Is it the CPU scheduler? If so, you're a liar. Nobody had produced repeatable benchmarks that show a significant shortcoming in CFS for desktop and gaming use.
    Is the memory allocator really bad for your workload? Try using the new SLUB allocator, instead of the older SLAB allocator.
    Is the system not as responsive as you want? Turn on forced preemption and set the tick speed to 1000Hz.

  9. Re:No you can not by Lumpy · · Score: 5, Funny

    Really? I better tell the guys down in R&D that the 1.2 meg linux install we use on the embedded box devices does not exist and cant work.

    Thanks for letting us know before shipping this thing it would have been embarassing that the linux would explode and become huge upon use.

    --
    Do not look at laser with remaining good eye.
  10. Re:No you can not by recoiledsnake · · Score: 5, Informative

    Your examples totally miss the point. The CPU scheduler is a *lot* more crucial to desktop performance than swap space, memory config etc. etc.

    Have you even been keeping up with the whole CPU scheduler in the kernel issue that the article mentions?

    The whole point is that the CPU scheduler is NOT modular and you cannot change its behavior by much by changing kernel options. Con(along with soemone else) made patches to make it modular, calling it plugsched, but it was nixed from getting into the kernel by Linus who said something on the lines of "The scheduler is not something you see frequent changes in."

    Con wanted it because desktop users can easily plug his desktop-centric scheduler into the kernel. For a lot more details read here .

    --
    This space for rent.
  11. The Linux Desktop already crawls.. by vdboor · · Score: 5, Informative

    Call me stupid, but the Linux desktop already crawls.

    There used to be a time I could download 5 shared files, burn a CD and watch a DivX movie at the same time. That was with Slackware 9.0 and Linux 2.4.20.

    Nowadays it takes my browser 2 seconds to open a *tab*, and another 2 seconds per website. This happened because there was continuous I/O activity in the background. After the I/O completed everything was back to normal. Bottom line: every serious I/O activity causes the desktop to crawl.

    It's still the same machine (AMD 1800 and DMA-enabled) but interactivity my Linux system had is unmatched by the recent kernels. The problem is too many commercial developers care about server performance alone, or test desktop performance with their quad-core raid array configuration. Patches get rejected too when they affect server performance.

    I'm honestly not surprised people want a change here, or even start suggesting a fork.

    --
    The best way to accelerate a windows server is by 9.81 m/s2 ;-)
  12. Re:No you can not by MarcoAtWork · · Score: 5, Insightful

    except by doing things that amount to hard-coded nice levels. All of the meaningful performance


    meaningful according to whom? and desktop users couldn't care less about 'hard coded nice levels' if it means their 3d games and/or X apps work better: yes, I know this is anathema to the linux developers where only super perfect code supposedly should go in, however if this supposedly super perfect code doesn't meet desktop users' needs as well as hacks, well, I'd all be for giving desktop users as many hacks as they want/need (as long as this could be changed via either a pluggable architecture or a difference in make config).

    As much as Linus has done a great job into making linux a great server side OS, if he's not willing to make compromises to make the desktop faster (because either it's too 'hacky' or it will cause issues for big iron, which is what pays the devs' bills) maybe it IS time to fork under the stewardship of somebody with the desktop users' needs more at heart. If companies like, say, NVIDIA or Adobe paid a kernel developer to make linux better on the desktop this is what would probably happen IMHO.

    I don't think a fork would be the end of the world, fork it and let the best survive: if a year from now we have a 'server linux' and a 'desktop linux' kernels, so be it, if instead the 'desktop linux' project flounders due to minimal speed improvements and so on, well, so be it as well. The vast majority of the patches/changes would apply to both the same way, so I don't see this causing issues and slowing development, if at all maybe people could spend less time flaming on LKML and more time writing code.
    --
    -- the cake is a lie