All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Doug Smythies" <dsmythies@telus.net>
To: 'Srinivas Pandruvada' <srinivas.pandruvada@linux.intel.com>,
	"'Rafael J. Wysocki'" <rafael@kernel.org>
Cc: "'Rafael J. Wysocki'" <rjw@rjwysocki.net>,
	"'Mel Gorman'" <mgorman@techsingularity.net>,
	"'Rafael Wysocki'" <rafael.j.wysocki@intel.com>,
	"'Jörg Otte'" <jrg.otte@gmail.com>,
	"'Linux Kernel Mailing List'" <linux-kernel@vger.kernel.org>,
	"'Linux PM'" <linux-pm@vger.kernel.org>,
	"Doug Smythies" <dsmythies@telus.net>
Subject: RE: Performance of low-cpu utilisation benchmark regressed severely since 4.6
Date: Mon, 24 Apr 2017 07:24:31 -0700	[thread overview]
Message-ID: <000001d2bd06$7f29b960$7d7d2c20$@net> (raw)
In-Reply-To: 2Sh4dt8AXIBJV2Sh6dNtdh

On 2017.04.23 18:23 Srinivas Pandruvada wrote:
> On Mon, 2017-04-24 at 02:59 +0200, Rafael J. Wysocki wrote:
>> On Sun, Apr 23, 2017 at 5:31 PM, Doug Smythies <dsmythies@telus.net> wrote:

>>> It looks like the cost is mostly related to moving the load from
>>> one CPU to
>>> another and waiting for the new one to ramp up then.
> Last time when we analyzed Mel's result last year this was the
> conclusion. The problem was more apparent on systems with per core P-
> state.

?? I have never seen this particular use case before.
Unless I have looked the wrong thing, Mel's issue last year was a
different use case.

...[cut]...
 
>>>> We can do one more trick I forgot about.  Namely, if we are about
>>>> to increase
>>>> the P-state, we can jump to the average between the target and
>>>> the max
>>>> instead of just the target, like in the appended patch (on top of
>>>> linux-next).
>>>> 
>>>> That will make the P-state selection really aggressive, so costly
>>>> energetically,
>>>> but it shoud small jumps of the average load above 0 to case big
>>>> jumps of
>>>> the target P-state.
>>> I'm already seeing the energy costs of some of this stuff.
>>> 3050.2 Seconds.
>> Is this with or without reducing the sampling interval?

It was without reducing the sample interval.

So, it was the branch you referred us to the other day:

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next

with your patch (now deleted from this thread) applied.


...[cut]...

>> Anyway, your results are somewhat counter-intuitive.

>> Would it be possible to run this workload with the linux-next branch
>> and the schedutil governor and see if the patch at
>> https://patchwork.kernel.org/patch/9671829/ makes any difference?

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
Plus that patch is in progress.

... Doug

  parent reply	other threads:[~2017-04-24 14:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10  8:41 Performance of low-cpu utilisation benchmark regressed severely since 4.6 Mel Gorman
2017-04-10 20:51 ` Rafael J. Wysocki
2017-04-11 10:02   ` Mel Gorman
2017-04-21  0:52     ` Rafael J. Wysocki
2017-04-11 15:41   ` Doug Smythies
2017-04-11 16:42     ` Mel Gorman
2017-04-14 23:01     ` Doug Smythies
2017-04-19  8:15       ` Mel Gorman
2017-04-21  1:12         ` Rafael J. Wysocki
2017-04-20 14:55       ` Doug Smythies
2017-04-21  1:17         ` Rafael J. Wysocki
2017-04-22  6:29         ` Doug Smythies
2017-04-22 21:07           ` Rafael J. Wysocki
2017-04-24 10:01             ` Mel Gorman
2017-04-23 15:31           ` Doug Smythies
2017-04-24  0:59             ` Rafael J. Wysocki
2017-04-24  1:21               ` Srinivas Pandruvada
2017-04-24 14:24               ` Doug Smythies [this message]
2017-04-25  7:13               ` Doug Smythies
2017-04-25 21:26                 ` Rafael J. Wysocki
2017-04-25 21:03               ` Doug Smythies

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='000001d2bd06$7f29b960$7d7d2c20$@net' \
    --to=dsmythies@telus.net \
    --cc=jrg.otte@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mgorman@techsingularity.net \
    --cc=rafael.j.wysocki@intel.com \
    --cc=rafael@kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=srinivas.pandruvada@linux.intel.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.