[lkml]   [2001]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [resent PATCH] Re: very slow parallel read performance
    On Sun, 26 Aug 2001, Marc A. Lehmann wrote:
    > On Sat, Aug 25, 2001 at 10:33:36PM +0100, Alan Cox <> wrote:
    > > > exactly this is a point: my disk can do 5mb/s with almost random seeks,
    > > > and linux indeed reads 5mb/s from it. but the userpsace process doing
    > > > read() only ever sees 2mb/s because the kernel throes away all the nice
    > > > pages.
    > >
    > > Which means the VM in the relevant kernel is probably crap or your working
    > > set exceeds ram.
    > The relevant kernel is linux (all 2.4 versions I tested), and no,
    > working set exceeding ram should never result in such excessive
    > thrashing. So yes, the VM in the kernel is crap (in this particular
    > case, namely high-volume fileserving) ;)

    This is because the readahead windows are too large so the
    kernel ends up evicting data before its needed and has to
    re-read the data.

    Also see
    in the Linux-MM wiki.

    This problem should be relatively easy to fix for 2.4.


    IA64: a worthy successor to i860.

    Send all your spam to (spam digging piggy)

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:58    [W:0.022 / U:142.252 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site