Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1405187

Re: [RFC PATCH] Increase in idle power with schedutil

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] Increase in idle power with schedutil
Date 2016-05-23 11:30 +0200
Message-ID <rBUlr-427-1@gated-at.bofh.it> (permalink)
References (1 earlier) <rAh2N-7md-1@gated-at.bofh.it> <rAuCL-7Be-51@gated-at.bofh.it> <rByXF-86Q-31@gated-at.bofh.it> <rByXF-86Q-29@gated-at.bofh.it> <rBItX-5fu-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, May 22, 2016 at 01:42:52PM -0700, Steve Muckle wrote:

> > So does it actually matter what the frequency is when you idle? Isn't
> > the whole thing clock gated anyway?
> > 
> > Because this seems to generate contradictory requirements, on the one
> > hand we want to stay idle as long as possible while on the other hand
> > you seem to want to clock down while idle, which requires not being
> > idle.
> > 
> > If it matters; should not your idle state muck explicitly set/restore
> > frequency?
> 
> AFAIK this is very platform dependent. Some will waste more power than
> others when a CPU idles above fmin due to things like resource (bus
> bandwidth, shared cache freq etc) voting.

Oh agreed, completely platform dependent. 'Luckily' all this cpuidle is
already very platform dependent.

> It is also true that there is power spent going to fmin (and then
> perhaps restoring the frequency when idle ends) which will be in part a
> function of how slow the frequency change operation is on that platform.

Agreed.

> I think Daniel Lezcano (added) was exploring the idea of having cpuidle
> drivers take the expected idle duration and potentially communicate to
> cpufreq to reduce the frequency depending on a platform-specific
> cost/benefit analysis.

Right; that's along the lines I was thinking. If the idle guestimate and
the idle QoS both allow (ie. it wins on power and doesn't violate
wake-up latency) muck with DVSF on the idle path.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC PATCH] Increase in idle power with schedutil Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> - 2016-05-18 15:00 +0200
  [RFC PATCH] cpufreq: powernv: Add fast_switch callback Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> - 2016-05-18 15:00 +0200
    Re: [RFC PATCH] cpufreq: powernv: Add fast_switch callback "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-18 23:30 +0200
  Re: [RFC PATCH] Increase in idle power with schedutil "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-18 23:20 +0200
    Re: [RFC PATCH] Increase in idle power with schedutil Peter Zijlstra <peterz@infradead.org> - 2016-05-19 13:50 +0200
      Re: [RFC PATCH] Increase in idle power with schedutil "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-19 16:40 +0200
      Re: [RFC PATCH] Increase in idle power with schedutil Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> - 2016-05-20 15:10 +0200
      Re: [RFC PATCH] Increase in idle power with schedutil Peter Zijlstra <peterz@infradead.org> - 2016-05-22 12:40 +0200
        Re: [RFC PATCH] Increase in idle power with schedutil Steve Muckle <steve.muckle@linaro.org> - 2016-05-22 22:50 +0200
          Re: [RFC PATCH] Increase in idle power with schedutil Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-05-23 11:00 +0200
            Re: [RFC PATCH] Increase in idle power with schedutil Peter Zijlstra <peterz@infradead.org> - 2016-05-23 11:30 +0200
          Re: [RFC PATCH] Increase in idle power with schedutil Peter Zijlstra <peterz@infradead.org> - 2016-05-23 11:30 +0200

csiph-web