public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: david mosberger <dmosberger@gmail.com>
To: Grant Grundler <iod00d@hp.com>
Cc: 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, 2 Sep 2005 11:16:10 -0700	[thread overview]
Message-ID: <ed5aea430509021116233eeb39@mail.gmail.com> (raw)
In-Reply-To: <20050902164828.GA10587@esmail.cup.hp.com>

On 9/2/05, Grant Grundler <iod00d@hp.com> wrote:
> On Thu, Sep 01, 2005 at 05:45:54PM -0500, Brent Casavant wrote:
> ...
> > The first is serialization of all I/O reads and writes.  This will
> > be a severe problem on systems with large numbers of PCI buses, the
> > very type of system that stands the most to gain in reliability from
> > these efforts.  At a minimum any locking should be done on a per-bus
> > basis.
> 
> The lock could be per "error domain" - that would require some
> arch specific support though to define the scope of the "error domain".

I do not think the basic inX/outX and readX/writeX operations should
involve spinlocks.  That would be really nasty if an MCA/INIT handler
had to call them, for example...

> > The second is the raw performance penalty from acquiring and dropping
> > a lock with every read and write.  This will be a substantial amount
> > of activity for any I/O-intensive system, heck even for moderate I/O
> > levels.
> 
> 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).

  --david
-- 
Mosberger Consulting LLC, voice/fax: 510-744-9372,
http://www.mosberger-consulting.com/
35706 Runckel Lane, Fremont, CA 94536

  reply	other threads:[~2005-09-02 18:16 UTC|newest]

Thread overview: 11+ 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 (for ia64) Hidetoshi Seto
2005-09-01 22:45 ` 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] " Grant Grundler
2005-09-02 18:16     ` david mosberger [this message]
2005-09-02 22:23       ` Grant Grundler
2005-09-02 18:24   ` Matthew Wilcox
2005-09-03  9:36     ` 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=ed5aea430509021116233eeb39@mail.gmail.com \
    --to=dmosberger@gmail.com \
    --cc=David.Mosberger@acm.org \
    --cc=bcasavan@sgi.com \
    --cc=iod00d@hp.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