[CentOS] Control IO related to a process

Tue Sep 2 16:20:02 UTC 2008
Ross S. W. Walker <RWalker at medallion.com>

Peter Kjellstrom wrote:
> On Tuesday 02 September 2008, Joseph L. Casale wrote:
> > Is there a way to nice the IO on a process such as dd?
> > If not, what could be a way to control the IO level of
> > such a process from bogging down a server to severely.
> 
> There is ionice (assuming CentOS-5) in the util-linux package. It's by no 
> means perfect but unlike nice it atleast tries to do what you want :-)

If that doesn't do it for you then maybe choosing a different
scheduler then cfq can help. Something like 'deadline' may
work better for the workload.

AFAIK ionice will only work with the cfq scheduler for now.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.