From: "Kristian Høgsberg" <krh@redhat.com>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net
Subject: Re: [PATCH 0/4] New firewire stack - updated patches
Date: Wed, 20 Dec 2006 15:06:13 -0500 [thread overview]
Message-ID: <458997B5.3040607@redhat.com> (raw)
In-Reply-To: <45898785.4000209@s5r6.in-berlin.de>
Stefan Richter wrote:
...
>> And Windows Vista will drop the IP over 1394 functionality,
>> which is another data point about how widely used this standard is.
>
> If we cared what Windows supports or does not support, we would have gap
> count optimization by now, but no support of IEEE 1394b-2002.
Yeah, my point wasn't that we need to drop it because Windows dropped it, it
was just a data point backing up the claim that IP 1394 isn't very widely used.
And as for gap count optimization, I just added that to my git repo. I
thought about adding it before sending out these patches, but I was running
late on getting them out -- I ended up spending too much time chasing down a
stupid spinlock recursion. It is pretty simple to implement in the new stack,
since we have all the topology information available. I did a quick,
unscientific benchmark (md5summing 10 32M files) and the optimization is
definitely noticable. This is a setup where the box and the disk are both
connected to a hub so the max hops is 2, so we're using gap count 4:
real 0m10.021s
user 0m1.435s
sys 0m0.356s
compared to no optimization, ie gap count 63:
real 0m14.537s
user 0m1.390s
sys 0m0.402s
Though I see that Mac OS X uses a more conservative setting for a similiar
topology, so maybe we need to add a bit or "margin" to the numbers from the
table from 1394.
>> I'm not planning to port the pcilynx driver either. I think it's a sore
>> point for the old stack as it is - nobody uses it or tests it and it's
>> continously bit-rotting. So I'd rather not support it.
>
> Here I agree.
>
>> However, it can
>> perform as well as an OHCI card for SBP-2. If you set up a
>> self-modifying DMA program it can read and write system memory without
>> CPU intervention too.
>
> OK, I didn't know that although I suspected something like this might be
> possible. Of course this remains a potential feature as long as there is
> no manpower to actually implement it. (Nor is there a userbase to speak
> of to appreciate such an effort.)
Exactly. It's a cool hack (it's mentioned briefly in appendix E.1 of the
PCILynx functional specification) and it would be fun to make it work, but I
don't really see a userbase here. And if somebody has a PCILynx card and want
to use the new stack, I'll trade them for a OHCI controller :) I have a much
more useful way to put PCILynx cards to work using my firewire sniffer
(http://bitplanet.net/nosy).
cheers,
Kristian
next prev parent reply other threads:[~2006-12-20 20:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-20 0:58 [PATCH 0/4] New firewire stack - updated patches Kristian Høgsberg
2006-12-20 10:42 ` Stefan Richter
2006-12-20 17:35 ` Kristian Høgsberg
2006-12-20 18:57 ` Stefan Richter
2006-12-20 20:06 ` Kristian Høgsberg [this message]
2006-12-20 21:52 ` Stefan Richter
2006-12-20 23:01 ` Stefan Richter
2006-12-20 20:34 ` Stefan Richter
2006-12-20 15:29 ` Pieter Palmers
2006-12-20 18:39 ` Kristian Høgsberg
2006-12-21 23:03 ` Stefan Richter
-- strict thread matches above, loose matches on Subject: below --
2006-12-21 11:47 Duncan Beadnell
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=458997B5.3040607@redhat.com \
--to=krh@redhat.com \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.