[Trilug-ontopic] Process priority

Jason Watts jsnonzzr at gmail.com
Wed May 7 19:41:38 EDT 2008


Dave, as much as I wouldent mind playing with that... I dont believe my
uppers will go for changing this... one of those... "I have been doing this
for 20 years... i know everyting and like the way things are".

I guess im just stuck with my io bottleneck... but thanks for the knowledge
that you could actually change that.

I will look into the nice command... I have actually ground up quite a bit
of the processor before.

On Wed, May 7, 2008 at 7:06 PM, David Black <dave at jamsoft.com> wrote:

> You may find using a different I/O scheduler will help.  Assuming a 2.6
> kernel, here's some background: http://www.linuxjournal.com/article/6931
>
> In recent 2.6 kernels the default I/O scheduler is cfq, and is
> selectable on a per-device basis.  Here's how to change it to (for
> instance) deadline for /dev/hda:
>
> # cd /sys/block/hda/queue
> # cat scheduler
> noop anticipatory deadline [cfq]
> # echo deadline > scheduler
> # cat scheduler
> noop anticipatory [deadline] cfq
>
> The 'best' I/O scheduler depends on the kind of load the machine is
> seeing.  Since there are currently only four to choose from, why not try
> your test with each?
>
> Dave
>
> 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)
> >
> > thanks,
> > Jason
> >
> >
> > ------------------------------------------------------------------------
>  >
> > _______________________________________________
> > Trilug-ontopic mailing list
> > Trilug-ontopic at trilug.org
> > http://www.trilug.org/mailman/listinfo/trilug-ontopic
> _______________________________________________
> Trilug-ontopic mailing list
> Trilug-ontopic at trilug.org
> http://www.trilug.org/mailman/listinfo/trilug-ontopic
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.trilug.org/pipermail/trilug-ontopic/attachments/20080507/5c4c67ab/attachment.htm 


More information about the Trilug-ontopic mailing list