lkml.org 
[lkml]   [2001]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: /proc/sys/vm/(max|min)-readahead effect????
    Roy Sigurd Karlsbakk wrote:
    >
    > hi all
    >
    > I've just upgraded to 2.4.16 to get /proc/sys/vm/(max|min)-readahead
    > available. I've got this idea...
    >
    > If lots of files (some hundered) are read simultaously, I waste all the
    > i/o time in seeks. However, if I increase the readahead, it'll read more
    > data at a time, and end up with seeking a lot less.
    >
    > The harddrive I'm testing this with, is a cheap 20G IDE drive.

    /proc/sys/vm/*-readhead is a no-op for IDE. It doesn't do
    anything. You must use

    echo file_readahead:100 > /proc/ide/ide0/hda/settings

    to set the readhead to 100 pages (409600 bytes).

    -
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:13    [W:0.042 / U:154.396 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site