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

Rik van Riel riel at redhat.com
Tue Sep 1 07:53:42 PDT 2009


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.


More information about the Containers mailing list