Simon Josefsson <[EMAIL PROTECTED]> writes:

> Frequently when I want to run a long-running I/O-bound job (i.e.,
> rsync of the entire disk to a second disk) on a busy machine (i.e.,
> mail and web server), the load increases to ~10 from a normal <1.

Assuming you are running on Linux, this is because there are about 10
processes waiting for disk I/O.

> Using 'nice' doesn't help.  I don't know why this is, but I suspect
> the kernel scheduler is sub-optimal for disk-bound jobs.

You probably want to change the I/O scheduling class for the process.
This can be done with ionice (which is Linux specific, included in the
util-linux package at least on SL 10.1).

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to