[PATCH 0/4] sched/fair: Burstable CFS bandwidth controller

2021-02-02 Thread Huaixin Chang
This patchset is rebased upon v5.11-rc6. Previous archive: https://lore.kernel.org/lkml/20201217074620.58338-1-changhuai...@linux.alibaba.com/ The CFS bandwidth controller limits CPU requests of a task group to quota during each period. However, parallel workloads might be bursty so that they get

Re: [PATCH 0/4] sched/fair: Burstable CFS bandwidth controller

2020-12-17 Thread Benjamin Segall
The code for this looks fine, and the feature is something people do seem to ask for occasionally. I agree with peterz that using this generally means you lose any guarantees (which are already imperfect given CFS), but I suspect that cfsb is being used in overload anyways. The docs could use a

[PATCH 0/4] sched/fair: Burstable CFS bandwidth controller

2020-12-16 Thread Huaixin Chang
The CFS bandwidth controller limits CPU requests of a task group to quota during each period. However, parallel workloads might be bursty so that they get throttled. And they are latency sensitive at the same time so that throttling them is undesired. Scaling up period and quota allows greater