bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for SIGSTOP/SIGCONT in nice?


From: Andreas Schwab
Subject: Re: Support for SIGSTOP/SIGCONT in nice?
Date: Wed, 29 Mar 2006 16:49:47 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Simon Josefsson <address@hidden> 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, address@hidden
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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]