public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: Brent Casavant <bcasavan@sgi.com>
Cc: 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 09:48:28 -0700	[thread overview]
Message-ID: <20050902164828.GA10587@esmail.cup.hp.com> (raw)
In-Reply-To: <20050901172917.I10072@chenjesu.americas.sgi.com>

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".

> 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/

Then we can talk about the cost of spinlocks vs cost of MMIO access.

thanks,
grant

  parent reply	other threads:[~2005-09-02 16:44 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   ` Grant Grundler [this message]
2005-09-02 18:16     ` [PATCH 2.6.13] " david mosberger
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=20050902164828.GA10587@esmail.cup.hp.com \
    --to=iod00d@hp.com \
    --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