public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
To: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: hackbench regression with kernel 2.6.32-rc1
Date: Wed, 28 Oct 2009 17:29:01 +0800	[thread overview]
Message-ID: <1256722141.16282.20.camel@ymzhang> (raw)
In-Reply-To: <1256654547.17752.13.camel@marge.simson.net>

On Tue, 2009-10-27 at 15:42 +0100, Mike Galbraith wrote:
> On Tue, 2009-10-27 at 16:03 +0800, Zhang, Yanmin wrote:
> > On Fri, 2009-10-16 at 13:06 +0200, Mike Galbraith wrote:
> > > On Tue, 2009-10-13 at 11:12 +0800, Zhang, Yanmin wrote:
> > > 
> > > > NEXT_BUDDY has no help on volanoMark and tbench.
> > > 
> > > Can you try the patch below please?  It does tries to preserve buddy
> > > affinity where possible, and mitigates over-preemption by strengthening
> > > buddies a bit.  It improves vmark here by ~7%.
> > I ran some benchmarks against 2.6.32-rc1+Peter_2_patches+below_patch.
> > Below result is against 2.6.32-rc1.
> > hackbench result has about 10% improvement on stoakley (2*4 cores) and
> > tigerton (4*4 cores).
> > tbench still has about 5% regression on stoakley and tigerton.
> > VolanoMark has 33% regression on tigerton, but has 2% improvement on stoakley.
> > 
> > I also ran the benchmarks against the latest tips/master and got the similiar
> > results like above testing.
> > 
> > The testing against tips on Nehalem machine didn't show much improvement/regression.
> 
> Thanks for the testing.  Your results suggest that I should revive the
> mark buddies whether you use them or not idea.
> 
> 	-Mike
I'm investigating 5% tbench regression on Nehalem machine. perf_counter shows
select_task_rq_fair consumes about 5% cpu time with 2.6.32-rc1 while it consumes
less than 0.5% with 2.6.31.

Patch c88d5910890 has comments to explain it, but I still can't understand why
to add complicated balance logic when selecting task rq.

I will check which section in function select_task_rq_fair consumes so much time.

Yanmin



  reply	other threads:[~2009-10-28  9:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-09  9:19 hackbench regression with kernel 2.6.32-rc1 Zhang, Yanmin
2009-10-09 10:43 ` Peter Zijlstra
2009-10-12  7:05   ` Zhang, Yanmin
2009-10-12  8:05     ` Mike Galbraith
2009-10-12 14:21     ` Peter Zijlstra
2009-10-12 14:33       ` Mike Galbraith
2009-10-13  3:12       ` Zhang, Yanmin
2009-10-13  9:39         ` Mike Galbraith
2009-10-13 11:08           ` Mike Galbraith
2009-10-16 11:06         ` Mike Galbraith
2009-10-27  8:03           ` Zhang, Yanmin
2009-10-27 14:42             ` Mike Galbraith
2009-10-28  9:29               ` Zhang, Yanmin [this message]
2009-10-28 14:22                 ` Mike Galbraith
2009-10-29  0:50                   ` Zhang, Yanmin
2009-10-29  5:46                     ` Mike Galbraith
2009-10-29  6:26                       ` Zhang, Yanmin
2009-10-29  9:14                         ` [patch] " Mike Galbraith
2009-10-30  2:02                           ` Zhang, Yanmin
2009-10-14 13:13   ` [tip:sched/urgent] sched: Do less agressive buddy clearing tip-bot for Peter Zijlstra

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=1256722141.16282.20.camel@ymzhang \
    --to=yanmin_zhang@linux.intel.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=efault@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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