[CentOS] Control IO related to a process

2008-09-02 Thread Joseph L. Casale
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. Thanks, jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/lis

Re: [CentOS] Control IO related to a process

2008-09-02 Thread Lorenzo Quatrini
Joseph L. Casale ha scritto: > 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. > As I was told few days ago you cold nice the whole process, eg. nice 19 if=/xxx of=/xxx bs=nnn

Re: [CentOS] Control IO related to a process

2008-09-02 Thread Lorenzo Quatrini
Lorenzo Quatrini ha scritto: > Joseph L. Casale ha scritto: >> 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. >> > > As I was told few days ago you cold nice the whole proces

Re: [CentOS] Control IO related to a process

2008-09-02 Thread Peter Kjellstrom
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

Re: [CentOS] Control IO related to a process

2008-09-02 Thread Sergej Kandyla
Lorenzo Quatrini wrote: Lorenzo Quatrini ha scritto: nice 19 dd if=/xxx of=/xxx bs=nnn ^^ probably - nice 19 dd if=/xxx of=/xxx bs=nnn + nice -n 19dd if=/xxx of=/xxx bs=nnn -- Best Wishes, PAIX-UANIC | SK3929-RIPE ___ CentOS ma

Re: [CentOS] Control IO related to a process

2008-09-02 Thread nate
Lorenzo Quatrini wrote: > As I was told few days ago you cold nice the whole process, eg. > > nice 19 if=/xxx of=/xxx bs=nnn > > This should give all the other process priority over dd nice doesn't really do anything with respect to I/O. The best way to control I/O in this manor is to physically

RE: [CentOS] Control IO related to a process

2008-09-02 Thread Joseph L. Casale
>nice doesn't really do anything with respect to I/O. Yes I tried it and it never made a diff from one end of the spectrum to the other:) >The best way to control I/O in this manor is to physically >isolate it from the rest of the system(be it on a different >controller connected to different dis

Re: [CentOS] Control IO related to a process

2008-09-02 Thread William L. Maltby
On Tue, 2008-09-02 at 16:28 +0200, Lorenzo Quatrini wrote: > Joseph L. Casale ha scritto: > > 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. > > > > As I was told few day

RE: [CentOS] Control IO related to a process

2008-09-02 Thread Ross S. W. Walker
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) i

RE: [CentOS] Control IO related to a process

2008-09-02 Thread Joseph L. Casale
>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. Appreciate that info, I have just been reading about the difference but cant say

Re: [CentOS] Control IO related to a process

2008-09-02 Thread MHR
On Tue, Sep 2, 2008 at 9:51 AM, Joseph L. Casale <[EMAIL PROTECTED]> wrote: > > Appreciate that info, I have just been reading about the difference but > cant say I understand in real life what the difference between deadline > versus cfq is. I will try changing it on the fly and running my tests.

Re: [CentOS] Control IO related to a process

2008-09-02 Thread Martyn Hare
On Tue, 2 Sep 2008 10:21:31 -0700 MHR <[EMAIL PROTECTED]> wrote: > On Tue, Sep 2, 2008 at 9:51 AM, Joseph L. Casale > <[EMAIL PROTECTED]> wrote: > > > > Appreciate that info, I have just been reading about the difference but > > cant say I understand in real life what the difference between deadli

RE: [CentOS] Control IO related to a process

2008-09-02 Thread Joseph L. Casale
>Here's a decent, short write up on them: >http://www.redhat.com/magazine/008jun05/features/schedulers/ Yup, I found that but I remember stumbling across this issue when reading about Xen in Todd Deshane's book and finally found the article I came across. http://www.linuxjournal.com/article/6931