lkml.org 
[lkml]   [2005]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Making nice niser for system hogging programs
Date
On Sun, 2 Oct 2005 12:26, Marc Perkel wrote:
> Just a thought -----
>
> Programs like cp -a /bigdir /backup and rsync usually bring the server
> to a crawl no matter how much "nice" you put on them. Is there any way
> to make "nice" smarter in that it limits io as well as processor usage?
> If cp and rsyne ran a little slower IO wise then everything else could
> run too.

The latest cfq io scheduler supports io nice levels. By default it links the
io nice levels to the cpu nice levels so if you use cfq and set your file
commands nice 19 they will use as little io priority as possible. Note this
only works on the read side but that makes a dramatic difference already.

Cheers
Con
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-10-02 05:13    [W:1.888 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site