Messages in this thread | | | Date | Fri, 15 Feb 2008 17:24:52 +0000 | From | Paulo Marques <> | Subject | Re: 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."
| |