Re: Disk priorities...

From: Erik Tews (erik.tews@gmx.net)
Date: Mon Oct 02 2000 - 10:43:55 EST


On Sun, Oct 01, 2000 at 12:45:47PM -0700, LA Walsh wrote:
> Forgive me if this has been asked before, but has there ever been any
> thought of having a 'nice' value for disk accesses?. I was on a
> server with 4 CPU's but only 2 SCSI disks. Many times I'll see 4 processes
> on disk wait, 3 of them at a cpu-nice of 19 while the foreground processes
> get bogged down by the lower priority processes due to disk contention.
>
> I've also thought before a simple 'netnice' would be good as well -- real
> nice and easy to use, lets see:
> netnice
> disknice
> cpunice
> nice <number>| -p <cpunice> , -d <disknice>, -n <netnice, -a <all nice>

Would really be great. I got a similar problem here. My notebook has only got
one slow ide-disk. And sometimes, mpg123 cannot read fast enough, because some
programms like netscape a comming out of the swap, or apt-get causes very much
IO.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:29 EST