Stories
Slash Boxes
Comments

News for nerds, stuff that matters

New Kernel 2.4 Development Branch (-mjc)

Posted by michael on Tue Jan 01, 2002 10:51 AM
from the wild-cherry-jello-seems-to-be-the-best dept.
Ivo writes: "kerneltrap is reporting: Michael Cohen announced to the lkml his intention to begin a new 2.4 development tree. The first release of his -mjc branch includes a number of performance enhancing patches, including Robert Love's preemptible kernel patch, Rick van Riel's reverse mapping patch and George Anzinger's real time scheduler patch. Michael says of this patch, "I feel that there's need for a rapidly developing '-ac [like]' tree, and so, here we go. Feel free to test it""
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • this sounds really cool but (Score:2, Insightful)

    by kraada (300650) on Tuesday January 01 2002, @10:54AM (#2770295)
    but i'm afraid it will really confuse a lot of people out there . . . we have the 2.2 kernel tree, 2.4 kernel tree and 2.5 kernel tree already. now throwing in 2.4-mjc? yes extra performance enhancing stuff will be cool, but man are a lot of people going to be confused . . .
  • 2.4? 2.5? (Score:3, Insightful)

    by Bert64 (520050) <bert AT slashdot DOT firenzee DOT com> on Tuesday January 01 2002, @11:08AM (#2770313) Homepage
    Isn`t 2.5 where the "fast paced" development is supposed to take place? anyway, i`m all for performance enhancing patches.. i run some fairly old hardware here for money saving purposes. The kpreempt patch seems to work well on x86, but it would be nice to see it ported to the alpha.. Is -mjc going to keep up with the performance related patches added to 2.5, and backport them?
    • Re:2.4? 2.5? by GregWebb (Score:2) Tuesday January 01 2002, @11:19AM
    • Re:2.4? 2.5? (Score:5, Interesting)

      by Zog (12506) <slashdot&brian,users,wreck,org> on Tuesday January 01 2002, @11:29AM (#2770359) Homepage
      Is -mjc going to keep up with the performance related patches added to 2.5, and backport them?


      Most of the performace patches (pre-emptible, etc) are just patches to the current kernels that the stable kernel's maintainer hasn't accepted, for one reason or another. Chances are, they will go straight into 2.5 so that they can be tested and improved upon.

      The reason for -mjc is to allow people to use the performance patches without having to worry about conflicts between the patches, applying them, etc - it looks just like a normal kernel package, except with -mjc at the end.

      The -ac series follows the same guidelines - it tends to have slightly fancier features, newer drivers, etc. Every once in a while, when the stable kernel's maintainer decides that the -ac series is stable enough, a lot of the patches that went into -ac are put into the stable series, to get all the new drivers in there.

      I doubt that will happen the same way for -mjc, since the patches are more along the lines of getting every little bit of performance possible, instead of having a wide testing ground for new drivers, vm's, etc.
      [ Parent ]
      • 1 reply beneath your current threshold.
  • Real world impact? (Score:2)

    by thing12 (45050) <thing12@gmail.com> on Tuesday January 01 2002, @11:10AM (#2770317) Homepage
    So how much gain in performance (or apparent performance) should one expect after applying this combined patch? Are the performance gains only applicable under special circumstances? Are they focused more on desktop apps than server?
    • Re:Real world impact? by NumberSyx (Score:2) Tuesday January 01 2002, @11:34AM
    • Re:Real world impact? (Score:5, Informative)

      by blakestah (91866) <blakestah@gmail.com> on Tuesday January 01 2002, @11:48AM (#2770397) Homepage
      So how much gain in performance (or apparent performance) should one expect after applying this combined patch? Are the performance gains only applicable under special circumstances? Are they focused more on desktop apps than server?

      I doubt you will see ANY performance enhancements with this patch - in fact, under most circumstances, performance will be worse.

      The patch MOSTLY addresses a need to have shorter latency responses under linux. So the real benefit will be seen if you, say, run xmms, browse the web on a java intensive site, and do a make -j10 bzImage at the same time. On most machines this will cause xmms to stutter a little - either an audio skip or the text in the scrolling windows will stop and start. With the patch you can expect perfect xmms performance under broader circumstances.

      This has the most significant implications for audio and video under linux - things that require short latencies to perform properly. This is questionably the most needed area of improvement for the linux kernel for desktop use.

      However, if you time kernel compiles or run lmbench, you'll probably see slightly (but not hugely) worse results. You can expect that changes to address these issues will be incorporated in mainline kernels eventually, although not necessarily in the form that these patches take. Maybe - it will be interesting to see it sort out.
      [ Parent ]
  • FreeLinux, OpenLinux, NetLinux? (Score:1, Insightful)

    by sporty (27564) on Tuesday January 01 2002, @11:17AM (#2770332) Homepage
    Nothing is wrong with fragmentation. It might be amusing and good to see 3 Linux's on the scene. Hope the reasons for splitting would be more.. friendly than not. After all, has anyone really criticized the existance of 5 BSDs? Net,Open,Free,BSD/OS and Darwin. At least binary compatability would remain, no?

    Ok, so maybe I'm just being devil's advocate. :)
  • by 1stflight (48795) on Tuesday January 01 2002, @11:18AM (#2770335)
    Wouldn't this be percieved as the "fragmenting" of Linux? I thought the newest stuff was to be included in the 2.5.x series ?
  • news? (Score:1)

    by orz (88387) on Tuesday January 01 2002, @11:20AM (#2770339)
    Okay, someone applied some patches to 2.4 and named the result after himself. This is front pages slashdot news, why?
    • 1 reply beneath your current threshold.
  • New kernel tree akin to ac tree. (Score:4, Insightful)

    by Zapman (2662) on Tuesday January 01 2002, @11:22AM (#2770345)
    Read what the maintainer says on the slashdot article:

    "I feel that there's need for a rapidly developing '-ac [like]' tree, and so, here we go." --Michael

    The -ac tree has moved on to the 2.5 world. He feels the need that -ac filled in the 2.4 world is still there, so he's doing something about it. This really isn't any more fragmentation than there was beforehand.

    The -ac tree existed as a 2.4 (and 2.2 before it, and 2.0 before that) testbed (sort of a development kernel in the stable kernel code) that saw a decent bit of testing from developers. People could submit patches to Alan, and they had a much better chance of getting included. After they'd been tested for a few versions, and cleaned up some, and whatnot, the patch would go to Linus for inclusion in 2.4. Michael is offering his services to do the same job now that -ac has moved on to 2.5.
  • Rick van Riel (Score:1)

    by Ctrl-Z (28806) <tim@NosPaM.timcoleman.com> on Tuesday January 01 2002, @11:42AM (#2770383) Homepage Journal

    ... Rick van Riel's reverse mapping patch ...

    I just thought I should mention that it should be Rik van Riel, not Rick.
  • PalmOS -mj branch (Score:1, Funny)

    by Anonymous Coward on Tuesday January 01 2002, @12:17PM (#2770445)
    I knew it had to happen one day! First the PalmOS has the -mj branch [jordanedition.com], and now linux does, too. True, we have the -ac branch and palm doesn't, but I'm still waiting for the Palm -cs branch [claudiaschiffer.com] to be ported over to linux.
  • by wizkid (13692) on Tuesday January 01 2002, @01:25PM (#2770640) Homepage
    The linux kernel already has 3 trees. Adding more trees will fragment the kernel development even more. The 2.2, 2.4 and 2.5 trees are enough. By adding more trees, kernel development will be slowed way to much. Lets concentrate on standardizing, not fragmenting the kernel. The different tracks for this new tree aughta be incorporated into the 2.5 tree. If anything works out to be a big improvement, then back-port it into the 2.4 tree.
  • by acumen (179458) on Tuesday January 01 2002, @02:11PM (#2770846)
    It's more like a merge of experimental advanced kernel features, but much more faster and rapidly maintained than the dying FOLK project.

    Basically it could be a good idea maintaining (read *actively* maintaining) more diverse ports of the kernel tree, though it's more coatic than just having a stable and development branches.

    The problematic side of this stable-expermintal tree is locating the cause of crashes when instabilty strikes. When the patches are seperated, it's easier to isolate the cause.
  • by Courageous (228506) on Tuesday January 01 2002, @02:32PM (#2770949)

    It's funny. With all these naysayers who say they only want ONE branch, you have to begin to wonder what the benefits of open source are really supposed to be to them. The ability to grab source and create an improvement is the heart and soul of open source. If you don't like that, do yourself a favor and run windows. Or something.

    C//
  • The *real* question is: (Score:2, Funny)

    by soupforare (542403) <soupforare@gmail.com> on Tuesday January 01 2002, @02:35PM (#2770959)
    Will this new dev patch increase performance when playing Linux Quake on my 486DX/2??
  • by KidSock (150684) on Tuesday January 01 2002, @10:12PM (#2772387)
    a stable Kernel is because the're not stable or they're not a performace enhancement. Robert Love's "preemptable kernel patch" will crash an SMP system with certain drivers. If you have a UP system or you know your hardware is kosher then you'll be OK. I don't think it's for production systems. It's more of a desktop performace enhancement. As for Rik's reverse mapping VM code, the last graphs from Safemode (it's a person), showed Andrea's VM still performed better. In fact, Rik's code still has problems on low memory systems (caused a lockup in one of Safemode's tests). But of course it's good to see these patches getting some visability. They might prove to be useful after some time.
  • Avoid the rush! (Score:1)

    by kubrick (27291) on Wednesday January 02 2002, @12:16AM (#2772638)
    <SARCASM>Act now! Avoid the rush! You too can distribute a personalized Linux kernel -- with your OWN INITIALS tacked on to the end!</SARCASM>

    What with the recently defunct (?) 2.4.x-ac, the new 2.4.y-mjc, the merged 2.5.z-dj, and also the 2.a.b-aa and others (not forgetting the 'official' kernel), this is getting a bit confusing!

    For something like this (-mjc) I'd most likely find it easier to track the particular patches I need for my system, as someone else is unlikely to replicate my exact setup. It's the same reason I compile my kernel in the first place, instead of blindly accepting the distro default.

    Is the likely usage of this branch worth the effort of maintaining it? I guess that's up to the maintainer to decide...
  • Re:Great, more fragmentation (Score:2, Insightful)

    by entrox (266621) <slashdot@entrox. o r g> on Tuesday January 01 2002, @11:14AM (#2770326) Homepage
    Sure, but what if you have a G400 and want 3D acceleration? Bad luck, it (currently) doesn't work without CVS XF86.
    What if you want to hear something on your rear speakers with an emu10k1? Bad luck, it isn't supported.
    In fact, the drivers for "desktop" hardware like soundcards, 3d accelerators and such are HORRIBLE in FreeBSD when comparing with Linux. FreeBSD may be the better server OS, but it surely is an inferior desktop OS.
    So please stop with this "awww.. Linux is sooo shitty when compared to the almighty FreeBSD" crap.
    [ Parent ]
    • Re:Great, more fragmentation (Score:4, Offtopic)

      by erat (2665) on Tuesday January 01 2002, @11:30AM (#2770361)
      Sure, the free sound drivers could be better (remember, though, that OSS from 4-Front is available for FreeBSD, so this isn't a monumental issue), 3D support isn't fantastic, and quality SMP support isn't going to hit FreeBSD until probably version 5.0.

      Regardless, your comment about FreeBSD being an inferior desktop OS is simply, undeniably, completely wrong. The same open source and free software available for Linux (with VERY few exceptions) is available for FreeBSD. If you're a gamer then 3D and sound may be an issue for you, but call a spade a spade, "desktop box" != "game box". When I think of desktop machines, I think of productivity, machines that help you get lots of important stuff done easily and quickly. When I think of game machines I think of Playstation 2s. Sorry, but I would rather spend $300 on a PS2 than dedicate my $2,000 PC to gaming (the PS2 would probably run better anyway).

      Yes, I am another Linux --> FreeBSD convert. My machine does run better with FreeBSD, Mozilla actually works efficiently even with debugging stuff compiled in, and I get LOTS less zombie processes and frozen apps, etc. now that I've switched over. And yes, my Linux machine at work runs the exact same software and window manager as my machine at home (except for Mozilla, of course).

      Both OSes have their plusses and minuses. Linux is more ubiquitous, but I still think FreeBSD has eeked ahead in some areas. Not all -- Linux will be in the lead for quite some time, I'm sure -- but some.

      Rather than poo poo FreeBSD based on game stuff, why not try it as an actual desktop OS?
      [ Parent ]
    • Re:Great, more fragmentation by rtaylor (Score:2) Tuesday January 01 2002, @01:22PM
    • Re:Great, more fragmentation by entrox (Score:2) Tuesday January 01 2002, @11:27AM
    • 2 replies beneath your current threshold.
  • by CodeRed (5676) on Tuesday January 01 2002, @11:17AM (#2770333) Homepage Journal
    I'm glad you like FreeBSD, but you essentially get that with any distribution as long as you stick with the kernel/apps they include.

    Debian, for instance, lets you apt-get to what WORKS.

    But hey, I don't need XFS when I have EXT3, and I didn't really need EXT3 to begin with, it's just nice to have.

    FreeBSD is a distribution. It has a kernel and native apps. Thats essentially what you get with ANY Linux distrib. If you go off course with FreeBSD, you encounter the same problem that you do with Linux.
    [ Parent ]
  • by SumDeusExMachina (318037) on Tuesday January 01 2002, @11:26AM (#2770352) Homepage
    the reason linux takes a while to parse /proc for top is because everything in /proc is a file, which is 'the Unix way'.

    Gee, I'd hate to see good design get in the way of tradition. And Linux is incredibly standards compliant. Take system-independent includes for example: in Linux, they are placed in include/linux. Why? Well, presumably so you can't make portable code that works on a non-Linux platform. But I'm sure you already knew that.

    [ Parent ]
  • by the bluebrain (443451) on Tuesday January 01 2002, @11:32AM (#2770366)
    I agree that it's confusing - but I believe that this issue is one of the strengths of open source. Or look at it this way: corporations are going to need People-Who-Know-What-They're-Doing-(TM) if they want to use open source *nix anyway, and such things as kernel forks don't have any impact on that.
    [ Parent ]
  • Re:Great, more fragmentation (Score:3, Insightful)

    by Ami Ganguli (921) on Tuesday January 01 2002, @11:47AM (#2770393)
    Hmmm... I wonder if I can run XFS without recompiling... Nope, looks like I'll have to upgrade the kernel. But wait! Do I use the -ac kernel with its new VM or do I use the main branch with the most "standard" stuff? Oh crap, looks like 2.4.whatever had a really bad bug by default, and they didn't fix it until 2.4.later. Shit, I don't have the time for this.

    I'm glad you're happy with BSD, but really you could have had the same thing by ignoring the various development trees and optional components and sticking with a distribution you like. The nice people at Debian, Red Hat, Mandrake, etc. will happily test everything for you and make sure it works. Each of the Linux distributions fulfills the same role for the end user as one of the BSDs.

    [ Parent ]
  • by Pengo (28814) on Tuesday January 01 2002, @11:50AM (#2770402) Journal

    I basically went through the same crap to get it working for my firewall. Recompiling kernel on freebsd was not any easier. If you use what works without having to mess with it.. it will be fine. One thing, if you like BSD you might want to try Debian. It's a bit older but everything seems to always work. I use it at work and we have finally standardized all our servers to debian in our server farm (14 machines). Anyway, freebsd is ok.. but I believe that the it being a better server than a linux machine is a myth. The reality is it's probably a little less tempting to mess with so it doesn't have to many problems generally.

    Without solid java support FreeBSD is unfortunately disqualified as even an option for me.
    [ Parent ]
  • Re:Great, more fragmentation (Score:2, Insightful)

    by Fweeky (41046) <tom.hurst@clara.net> on Tuesday January 01 2002, @11:50AM (#2770403) Homepage
    I think the development model behind the *BSD's is one of the major plus points over Linux.

    Having a group of people control the direction the system takes, and able to commit to the CVS tree, comment on other changes etc, and having every change to the system for the past decade documented goes a long way towards a clean well balanced system, something having a single hacker deciding on everything doesn't provide.

    The system of having -RELEASE, -STABLE and -CURRENT branches also makes for well defined areas where new bleeding edge stuff can be put in and tested far away from development systems (-CURRENT), but where changes can be (if possible) merged back into the stable-but-being-changed-carefully branch (-STABLE), and where users who want to stick to known good configs can just hold onto -RELEASE.

    The Linux model, on the other hand, relies on two branches - release (even numbers) and development (odd), where the development branches tend to disappear completely when they're most needed (damn our new VM system sucks, quick, put a new one in!).

    Maybe once Linux gains the maturity of the BSD's it will have a development model which is more, um, stable.
    [ Parent ]
  • good for you (Score:1)

    by Ender Ryan (79406) on Tuesday January 01 2002, @11:50AM (#2770406) Journal
    So, since you were too stupid to keep up with Kernel development in Linux, and were also too stupid to realize that you can simply apt-get everything with Debian or download RPM's with RedHat, which is essentially what you would do with *BSD, you switched to FreeBSD...

    Glad you let us all know, this is such valuable information.

    [ Parent ]
    • dumbass by Ender Ryan (Score:2) Tuesday January 01 2002, @06:35PM
    • 1 reply beneath your current threshold.
  • Re:Great, more fragmentation (Score:2, Interesting)

    by Zog (12506) <slashdot&brian,users,wreck,org> on Tuesday January 01 2002, @12:22PM (#2770467) Homepage
    This isn't meant to be a flame, but more of a wondering-if-you're-here-to-troll-or-not kind of thing, so please don't take this to heart or anything.

    RTM. Seriously. The -ac trees and -mjc trees have their purpose well-documented. For example, if you search the lkml for 'Cohen', his post about the branch comes up, and (in it and a follow-up) he makes it clear what he's doing: bringing a bunch of patches together so you don't have to worry about all of that stuff and can just go to one place. He also states that he wants to keep his branch as close to the stable branch as possible.

    About what to do when there's a bug - just save your config (.config - it's in the docs - you did read those, right?) and download/recompile while you're eating dinner or sleeping, copy the new one into place, add a couple of lines into lilo.conf, run lilo, and reboot. Simple as that.

    If you're just looking for simplicity and not losing much time, don't upgrade to XFS or worry about which VM you want, but it seems like you want all the exotic new stuff to be already completed, stabilized, and integrated into the kernel. Without having to look at the different branches to see if they've already got it in place. Good luck, you'll need it.

    Believe it or not, FreeBSD is also imperfect - it has bugs from time to time (which you said you didn't like about Linux), and (unlikely) security holes (which Linux has also). The fixing process is the same. As long as you just stuck with a stable branch and didn't go for the not-yet-accepted stuff.

    And for the rest of the post, that fits the guidelines for troll pretty well (A does this thing better/a different way than B, so A is better than B, etc).

    Anyway, please don't take any of this personally, I just get annoyed easily by a lot of stuff like this.
    [ Parent ]
  • by Anonymous Coward on Tuesday January 01 2002, @12:27PM (#2770477)
    games... games need performance...

    No, games need developers, and linux doesn't have a game developer community to speak of, so you're hosed either way.

    [ Parent ]
    • 1 reply beneath your current threshold.
  • Re:Great, more fragmentation (Score:3, Offtopic)

    by Mark Bainter (2222) on Tuesday January 01 2002, @12:39PM (#2770490)
    [snip] Just the other night I decided to dump Linux off my home machine all together and went with FreeBSD. [snip] I have absolutely no regrets.

    Great! I'm glad you found an OS that makes you productive and happy. However, those things which you list do not make *BSD a better OS. They make it a different OS. *BSD appeals to a different type of user, imo. Ignoring the masses on both sides and looking at the core userbase that is. Some of us like having flexibility and choice, and we don't mind putting in the time to know all about our system. When that's the case little things like a lot of kernel versions just aren't a big deal.

    Linux is not for everybody. Neither is *BSD. Each person has to decide for themselves which system fits their needs and then use it. All this OS bigotry is just ridiculous.

    I'm all for proselytizing, and cheering the benefits. The problem (for me at least) comes in when people have this underlying tone of trying to declare one OS better than the other. Isn't it enough that you use it? (speaking generally here, not specifically to the previous poster) Or do you need the masses to agree with you before your choice can be validated?

    [ Parent ]
  • by barneyfoo (80862) on Tuesday January 01 2002, @12:40PM (#2770491)
    You're complaining that you have to upgrade the kernel to run XFS?

    Uhm, excuse me, but what the fuck?

    At least linux gives you the option of running with XFS, because last I checked that feature wasn't available in freebsd land. Next you'll be complaining that you can't have the NSA's enhanced security features without rebooting your 200 day uptimed computers. Sorry FreeBSDers, there are some things more important than uptime.
    [ Parent ]
    • 1 reply beneath your current threshold.
  • by ewieling (90662) <.gro.sdronf. .ta. .cire.> on Tuesday January 01 2002, @12:43PM (#2770497)
    Ah yes. FreeBSD, where they tell you to 'cvsup' and 'make world' to fix just about any problem that you encounter (yes, even the RELEASE version). And instead of the Linux 'kernel of the week' you get the 'FreeBSD cvs of the hour'. No thanks. FreeBSD just changes too fast for my taste.
    [ Parent ]
  • Re:Great, more fragmentation (Score:2, Insightful)

    by LunaticLeo (3949) on Tuesday January 01 2002, @01:58PM (#2770794) Homepage
    DISCLAIMER: I do this cuz I like flamage. FreeBSD is a decent and valuable OS.

    But I love to hear whining lamers from the *BSD world bitch about linux kernel short commings. Gee, couldn't get XFS running by inmod'ing the binary into a fresh kernel. Well XFS on FreeBSD will save the day? Ooops, no XFS on FreeBSD you say, well that solves your problem. Less features makes it much harder to screw up. No one fooled you, No one advertised otherwise; The misconception comes from rejects from the proprietary OS world where closed-source REQUIRES binary kernel driver compatability.

    BTW, bitching about binary compatability of kernel modules, in a open source OS; PuhLeeaase! The linux kernel, of all open source kernels, doesn't give two shits about binary kernel module compatability.

    no more retarded Linux VM

    Oh lord of all mercy! Commetary from the below 100 crowd, Joy. Linux's VM did have serious suckage, news at 11. But these things become harder when you actually have FEATURES. Like fine grained locking of all the major sub-systems. FreeBSD 4.x is languishing in the BKL world of Linux 2.x. Wow what superior technology! Look at how SMP-ng in the upcoming FreeBSD 5.0 is lagging behind schedule. That is because it is HARD, not EASY. So yeah the FreeBSD VM is well balanced, but it's maintainer admits it's short commings, and BSD as a whole lags far behind Linux in many other areas (like your beloved XFS filesystem).

    I'd like to state once more for the non-moron *BSD crowd, that the *BSDs are great and I hope competiion between *BSDs and Linux is as productive as the Gnome v. KDE competiion seems to have been.

    [ Parent ]
  • by idiotnot (302133) <sean@757.org> on Tuesday January 01 2002, @02:03PM (#2770813) Journal
    The truth of your conclusions is based upon the truth of your underlying assumptions. Here, yours, AC, are wrong. I'd venture to say that most desktop systems are used for things *other* than games. Personally, I use mine probably 75% of the time on other activities (internet, business apps, music, pr0n, etc. etc).

    For those activities, stability is important. There's nothing more annoying than Netscape locking up Win98 when I'm doing something as simple as sending an IM. Linux *never* does that.

    As far as whether or not this series is a good idea, I don't know. For me, choosing to use the preemptable patch was simple; I play MP3's while compiling code. A better idea might be to distribute the patches with the latest kernel versions as part of the tarball, and let people decide whether or not they want to use them. If there's concern that a particular patch will lessen stability, put it in the documentation.
    [ Parent ]
  • by lameluke (449727) <[carll] [at] [online.no]> on Tuesday January 01 2002, @05:56PM (#2771647) Homepage
    Linus has made some comments relevant to this;
    http://marc.theaimsgroup.com/?l=linux-kernel&m=1 00 948142802025&w=2

    Here's a tiny summary;
    - competition keeps people honest.
    - Different taste.
    - Different goals.
    - And imperfect patch retention.
    [ Parent ]
  • by vrmlknight (309019) on Tuesday January 01 2002, @10:57PM (#2772465) Homepage
    "Redhat I got off an ftp and installed for nothing.... and billy did not get one red cent from it"

    well neither did Redhat
    [ Parent ]
  • 15 replies beneath your current threshold.