From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: linux1394-devel@lists.sourceforge.net,
linux-scsi@vger.kernel.org, Boaz Harrosh <bharrosh@panasas.com>
Subject: Re: [patch resend] firewire: ieee1394: Move away from SG_ALL
Date: Mon, 04 Aug 2008 14:21:16 -0500 [thread overview]
Message-ID: <1217877676.3318.32.camel@localhost.localdomain> (raw)
In-Reply-To: <tkrat.768de7e4b028b713@s5r6.in-berlin.de>
On Mon, 2008-08-04 at 20:08 +0200, Stefan Richter wrote:
> As a discussion reminded me today, I believe I should merge the
> following patch (could have done so much earlier in fact). Or is there
> anything speaking against it?
The value 255 is chosen because it worked before. What you need to do
is establish what the upper limit for firewire is (or indeed if it has
one).
> Meanwhile, SG_ALL has been redefined from 255 to SCSI_MAX_SG_SEGMENTS =
> 128 without me noticing it. But since several popular architectures
> define ARCH_HAS_SG_CHAIN, we may want to go back to 255 in (fw-)sbp2.
> (Besides, we should also do some tests to figure out an actual optimum.
> And fw-sbp2.c's struct sbp2_command_orb should become variably sized.)
Don't bother with optmium ... that's block's job based on what it sees
from the completions. All we need to know is maximum.
> Does the most relevant user of large transfers with SBP-2 devices,
> sd-mod, use chained s/g lists?
pass, but firewire is a reasonably slow bus by modern standards, and you
have the protocol overhead for each ORB, so I'd guess there's a point at
which increasing the transaction size doesn't buy anything.
James
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
next prev parent reply other threads:[~2008-08-04 19:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 18:08 [patch resend] firewire: ieee1394: Move away from SG_ALL Stefan Richter
2008-08-04 19:21 ` James Bottomley [this message]
2008-08-04 19:58 ` Stefan Richter
2008-08-05 12:22 ` Boaz Harrosh
2008-08-05 15:01 ` Stefan Richter
2008-08-05 15:28 ` Boaz Harrosh
2008-08-08 11:59 ` [PATCH] ieee1394: sbp2: stricter dma_sync Stefan Richter
2008-08-08 12:00 ` [PATCH] ieee1394: sbp2: avoid DMA bounce buffers for ORBs Stefan Richter
2008-08-08 17:54 ` Stefan Richter
2008-08-09 18:13 ` [PATCH update] ieee1394: sbp2: stricter dma_sync Stefan Richter
2008-08-09 18:16 ` [PATCH] ieee1394: sbp2: check for DMA mapping failures Stefan Richter
2008-08-05 19:57 ` [patch resend] firewire: ieee1394: Move away from SG_ALL Stefan Richter
2008-08-06 9:10 ` Boaz Harrosh
2008-08-06 20:49 ` Stefan Richter
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=1217877676.3318.32.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=bharrosh@panasas.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=stefanr@s5r6.in-berlin.de \
/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