[lkml]   [2007]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 3/3] readahead: scale max readahead size depending on memory size
    On Sun, 22 July 2007 18:44:03 +0200, Jens Axboe wrote:
    > >
    > > > I agree with the low point of 128k.
    > >
    > > Perhaps that should be enforced then, because currently a system with
    > > <64M will get less.
    > I think it should remain the low point.

    I believe this whole thing is fundamentally flawed. The perfect
    readahead size depends on the device in question. If we set a single
    system-wide value depending on memory size, it may easily be too small
    and too large at the same time. Think hard disk and SSD.

    It may make sense to have a _maximum_ readahead size which depends on
    memory size. But the preferred size (if there is enough RAM) should
    depend solely on the device, possibly as a function of the
    bandwidth * read latency product.


    Joern's library part 12:
    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: 2007-07-23 12:11    [W:0.038 / U:26.804 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site