Re: [PATCH RFC 0/3] sched/fair: cpu time reserves for cgroups

2016-05-16 Thread Peter Zijlstra
On Mon, May 16, 2016 at 03:22:22PM +0300, Konstantin Khlebnikov wrote: > >You forgot to explain why I should care about this. > > As I told this works as low-limit or high-limit which allow to > control cpu time distribution without hard limits and throttling. That's what it does; I get that. How

Re: [PATCH RFC 0/3] sched/fair: cpu time reserves for cgroups

2016-05-16 Thread Konstantin Khlebnikov
On 16.05.2016 14:18, Peter Zijlstra wrote: On Mon, May 16, 2016 at 12:36:19PM +0300, Konstantin Khlebnikov wrote: This feature allows to change cpu cgroup weight for a limited time. Cgroup interface: cpu.cfs_reserve_us - reserved time for each cpu.cfs_period_us cpu.cfs_reserve_shares - gr

Re: [PATCH RFC 0/3] sched/fair: cpu time reserves for cgroups

2016-05-16 Thread Peter Zijlstra
On Mon, May 16, 2016 at 12:36:19PM +0300, Konstantin Khlebnikov wrote: > This feature allows to change cpu cgroup weight for a limited time. > > Cgroup interface: > cpu.cfs_reserve_us - reserved time for each cpu.cfs_period_us > cpu.cfs_reserve_shares - group weight during reserved time > >

[PATCH RFC 0/3] sched/fair: cpu time reserves for cgroups

2016-05-16 Thread Konstantin Khlebnikov
This feature allows to change cpu cgroup weight for a limited time. Cgroup interface: cpu.cfs_reserve_us - reserved time for each cpu.cfs_period_us cpu.cfs_reserve_shares - group weight during reserved time While cfs group consumes reserved cpu time it has different weight, thus it gets dif