NFS Buffering

Ian Chapman packages at amiga-hardware.com
Wed Sep 29 13:12:21 UTC 2010


On 28/09/10 22:07, Simon Andrews wrote:

> Does anyone know how to either make this buffer smaller, or get rid of
> it all together so the scp can accruately report on its progress?

You could try adjusting /proc/sys/vm/dirty_ratio.

"Contains, as a percentage of total system memory, the number of pages 
at which a process which is generating disk writes will itself start 
writing out dirty data"

The default seems to be 20 on Fedora 13. For example to set it to 5% 
(which is the lowest it will go I believe):

echo 5 > /proc/sys/vm/dirty_ratio

This should effectively lower the size of the buffer, but note this will 
affect all file systems, not just NFS. However you may find that acceptable.


-- 
Ian Chapman.


More information about the users mailing list