Re: Firewire/sbp2 troubles with Linux 2.6.0

From: Ben Collins
Date: Sun Dec 21 2003 - 14:03:41 EST


> > I've seen that before with an old card that I had. I was forced to
> > either serialize the serial commands in sbp2, or reduce the max speed to
> > S200.
>
> Setting serialize_io=1 seems to help. I managed to read an 800 MB
> file at 10 MB/s. What's the penalty for setting that? And isn't 10
> MB/s a little slow for Firewire?

Basically that causes the scsi layer to only send sbp2 1 command at a
time, so it's a performance hit.

I'm guessing that your card doesn't like getting some many commands at
once. It's possible that your sbp2 device itself cannot handle it
(generally, I've found it to be caused by the card though).

As far as 10mbs, you have to remember that even though firewire is much
higher than that, your drive is still an IDE, and the firewire is still
going through an IDE bridge. So the limitation lies in the IDE bridge.
I've seen performance as high as 34MB/s with good IDE bridges and
drives, though.

--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/