public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: David.Mosberger@acm.org
Cc: Grant Grundler <iod00d@hp.com>, Brent Casavant <bcasavan@sgi.com>,
	Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>,
	linux-ia64@vger.kernel.org,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2.6.13] IOCHK interface for I/O error handling/detecting (for ia64)
Date: Fri, 02 Sep 2005 22:23:52 +0000	[thread overview]
Message-ID: <20050902222352.GB12105@esmail.cup.hp.com> (raw)
In-Reply-To: <ed5aea430509021116233eeb39@mail.gmail.com>

On Fri, Sep 02, 2005 at 11:16:10AM -0700, david mosberger wrote:
> > Sorry - I think this is BS.
> > 
> > Please run mmio_test on your box and share the results.
> > mmio_test is available here:
> >         svn co http://svn.gnumonks.org/trunk/mmio_test/
> 
> Reads are slow, sure, but writes are not (or should not).

Sure, MMIO writes are generally posted. But those aren't always "free".
At some point, I expect MMIO reads typically will flush those writes
and thus stall until 2 (or more) PCI bus transactions complete.

ISTR locking around MMIO writes was necessary if the box
to enforce syncronization of the error with the driver.
ISTR this syncronization was neccessary.  Was that wrong?

Complicating the MMIO perf picture are fabrics connecting the NUMA cells
which do NOT enforce MMIO ordering (e.g. Altix).
In that case, arch code will sometimes need to enforce the write ordering
by flushing MMIO writes before a driver releases a spinlock or other
syncronization primitive. This was discussed before and is archived in
the dialog between Jesse Barns and myself in late 2004 (IIRC).

In any case, mmio_test currently only tests MMIO read perf.
I need to think about how we might also test MMIO write perf.
Ie how much more expensive is MMIO read when it follows an MMIO write.


grant

  reply	other threads:[~2005-09-02 22:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-01  5:42 [PATCH 2.6.13] IOCHK interface for I/O error handling/detecting Hidetoshi Seto
2005-09-01  5:42 ` [PATCH 2.6.13] IOCHK interface for I/O error handling/detecting (for Hidetoshi Seto
2005-09-01 22:45   ` [PATCH 2.6.13] IOCHK interface for I/O error handling/detecting Brent Casavant
2005-09-02 10:32     ` Hidetoshi Seto
2005-09-02 10:32     ` [PATCH 2.6.13 1/2] " Hidetoshi Seto
2005-09-03  7:43       ` Hidetoshi Seto
2005-09-02 10:32     ` [PATCH 2.6.13 2/2] " Hidetoshi Seto
2005-09-02 16:48     ` [PATCH 2.6.13] IOCHK interface for I/O error handling/detecting (for ia64) Grant Grundler
2005-09-02 18:16       ` david mosberger
2005-09-02 22:23         ` Grant Grundler [this message]
2005-09-02 18:24     ` Matthew Wilcox
2005-09-03  9:36       ` [PATCH 2.6.13] IOCHK interface for I/O error handling/detecting Hidetoshi Seto

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=20050902222352.GB12105@esmail.cup.hp.com \
    --to=iod00d@hp.com \
    --cc=David.Mosberger@acm.org \
    --cc=bcasavan@sgi.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seto.hidetoshi@jp.fujitsu.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