I'm running a few processes in a cron-job, which makes the harddisk
quiet busy, like the emerge --sync command.
I know it's possible to nice them to use less CPU power, but is there a
similar approach for reading/writing to the disk?
Thanks
--
gentoo-user@lists.gentoo.org mailing list
06-08-2008, 09:01 AM
Michal 'vorner' Vaner
Harddisk priority
Hello
On Sun, Jun 08, 2008 at 10:53:12AM +0200, Thomas Pedersen wrote:
> I'm running a few processes in a cron-job, which makes the harddisk quiet
> busy, like the emerge --sync command.
> I know it's possible to nice them to use less CPU power, but is there a
> similar approach for reading/writing to the disk?
I heard of tool called ionice, which does exactly this. AFAIK it needs a
kernel patch.
--
BOFH Excuse #430:
Mouse has out-of-cheese-error
Michal 'vorner' Vaner
06-08-2008, 10:32 AM
Thomas Pedersen
Harddisk priority
Michal 'vorner' Vaner skrev:
Hello
On Sun, Jun 08, 2008 at 10:53:12AM +0200, Thomas Pedersen wrote:
I'm running a few processes in a cron-job, which makes the harddisk quiet
busy, like the emerge --sync command.
I know it's possible to nice them to use less CPU power, but is there a
similar approach for reading/writing to the disk?
I heard of tool called ionice, which does exactly this. AFAIK it needs a
kernel patch.
Knowing the name of what you're looking for sure helps...
ionice is already installed by the lastest util-linux
It seems to require the CFQ I/O scheduler, anyone know if it's a big
disadvantage to run this scheduler instead of the Anticipatory ???
...and does anyone know if this works in a default stable Gentoo
installation??
--
gentoo-user@lists.gentoo.org mailing list
06-08-2008, 10:47 AM
"Holger Hoffstaette"
Harddisk priority
On Sun, 08 Jun 2008 11:01:32 +0200, Michal 'vorner' Vaner wrote:
> Hello
>
> On Sun, Jun 08, 2008 at 10:53:12AM +0200, Thomas Pedersen wrote:
>> I'm running a few processes in a cron-job, which makes the harddisk
>> quiet busy, like the emerge --sync command. I know it's possible to nice
>> them to use less CPU power, but is there a similar approach for
>> reading/writing to the disk?
>
> I heard of tool called ionice, which does exactly this. AFAIK it needs a
> kernel patch.
ionice is part of util-linux and does not need a kernel patch.
-h
--
gentoo-user@lists.gentoo.org mailing list
06-08-2008, 01:37 PM
"Hemmann, Volker Armin"
Harddisk priority
On Sonntag, 8. Juni 2008, Thomas Pedersen wrote:
> Michal 'vorner' Vaner skrev:
> > Hello
> >
> > On Sun, Jun 08, 2008 at 10:53:12AM +0200, Thomas Pedersen wrote:
> >> I'm running a few processes in a cron-job, which makes the harddisk
> >> quiet busy, like the emerge --sync command.
> >> I know it's possible to nice them to use less CPU power, but is there a
> >> similar approach for reading/writing to the disk?
> >
> > I heard of tool called ionice, which does exactly this. AFAIK it needs a
> > kernel patch.
>
> Knowing the name of what you're looking for sure helps...
> ionice is already installed by the lastest util-linux
> It seems to require the CFQ I/O scheduler, anyone know if it's a big
> disadvantage to run this scheduler instead of the Anticipatory ???
> ...and does anyone know if this works in a default stable Gentoo
> installation??
from my experience CFQ is A LOT better than anticipatory on a desktop.
And why shouldn't it work?
--
Conclusions
In a straight-up fight, the Empire squashes the Federation like a bug. Even
with its numerical advantage removed, the Empire would still squash the
Federation like a bug. Accept it. -Michael Wong
--
gentoo-user@lists.gentoo.org mailing list