lkml.org 
[lkml]   [2022]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [External] Re: [RFC PATCH] sched: Enable root level cgroup bandwidth control
    Adding daniel and cristian who works on some powercap implementation

    On Wed, 18 May 2022 at 14:56, Feiran Zheng . <fam.zheng@bytedance.com> wrote:
    >
    > 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/.

    there is a DTPM powercap provider in the latest kernel and a scmi
    power capp provider is under review
    >
    > I don't know the idle injection interface, can you please give more hints?

    idle injection can be used with cpuidle cooling device and there were
    some discussion to make a dtpm idle injection device but I think this
    has never been sent on mailing list


    >
    > I also plan to test uclamp, still need to learn more about that.
    >
    > Fam

    \
     
     \ /
      Last update: 2022-05-18 16:40    [W:2.322 / U:0.552 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site