lkml.org 
[lkml]   [2008]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Disk schedulers
    Lukas Hejtmanek wrote:
    > [...]
    > If I'm scping file (about 500MB) from the network (which is faster than the
    > local disk), any process is totally unable to read anything from the local disk
    > till the scp finishes. It is not caused by low free memory, while scping
    > I have 500MB of free memory (not cached or buffered).

    If you want to take advantage of all that memory to buffer disk writes,
    so that the reads can proceed better, you might want to tweak your
    /proc/sys/vm/dirty_ratio amd /proc/sys/vm/dirty_background_ratio to more
    appropriate values. (maybe also dirty_writeback_centisecs and
    dirty_expire_centisecs)

    You can read all about those tunables in Documentation/filesystems/proc.txt.

    Just my 2 cents,

    --
    Paulo Marques - www.grupopie.com

    "Very funny Scotty. Now beam up my clothes."


    \
     
     \ /
      Last update: 2008-02-15 18:27    [W:4.790 / U:0.604 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site