[TriLUG] file copy flushing memory

Rick DeNatale rick.denatale at gmail.com
Fri Dec 2 12:38:22 EST 2005


On 12/2/05, Joseph Mack NA3T <jmack at wm7d.net> wrote:
> On Fri, 2 Dec 2005, Timothy A. Chagnon wrote:
>
> > You might be able to just renice the process to a lower priority.
>
> that was my first attempt. Since the CPU usage/load average
> is already low, it had no effect at all.
>
> > Your idea of changing the memory that the copy process uses might work
> > too.  If you use dd instead of cp, you could set the block size (bs)
> > to a smaller value.
>
> tried dd with bs=default and still interactive processes
> (eg repainting a firefox screen, that would normally stay in
> memory when I changed to another screen), were slow
> (presumably the firefox screen had to be paged in from
> disk).
>
> Thanks for the suggestions
>
> Joe

You might also try playing around with the value of /proc/sys/vm/swappiness

--
Rick DeNatale

Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/



More information about the TriLUG mailing list