[gentoo-user] Harddisk priority
Hey 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
Re: [gentoo-user] 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 pgpncUiwWKd7k.pgp Description: PGP signature
Re: [gentoo-user] 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
Re: [gentoo-user] 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