Re: Control IO related to a process

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



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 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

Saw the type fix. Just want to mention that the "bs=" can have a
substantial beneficial effect. By increasing the blocksize to a relative
large value, the number of system and I/O calls is reduced. This *may*
reduce the adverse effects that you see on overall system
responsiveness.

I often use 8192, 16384 and even 8Mb, a "cylinder size".

Give it a try. YMMV.

> 
> Hope this helps
> 
> --
> Regards
> Lorenzo Quatrini
> <snip sig stuff>

-- 
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux