ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Amit Kucheria <amit.kucheria@linaro.org>
To: Preeti U Murthy <preeti@linux.vnet.ibm.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
	"ksummit-discuss@lists.linuxfoundation.org"
	<ksummit-discuss@lists.linuxfoundation.org>,
	Ingo Molnar <mingo@kernel.org>
Subject: Re: [Ksummit-discuss] Energy-aware Scheduling Workshop
Date: Wed, 14 May 2014 15:51:41 +0530	[thread overview]
Message-ID: <CAP245DUsYPk4gheGsfQzpRUacbbqk4KMZ7=r-=XkOw8=yfJYkw@mail.gmail.com> (raw)
In-Reply-To: <53733EE4.4080605@linux.vnet.ibm.com>

On Wed, May 14, 2014 at 3:31 PM, Preeti U Murthy
<preeti@linux.vnet.ibm.com> wrote:
> Hi Morten,
>
> Thank you for initiating this.
>
> On 05/12/2014 09:02 PM, Morten Rasmussen wrote:
>> Hi,
>>
>> Last year's Energy-Aware Scheduling workshop [1,2] was a good
>> opportunity for interested parties to discuss some of the open issues in
>> this area face to face. While work is still ongoing on many of the
>> topics that were discussed, it might be worth having workshop again this
>> year to follow up, revise the plans if necessary, and discuss topics
>> that were not covered last year.
>>
>> Before submitting a workshop proposal to the Ksummit PC I would like to
>> probe the interest. IMO, it is important that we have scheduler
>> maintainers present.
>>
>> Workshop topic proposals:
>>
>> Test cases
>> Use-cases for high-end phones (which some of us care about) consist of
>> rather complex software stacks which are not suitable for quick patch
>> testing [3]. While we can't avoid testing using the full software stack
>> in the end, it would be useful to have configurable micro-benchmarks for
>> initial testing and to reproduce specific scheduling patterns from the
>> full use-case for debugging purposes.
>>
>> Energy Evaluation
>> A hot topic last year. We need a way to evaluate energy-awareness
>> patches. Work has started on an idle state analysis tool [4], but we are
>> not there yet.
>>
>
> An interesting sub topic pertaining to evaluation would be deciding the
> target residency of idle states. How do we know if the target residency
> set for the different idle states is set optimally? The cpuidle governor
> bases its decisions of the idle state to enter into based on numbers
> such as these. If it is too stringent we would be hampering power savings.
>
> We could run different benchmarks with different degree of utilization.
> And observe how much of the idle time is spent in different idle states.
> If it is too less in a particular idle state we can up the target
> residency of that idle state to begin with. This is static setting and
> we hard code the target residency like now. Will a dynamic setting of
> metrics like these help us in any way?

Preeti,

We've created a tool called idlestat[1] that traces the cpuidle and
cpufreq code paths and then creates a report about how often each
state was reached, average residency, etc.

We're currently experimenting with a patch to output how often we
mispredict the idle state and are seeing some good corelation with
actual power measurements. Dynamic residency might be a solution, but
first we need to understand how bad the problem is. That is what this
tool is designed to solve. It also helps provide a qualitative feel
for kernel behaviour without requiring HW hacking to measure various
power rails.

Daniel and I'd be interested in talking about idlestat and share our
findings about using it to study change in kernel behaviour due to
certain patchsets.

Regards,
Amit
[1] https://git.linaro.org/power/idlestat.git

  reply	other threads:[~2014-05-14 10:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 15:32 Morten Rasmussen
2014-05-13 23:14 ` Rafael J. Wysocki
2014-05-14 10:01 ` Preeti U Murthy
2014-05-14 10:21   ` Amit Kucheria [this message]
2014-05-14 10:37   ` Lorenzo Pieralisi
2014-05-15 10:01     ` Preeti U Murthy
2014-05-28  3:35 Du, Yuyang

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='CAP245DUsYPk4gheGsfQzpRUacbbqk4KMZ7=r-=XkOw8=yfJYkw@mail.gmail.com' \
    --to=amit.kucheria@linaro.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=preeti@linux.vnet.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox