On 29/09/2010 14:12, Ian Chapman wrote:
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):
That sounds like it might be an answer. It's a shame there's no way to
specify this per-process, but this machine does have quite a bit of RAM
in it, so having this specified as a percentage of RAM might make it
larger than we'd want.
I'll have a play and see what effect this has.
Cheers
Simon.