From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
Arjan van de Ven <arjan@linux.intel.com>,
Andi Kleen <andi@firstfloor.org>,
"lee.schermerhorn@hp.com" <lee.schermerhorn@hp.com>
Subject: Re: aim7 scalability issue on 4 socket machine
Date: Fri, 18 Sep 2009 11:17:57 +0800 [thread overview]
Message-ID: <1253243877.2606.46.camel@ymzhang> (raw)
In-Reply-To: <20090917195909.3a00ef83.akpm@linux-foundation.org>
On Thu, 2009-09-17 at 19:59 -0700, Andrew Morton wrote:
> On Fri, 18 Sep 2009 10:02:19 +0800 "Zhang, Yanmin" <yanmin_zhang@linux.intel.com> wrote:
>
> > > > Did you see Lee's patch?:
> > > >
> > > > http://lkml.org/lkml/2009/9/9/290
> > > >
> > > > Added Lee and Hugh to CC, retained the below patch for them.
> > >
> > > Thanks a lot for the CC, Peter.
> > > See my reply to that mail for the slightly corrected version.
> > >
> > > Yes, Yanmin and Lee appear to be fixing exactly the same issue.
> > > I haven't thought through Yanmin's version for correctness, but
> > > it lacks the vm_start check I added to Lee's, and I do prefer
> > > Lee's style - hey, nothing personal!
> > >
> > > So, Yanmin, please retest with http://lkml.org/lkml/2009/9/13/25
> > > and let us know if that works as well for you - thanks.
> > I tested Lee's patch and it does fix the issue.
>
> Do we think we should cook up something for -stable?
It's better to have a patch for -stable.
>
> Either this is a regression or the workload is particularly obscure.
This issue is not clear on dual socket Nehalem machine (2*4*2 cpu), but
is severe on large machine (4*8*2 cpu).
>
> aim7 is sufficiently non-obscure to make me wonder what's happened here?
I copy previous content below:
Aim7 consists of lots of subtests. One test is to fork lots of processes and
every process calls sbrk for 1000 times to grow/shrink the heap. All the vma of
the heap of all sub-processes point to the same anon_vma and use the same
anon_vma->lock. When sbrk is called, kernel calls do_brk => vma_merge =>vma_adjust
and lock anon_vma->lock to create spinlock contentions.
next prev parent reply other threads:[~2009-09-18 3:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-17 9:31 aim7 scalability issue on 4 socket machine Zhang, Yanmin
2009-09-17 9:40 ` Peter Zijlstra
2009-09-17 10:35 ` Hugh Dickins
2009-09-18 2:02 ` Zhang, Yanmin
2009-09-18 2:59 ` Andrew Morton
2009-09-18 3:17 ` Zhang, Yanmin [this message]
2009-09-18 6:53 ` Hugh Dickins
2009-09-18 7:05 ` Andrew Morton
2009-12-06 20:08 ` Pavel Machek
2009-12-06 20:11 ` Andi Kleen
2009-12-06 21:11 ` Pavel Machek
2009-12-06 22:17 ` [stable] " Greg KH
2009-12-06 22:23 ` Pavel Machek
2009-09-18 7:12 ` Andi Kleen
2009-09-18 7:29 ` Hugh Dickins
2009-09-18 13:15 ` Lee Schermerhorn
2009-09-18 14:33 ` Andi Kleen
2009-09-17 10:35 ` Ingo Molnar
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=1253243877.2606.46.camel@ymzhang \
--to=yanmin_zhang@linux.intel.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=arjan@linux.intel.com \
--cc=hugh.dickins@tiscali.co.uk \
--cc=lee.schermerhorn@hp.com \
--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