Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 22:57:10 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Andrey Valik <vav@papillon.ru>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: transmission speed
Message-ID:  <Pine.BSF.4.21.0211122253210.38177-100000@root.org>
In-Reply-To: <3DD1D22D.2E1B6120@papillon.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Nov 2002, Andrey Valik wrote:
> Nate Lawson wrote:
> > 
> > On Tue, 12 Nov 2002, Andrey Valik wrote:
> > > Hello!
> > >
> > > I have a SCSI target mode driver that emulate scanner, but transmission
> > > speed  is 20Mb/sec.
> > > Both SCSI cards is Adaptec 19160. What I must do to speedup ?
> > 
> > Are you using the freebsd target driver, both usermode and kernel
> > driver?  (i.e. sys/cam/scsi_target.c and /usr/share/examples/scsi_target)
> 
> Yes, modificated by myself version from FreeBSD 4.5.
> scsi_target.c version 1.22.2.6 2001/03/05.

So when you do a rescan, you get a device of type "FreeBSD TM-PT"?
 
> > If so, it only advertises it is capable of async transfers, so set SYNC
> > and WIDE16 in the inquiry response.
> 
> I maked this before, but in this case I have 20Mb/s. I think, that I will need to write scsi
> negotiation, or may be
> it's already writed in the next versions of scsi_target ?

If you modify /sys/cam/scsi/scsi_target.c where it allocates inquiry data
to announce sync + wide16 (see the SCSI specs at t10.org), the
ahc(4) driver should perform the appropriate negotiation for you at the
initiatior's request.

-Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0211122253210.38177-100000>