From: "Alex,Shi" <alex.shi@intel.com>
To: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
"mingo@redhat.com" <mingo@redhat.com>,
"hpa@zytor.com" <hpa@zytor.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"efault@gmx.de" <efault@gmx.de>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"mingo@elte.hu" <mingo@elte.hu>,
"linux-tip-commits@vger.kernel.org"
<linux-tip-commits@vger.kernel.org>,
"Li, Shaohua" <shaohua.li@intel.com>,
"Chen, Tim C" <tim.c.chen@intel.com>,
"Huang, Ying" <ying.huang@intel.com>
Subject: Re: [tip:sched/urgent] sched: Fix select_idle_sibling() regression in selecting an idle SMT sibling
Date: Fri, 06 Jan 2012 16:14:13 +0800 [thread overview]
Message-ID: <1325837653.4748.2.camel@debian> (raw)
In-Reply-To: <1324665814.4167.32.camel@sbsiddha-desk.sc.intel.com>
On Fri, 2011-12-23 at 10:43 -0800, Suresh Siddha wrote:
> On Wed, 2011-12-21 at 18:16 -0800, Shi, Alex wrote:
> > On Thu, 2011-12-22 at 10:03 +0800, Siddha, Suresh B wrote:
> > > On Wed, 2011-12-21 at 17:31 -0800, Shi, Alex wrote:
> > > > This patch partly fixed a performance regression that triggered by
> > > > 4dcfe1025b513c2c, but issue still exists.
> > >
> > > So how much was the regression caused by the commit 4dcfe1025b513c2c and
> > > how much did we recover with this fix I posted. If we are talking about
> > > the regression caused by this single commit 4dcfe1025b513c2c, then I
> > > don't know of any other related fixes other than the recent fix we
> > > pushed upstream (ab2789213d224202237292d78aaa0c386c7b28b2).
> >
> > A little complex for the whole thing.
> > on 4 sockets EX machine, 3~5% hackbench thread regression due to 4dcfe
> > can be recovered by ab2789.
> >
> > But on 2 sockets SNB machine, 1024 clients loop netperf TCP-RR has about
> > 9% regression. and your patch seem recover 2~3%.
> >
> > And on a 2 sockets nhm, one of our private benchmark was impact much 20
> > +% regression. that benchmark just run 4 process, each of process open a
> > thread, and the thread tasks is to locate randomly pages and than read
> > from 4 times/write 1 time data into a page. The ab2789 commit seems no
> > help our benchmark.
>
> Ok. Can you please try couple of experiments with two kernels? Two
> kernels being the base kernel (prior to 4dcfe1025b513c2c) and the second
> kernel with the commit ab2789213d224202237292d78aaa0c386c7b28b2.
>
> One experiment with p-states turned off and the second experiment with
> c-states turned off.
I did testing on both of kernel with setting 'performance' gov for all
CPU P-states, and disable cpuidle by setting cpuidle.off=1 in cmdline.
But didn't find measurable impact on performance result.
>
> I suspect mostly deeper core c-states might be contributing to the
> behavior that you are seeing.
>
> thanks,
> suresh
>
prev parent reply other threads:[~2012-01-06 8:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 19:47 [patch] sched: fix select_idle_sibling() regression in selecting an idle SMT sibling Suresh Siddha
2011-12-16 8:44 ` Ingo Molnar
2011-12-16 11:36 ` [tip:sched/urgent] sched: Fix " tip-bot for Peter Zijlstra
2011-12-21 12:33 ` alex shi
2011-12-21 12:52 ` Peter Zijlstra
2011-12-21 19:42 ` Suresh Siddha
2011-12-22 1:31 ` Alex,Shi
2011-12-22 2:03 ` Suresh Siddha
2011-12-22 2:16 ` Alex,Shi
2011-12-22 6:59 ` Alex,Shi
2011-12-23 18:43 ` Suresh Siddha
2011-12-24 7:04 ` Shi, Alex
2012-01-06 8:14 ` Alex,Shi [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=1325837653.4748.2.camel@debian \
--to=alex.shi@intel.com \
--cc=efault@gmx.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=shaohua.li@intel.com \
--cc=suresh.b.siddha@intel.com \
--cc=tglx@linutronix.de \
--cc=tim.c.chen@intel.com \
--cc=ying.huang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox