From: Jesse Barnes <jbarnes@sgi.com>
To: David Mosberger <davidm@hpl.hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: readl/writel and memory barriers
Date: Tue, 19 Feb 2002 11:42:22 -0800 [thread overview]
Message-ID: <20020219114222.A1511407@sgi.com> (raw)
In-Reply-To: <092401c1b8e7$1d190660$1a01a8c0@allyourbase> <15474.34580.625864.963930@napali.hpl.hp.com> <20020219103506.A1511175@sgi.com> <15474.43138.423593.512492@napali.hpl.hp.com>
In-Reply-To: <15474.43138.423593.512492@napali.hpl.hp.com>
On Tue, Feb 19, 2002 at 11:33:22AM -0800, David Mosberger wrote:
> It certainly does for on ia64-compliant system. Check section 9.3
> "Multi-threaded Code" in the "Itanium Software Conventions and Runtime
> Architecture manual".
I don't have that doc handy, but I'll trust your judgement...
> Now, with NUMA platforms, where the chipsets/switch may re-order
> accesses, the performance hit will be much bigger, so the old scheme
> may not be sufficient.
Right. I still have to do some performance measurements, but I
suspect that as the system size goes up, we'll see the I/O ordering
penalty increase. It'll probably get noticable at around 64p.
> I'm no NUMA expert, but my guess is that nobody will want to go
> through all the existing drivers to change them to use mmiob(). For
> new drivers, it might be OK.
The source level impact should actually be pretty small. An mmiob()
prior to the spin_unlock in a critical section that does I/O usually
suffices. Maybe it would be a good idea to have io_spin_lock and
io_spin_unlock for this purpose?
Thanks,
Jesse
next prev parent reply other threads:[~2002-02-19 19:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-19 1:45 readl/writel and memory barriers Dan Maas
2002-02-19 9:31 ` Alan Cox
2002-02-19 17:10 ` David Mosberger
2002-02-19 18:35 ` Jesse Barnes
2002-02-19 19:33 ` David Mosberger
2002-02-19 19:42 ` Jesse Barnes [this message]
2002-02-19 20:11 ` Dan Maas
2002-02-19 20:23 ` Jesse Barnes
2002-02-19 22:05 ` Keith Owens
2002-02-19 22:17 ` Jesse Barnes
2002-02-21 0:29 ` Randy.Dunlap
2002-02-23 4:48 ` Daniel Phillips
2002-02-25 16:19 ` Randy.Dunlap
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=20020219114222.A1511407@sgi.com \
--to=jbarnes@sgi.com \
--cc=davidm@hpl.hp.com \
--cc=linux-kernel@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