All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Guittot <vincent.guittot@linaro.org>
To: "Feiran Zheng ." <fam.zheng@bytedance.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org,
	Steven Rostedt <rostedt@goodmis.org>,
	Ben Segall <bsegall@google.com>,
	Daniel Bristot de Oliveira <bristot@redhat.com>,
	Dietmar Eggemann <dietmar.eggemann@arm.com>,
	zhouchengming@bytedance.com, fam@euphon.net,
	Mel Gorman <mgorman@suse.de>, Ingo Molnar <mingo@redhat.com>,
	songmuchun@bytedance.com, Juri Lelli <juri.lelli@redhat.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Cristian Marussi <cristian.marussi@arm.com>
Subject: Re: [External] Re: [RFC PATCH] sched: Enable root level cgroup bandwidth control
Date: Mon, 23 May 2022 17:36:29 +0200	[thread overview]
Message-ID: <CAKfTPtB9gd5M6vvX+h3aZdOBVkWw0d+U5G5kUUtwsWuH_vanZA@mail.gmail.com> (raw)
In-Reply-To: <CAG+v+Kaa6Rfza_WewMw4K=vRTrt9UhRXp7G3XVi9cd_LvZkVEQ@mail.gmail.com>

On Wed, 18 May 2022 at 17:55, Feiran Zheng . <fam.zheng@bytedance.com> wrote:
>
> On Wed, May 18, 2022 at 3:31 PM Vincent Guittot
> <vincent.guittot@linaro.org> wrote:
> > there is a DTPM powercap provider in the latest kernel and a scmi
> > power capp provider is under review
>
>
> Thanks, so DTPM can be a good solution for ARM. We could also deal
> with AMD with acpi-cpufreq if powercap is not supported yet.
>
> That aside, I think cpu cgroup has a familiar and simple sysfs
> interface, and is more importantly hardware agnostic so it would be
> really nice to have.

cgroup is about allocating runtime to a group but you want to force a
system idle for power consideration so it looks like abusing the
interface

>
> Alternatively, I assume we can look into a device-independent idle
> injection mechanism?

Yes, idle injection is  device-independent and fit better with your needs

thermal framework already support cpu idle cooling device but I'm not
sure your case is only related to thermal so you might want a more
generic interface like powercap--> dtpm --> idle injection

>
> Fam

      reply	other threads:[~2022-05-23 15:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 10:08 [RFC PATCH] sched: Enable root level cgroup bandwidth control Fam Zheng
2022-05-18 10:21 ` Peter Zijlstra
2022-05-18 10:38   ` [External] " Feiran Zheng .
2022-05-18 12:03     ` Vincent Guittot
2022-05-18 12:55       ` Feiran Zheng .
2022-05-18 14:31         ` Vincent Guittot
2022-05-18 15:55           ` Feiran Zheng .
2022-05-23 15:36             ` Vincent Guittot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKfTPtB9gd5M6vvX+h3aZdOBVkWw0d+U5G5kUUtwsWuH_vanZA@mail.gmail.com \
    --to=vincent.guittot@linaro.org \
    --cc=bristot@redhat.com \
    --cc=bsegall@google.com \
    --cc=cristian.marussi@arm.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=dietmar.eggemann@arm.com \
    --cc=fam.zheng@bytedance.com \
    --cc=fam@euphon.net \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=songmuchun@bytedance.com \
    --cc=zhouchengming@bytedance.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.