Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Linux Software

Improve Your GNU/Linux Experience With -mm Patches 40

An anonymous reader writes "Anyone interested in squeezing maximum performance out of their GNU/Linux operating system and willing to compile a new kernel will be interested in this KernelTrap article about Andrew Morton's -mm patchset. The patchset currently offers better stability and performance than the mainline 2.6.0-test kernel, as well as containing numerous functionality enhancements. Much of the additional functionality is described, as well as providing simple step by step installation instructions. Reading this article, one can certainly understand why Linux creator Linus Torvalds has chosen Andrew to soon become the 2.6 maintainer."
This discussion has been archived. No new comments can be posted.

Improve Your GNU/Linux Experience With -mm Patches

Comments Filter:
  • Oh yes! (Score:4, Interesting)

    by Kaladis Nefarian ( 655671 ) on Sunday September 21, 2003 @02:47PM (#7018989) Homepage
    I've been using the -mm patchset since 2.5.4x and have been very happy with it. Since it includes the Interactivity patches from Con Kolivas [kolivas.org] it kicks ass on your desktop, too. Even moreso than the 2.4.x-ck series of patches, which are intended for desktop use. Do note however that it is sometimes more experimental in nature than the mainline kernel, since new functionality is often tested out there first.

    If you know how to patch your kernel already, you don't need to read the article, get the patch for your kernel here: http://ftp.kernel.org/pub/linux/kernel/people/akpm /patches/2.6/ [kernel.org]
  • I suspect that when the big boys start shipping their 2.6 distros we'll have more to play with - do we wnat a pre-emptive kernel and so on.

    I run 2.6 a bit and I am looking forward to that day...as the 2.6 maintainer I suppose we can expect Mr Morton to be plugging most of his bits into the mainline.
    • Yes, most of his stuff will make it into mainline, and in fact most of the things which have been tested out in -mm have already made it into mainline (hence why the -mm patchset doesn't increase in size constantly). The more experimental things stay behind until they are acceptable, and then he pushes them to Linus. Works well :-)
  • Warning to XFS users (Score:5, Informative)

    by Kaladis Nefarian ( 655671 ) on Sunday September 21, 2003 @04:01PM (#7019421) Homepage
    2.6.0-test5-mm3 apparently has a bad snapshot of the XFS code in it. Here's the post from linux-kernel:

    From: Steve Lord <lord at sgi dot com>
    To: Walt H <waltabbyh at comcast dot net>
    Cc: Linux Kernel <linux-kernel at vger dot kernel dot org>,
    Linux XFS Mailing List <linux-xfs at oss dot sgi dot com>

    On Sun, 2003-09-21 at 13:08, Walt H wrote:
    >> Just a follow-up to my earlier post:
    >>
    >> I've put in the xfs code from mm2 into the mm3 tree and all files get
    >> copied and I can manually copy the fstab.backup file afterward. I
    >> realized that the "rebuilding directory inode 256" was the lost+found
    >> directory, which contained 4 old zero length files. That was the key.
    >> XFS under -mm2 doesn't care about old lost+found directories, while -mm3
    >> does. If I removed the source lost+found/ and retried rsync's with -mm3,
    >> it finishes fine and I can copy fstab files. Adding a bogus lost+found
    >> dir with any file in it at the source, and retrying the rsync will lead
    >> to a state where I can't overwrite the existing /etc/fstab file at the
    >> end. So it doesn't look like there's actually any filesystem corruption,
    >> just a strange bug. Hope that helps,
    >>
    >> -Walt
    >>

    If I am correct, test5-mm3 contains a bad version of the xfs code, there
    was a bug where the i_flags field was setup from an uninitialized stack
    variable. mm3 came out during the two days this was in Linus's tree.
    I had some very odd behavior with this code base, rm -r -f would try and
    cd into files and other bizzare things, files could appear to be
    immutable or append only or things they were not. This sounds like
    similar behavior you that you saw. It is fixed in the latest code Linus
    has.

    Steve
    So XFS users should probably go with -mm2 for now.
  • Better than 2.6?? (Score:3, Interesting)

    by smelroy ( 40796 ) on Sunday September 21, 2003 @08:49PM (#7021011) Homepage
    patchset currently offers better stability and performance than the mainline 2.6.0-test kernel So if these stability and performance patches are so great as the article says, why aren't they in the main kernel already? Does Linus just not like them??
    • Re:Better than 2.6?? (Score:1, Informative)

      by gears5665 ( 699068 )
      My guess is you've never worked on a distributed coding project with over 500 active developers who you've never met face to face. :-P

      Its very hard to keep track of all of the things people want you to add to the kernel and make certain that the things you're adding aren't breaking anything, etc. So the linux kernel development process has a number of branches where things get tested first(in addition to the stable branches of the 2.0,2.2,2.4 kernels that need to be maintained). Its been going like this
  • by Anonymous Coward on Sunday September 21, 2003 @10:54PM (#7021665)
    Also posted on OSNews:

    I've tested the 2.6.0-test5 kernel with Con Kolivas' interactivity patch. I've also tested Con's 2.4.21 and 2.4.22 patches and so far nothing can match the gentoo-sources-2.4.20-r5-aavm patch for speed. (I'm using Mandrake 9.1 and GCC 3.3.1, BTW.) Just watching the init scripts running at bootup and how long XFree86 and Mozilla Firebird take to launch, there's no comparison. Considering that this patch uses Con's performance enhancements, I'm not too confident that it can do any better. But maybe I'll test it out and see what it can do.

    If anyone is interested in a mini-howto on using the gentoo-sources patch, speak up and I'll try to whip something up.
    • Got a link to these patches?
      • by Anonymous Coward
        The latest gentoo-sources patch for 2.4.20 can be downloaded here [ibiblio.org]. Warning - really huge directory listing if you browse all the files.)
        Addon patches that update this one can be downloaded here [gentoo.org].

        1. Decide if you want the aavm or rmap VM. If you want aa, delete the files ending in .rmap (and vice versa)
        2. I followed what the ebuild script does and deleteted the patches starting with 1, 6 and 8.
        3. Apply the addon patches in the order that they're listed in the ebuild script.
        4. Run your normal make menuconfig/

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...