[PATCH] cgroup for disk quota

Daniel Lezcano daniel.lezcano at free.fr
Fri Feb 20 05:51:39 PST 2009


anqin wrote:
>> from the perspective of an application developer, this approach would
>> be perfect if we could have some IO bandwidth reservation mechanism
>> like disk.usage_io_usage (perhaps per disk...).
>>
>>     
>
> Indeed, that is my next job (exactly, current job).
>
> Although Paolo Valente has presented a solution of I/O bandwidth control
> (see http://lwn.net/Articles/309400/), I would more like to present
> bandwidth reservation mechanism, especially for data-intensive
> applications (e.g. hadoop cluster).
>
> This kind of applications take more account of the reservation of
> I/O bandwidth and netword bandwidth.
>   
Does this feature do what you want for network bandwidth ?

http://lwn.net/Articles/291161/

Option in the kernel:

Networking Support
  -> Networking options
    -> QoS and/or fair queueing
      -> Control Group Classifier

I didn't tested it yet ... :)


More information about the Containers mailing list