[Trilug-ontopic] Process priority
Elliot Peele
elliot at bentlogic.net
Thu May 8 12:57:36 EDT 2008
On Wed, May 07, 2008 at 06:09:35PM -0400, Jason Watts wrote:
> so... i discovered (it was quite obvious actually) that to run an rsync and
> an un-tar command at the same time on the same set of drives that it really
> causes the system to lag.
>
> My question is for the next time I need to do something like that. how
> would I set the priority of the un-tar to a lower priority... that way it is
> only using what resources are left over that aren't being used? if that's
> really possible (my bottleneck was actually the spindle speeds of the
> drives)
You probably want to take a look at ionice[1] as nice does not affect IO
scheduling. ionice is included in most distributions in the util-linux
package.
Elliot
[1] http://linux.die.net/man/1/ionice
--
Elliot Peele
elliot at bentlogic.net
More information about the Trilug-ontopic
mailing list