lkml.org 
[lkml]   [1997]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectdentries rule. [was: Re: Pros and cons of newer kernels]

    On Tue, 18 Nov 1997, Steven N. Hirsch wrote:

    > Have _you_ made such a comparison? I have found that /usr/man/man3 is a
    > great target for the test. Mine is > 70k and has ~2200 files in it.

    yep:

    'time mc+F10+Enter' in /usr/man/man3 (885 files) on a 32M 100 MHZ P5
    system, cached case, non-SMP kernel:

    2.0.31: 0.32 user 0.99 system 0:01.43 elapsed 91%CPU

    2.1.64: 0.28 user 0.11 system 0:00.48 elapsed 81%CPU

    ie. under 2.1, Midnight Commander starts up 3 times faster, time spent in
    the kernel is _ten times lower_, ie: dentries rule. The same is true for
    'pine' and basically all other applications i use and where interactive
    performance matters.

    -- mingo

    ps. kernel tracing is easy. Just apply the patch sent to linux-kernel a
    few days ago by Michael L. Galbraith, turn on 'kernel tracing' in
    the 'kernel hacking' options, compile+install the kernel, reboot, run
    'doit > trace.txt' and that was it.


    \
     
     \ /
      Last update: 2005-03-22 13:40    [W:4.874 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site