Re: [PATCH v2] sched/fair: add burst to cgroup cpu bandwidth controller

From: Konstantin Khlebnikov
Date: Thu Feb 20 2020 - 03:52:49 EST


On 17/02/2020 22.56, Dave Chiluk wrote:
On Fri, Feb 14, 2020 at 12:55 PM <bsegall@xxxxxxxxxx> wrote:
I'm not sure that starting with full burst runtime is best, though it
definitely seems likely to be one of those things where sometimes it's
what you want and sometimes it's not.

We (Indeed) definitely want to start with a full burst bank in most
cases, as this would help with slow/throttled start-up times for our
Jitted and interpreter-based language applications. I agree that it
would be nice to have it be configurable.

Dave.
fyi. Unfortunately, this e-mail may be temporarily turned off for the
next few weeks, I apologize in advance for any bounced messages to me.


How much burst time you are planning to use?

On our side common setup should be like this:

cpu.cfs_period_us = 100ms
cpu.cfs_quota_us = 100ms * X
cpu.cfs_burst_us = clamp(400ms * X, 100ms, 100ms * NR_CPUS)

Where is X is a cpu power in cpus.