iscsi initiator speed very low in FreeBSD 7

John Nielsen john at jnielsen.net
Fri Mar 7 20:51:04 UTC 2008


On Tuesday 04 March 2008 03:46:15 am Thomas Steen Rasmussen wrote:
> On Tuesday 26 February 2008 10:58:13 am Pierre Beyssac wrote:
> > On Tue, Feb 26, 2008 at 01:37:09PM +0100, Thomas Steen Rasmussen
> > wrote: 
> > > Windows Vista / Windows Server 2008 get impressive speeds from this
> > > SAN (2008 got close to 800 megabits in one test). FreeBSD is not
> > > even close to that speed. I have tried a bunch of different things,
> > > but I always seem to end up with a speed close to 700 kilobits. This
> > > is all on gigabit links.
> >
> > I've seen a similar problem (30-second timeout in the code due to
> > a race condition). You might want to try the attached patch. It
> > fixed the slowness for me. I intend to commit it to current very
> > soon.
> 
> The patch works! :) I had some problems getting it to apply cleanly,
> due to a (junk?) character in the source file (the file being patched)
> line 456. Once I got it applied to a fresh 7 install the speed was
> considerably better. In my test setup I got to around 20 megabytes /
> sec to or from my laptop initiator. I now need to test the production
> server with the actual appliance SAN, and see what kind of speeds I get
> there. I will revert with the results here.
>
> Until then, thank you very much for your assistance.

This is good news!

Pierre- would you like someone to create a PR with your patch to help it 
get committed or is that ball already rolling?

Thanks,

JN



More information about the freebsd-scsi mailing list