Messages in this thread | | | From | "Feiran Zheng ." <> | Date | Wed, 18 May 2022 13:55:51 +0100 | Subject | Re: [External] Re: [RFC PATCH] sched: Enable root level cgroup bandwidth control |
| |
On Wed, May 18, 2022 at 1:03 PM Vincent Guittot <vincent.guittot@linaro.org> wrote: > > On Wed, 18 May 2022 at 12:38, Feiran Zheng . <fam.zheng@bytedance.com> wrote: > > > > On Wed, May 18, 2022 at 11:21 AM Peter Zijlstra <peterz@infradead.org> wrote: > > > > > > On Wed, May 18, 2022 at 11:08:41AM +0100, Fam Zheng wrote: > > > > In the data center there sometimes comes a need to throttle down a > > > > server, > > > > > > Why? > > > > For economical reasons there can be over-provisioning in DC power > > supply (UPS capacity etc) because the utilization expectation of the > > racks is not maximum value. But the workload can be client driven, > > depending on how many users are online, and in the end the power > > supply may overload and trip itself. To avoid that, upon a threshold, > > some servers need to be brought down or throttled. The latter is > > obviously going to be much more smooth. > > This looks like thermal or power budget management. We have other ways > to do so with powercap or idle injection. Did you consider those > solutions ?
Hi Vincent,
I looked at powercap, and it seems Intel only? Any idea about AMD/ARM? There seems nothing for them under drivers/powercap/.
I don't know the idle injection interface, can you please give more hints?
I also plan to test uclamp, still need to learn more about that.
Fam
| |