Re: [PATCH 18/23] io-controller: blkio_cgroup patches from Ryo totrack async bios.

From: Rik van Riel
Date: Tue Sep 01 2009 - 10:54:50 EST


Vivek Goyal wrote:
On Tue, Sep 01, 2009 at 04:00:04PM +0900, Ryo Tsuruta wrote:

I think that swap writeouts should be charged to the memory hogging
process, because the process consumes more resources and it should get
a penalty.

A process requesting memory gets IO penalty?

There is no easy answer here.

On the one hand, you want to charge the process that uses
the resources.

On the other hand, if a lower resource use / higher priority
process tries to free up some of those resources, it should
not have its IO requests penalized (and get slowed down)
because of something the first process did...

--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/