From: Thomas Gleixner <tglx@linutronix.de>
To: Robin Holt <holt@sgi.com>
Cc: Andi Kleen <andi@firstfloor.org>, Ingo Molnar <mingo@redhat.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Venkatesh Pallipadi <venkatesh.pallipadi@gmail.com>,
Suresh Siddha <suresh.b.siddha@intel.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
x86@kernel.org, Rafael Wysocki <rjw@novell.com>,
Peter Zijlstra <peterz@infradead.org>
Subject: Re: [patch 0/2] x86,pat: Reduce contention on the memtype_lock -V4
Date: Wed, 24 Mar 2010 12:15:19 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.00.1003241214370.3147@localhost.localdomain> (raw)
In-Reply-To: <20100324085511.GJ4920@sgi.com>
On Wed, 24 Mar 2010, Robin Holt wrote:
> On Wed, Mar 24, 2010 at 03:16:14AM +0100, Andi Kleen wrote:
> > holt@sgi.com writes:
> >
> > > Tracking memtype on x86 uses a single global spin_lock for either reading
> > > or changing the memory type. This includes changes made to page flags
> > > which is perfectly parallel.
> > >
> > > Part one of the patchset makes the page-based tracking use cmpxchg
> > > without a need for a lock.
> > >
> > > Part two of the patchset converts the spin_lock into a read/write lock.
> >
> > I'm curious: in what workloads did you see contention?
> >
> > For any scalability patches it would be always good to have a description
> > of the workload.
>
> It was a job using xpmem (an out of tree kernel module) which uses
> vm_insert_pfn to establish ptes. The scalability issues were shown
> in the first patch. I do not have any test which shows a performance
> difference with the spin_lock to rw_lock conversion.
And what's exactly the point of converting it to a rw_lock then ?
Thanks,
tglx
next prev parent reply other threads:[~2010-03-24 11:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 0:36 holt
2010-03-24 0:36 ` [patch 1/2] x86,pat Update the page flags for memtype atomically instead of using memtype_lock. -V4 holt
2010-03-24 0:36 ` [patch 2/2] x86,pat Convert memtype_lock into an rw_lock holt
2010-03-24 2:16 ` [patch 0/2] x86,pat: Reduce contention on the memtype_lock -V4 Andi Kleen
2010-03-24 8:55 ` Robin Holt
2010-03-24 11:15 ` Thomas Gleixner [this message]
2010-03-24 16:22 ` Suresh Siddha
2010-03-24 20:32 ` Rafael J. Wysocki
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=alpine.LFD.2.00.1003241214370.3147@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=andi@firstfloor.org \
--cc=holt@sgi.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rjw@novell.com \
--cc=suresh.b.siddha@intel.com \
--cc=venkatesh.pallipadi@gmail.com \
--cc=x86@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®