mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <bitbucket@online.de>
To: Len Brown <lenb@kernel.org>
Cc: Mel Gorman <mgorman@suse.de>, Len Brown <len.brown@intel.com>,
	athorlton@sgi.com, Rik van Riel <riel@redhat.com>,
	chegu_vinod@hp.com, Greg KH <gregkh@linuxfoundation.org>,
	"H. Peter Anvin" <hpa@linux.intel.com>,
	LKML <linux-kernel@vger.kernel.org>,
	stable@vger.kernel.org
Subject: Re: Idle power fix regresses ebizzy performance (was 3.12-stable backport of NUMA balancing patches)
Date: Tue, 14 Jan 2014 09:24:16 +0100	[thread overview]
Message-ID: <1389687856.5951.14.camel@marge.simpson.net> (raw)
In-Reply-To: <1389686473.5951.11.camel@marge.simpson.net>

On Tue, 2014-01-14 at 09:01 +0100, Mike Galbraith wrote: 
> On Tue, 2014-01-14 at 02:31 -0500, Len Brown wrote: 
> > > This is a false alarm.
> > 
> > Thanks for the follow-up, Mel.
> > 
> > Agreed, it makes no sense for ebizzy measure 'throughput', when a
> > library debug bottleneck
> > prevents it from scaling past 3% CPU utilization.
> > 
> > Still, the broken configuration did find a difference due to the
> > addition of CLFLUSH on this box.
> > It makes me wonder if we will find issues on workloads that may depend
> > on the latency
> > of idle entry/exit, or perhaps sensitivity to the state of the cache
> > line containing thread_info->flags.
> > 
> > If somebody runs into such a workload, please try changing this 1 line
> > of intel_idle.c to limit
> > the CLFLUSH to C-states deeper than C1E, and let me know what you see.
> > 
> > - if (this_cpu_has(X86_FEATURE_CLFLUSH_MONITOR))
> > + if ((eax > 1) && this_cpu_has(X86_FEATURE_CLFLUSH_MONITOR))
> >           clflush((void *)&current_thread_info()->flags);
> 
> Hm, seems any high frequency switcher scheduling cross-core (pipe-test,
> or maybe a tbench pair) should show the cost to an affected box.

Oh yeah.. :) unless of course it's a Q6600 (poke poke).


      reply	other threads:[~2014-01-14  8:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1389103248-17617-1-git-send-email-mgorman@suse.de>
     [not found] ` <20140107141715.GA32491@kroah.com>
     [not found]   ` <20140107185440.GA7844@kroah.com>
     [not found]     ` <20140107203012.GA27046@suse.de>
     [not found]       ` <20140108104340.GC27046@suse.de>
2014-01-08 13:48         ` Mel Gorman
2014-01-09  4:17           ` Greg KH
2014-01-09 20:07           ` Len Brown
2014-01-10 10:14             ` Mel Gorman
     [not found]             ` <CAJvTdK=vJxYgtLOYZZPrwGNgYQrFVeCq18RwzEfh5n_tZyeP9g@mail.gmail.com>
2014-01-10 10:26               ` Mel Gorman
2014-01-10 14:38                 ` Mel Gorman
2014-01-13 19:24           ` Mel Gorman
2014-01-13 21:12             ` Greg KH
2014-01-14  7:31             ` Len Brown
2014-01-14  8:01               ` Mike Galbraith
2014-01-14  8:24                 ` Mike Galbraith [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=1389687856.5951.14.camel@marge.simpson.net \
    --to=bitbucket@online.de \
    --cc=athorlton@sgi.com \
    --cc=chegu_vinod@hp.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hpa@linux.intel.com \
    --cc=len.brown@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=riel@redhat.com \
    --cc=stable@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®