From owner-freebsd-scsi Tue Nov 12 20:20:58 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F6A637B401 for ; Tue, 12 Nov 2002 20:20:57 -0800 (PST) Received: from gw.uic.ru (gw.uic.ru [62.102.149.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED0E843E4A for ; Tue, 12 Nov 2002 20:20:53 -0800 (PST) (envelope-from vav@papillon.ru) Received: from papillon.ru (uucp@localhost) by gw.uic.ru (8.11.6/linuxconf) with UUCP id gAD4KJG02948; Wed, 13 Nov 2002 09:20:19 +0500 Received: from papillon.ru by papillon.ru with ESMTP id JAA07571; (8.7.5/vak/1.9) Wed, 13 Nov 2002 09:17:00 +0500 Message-ID: <3DD1D22D.2E1B6120@papillon.ru> Date: Wed, 13 Nov 2002 09:16:45 +0500 From: Andrey Valik Organization: Papillon Systems Ltd. X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.18-6mdk i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: Nate Lawson Cc: freebsd-scsi@freebsd.org Subject: Re: transmission speed References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello ! 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. > > 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 ? Thanks in advance. -- Andrey V. Valik Papillon Systems. Mailto:vav@papillon.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message