From owner-freebsd-scsi@FreeBSD.ORG Wed Oct 1 05:35:55 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A07B31065694 for ; Wed, 1 Oct 2008 05:35:55 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 586858FC29 for ; Wed, 1 Oct 2008 05:35:55 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1KkuNM-0005Kr-PX; Wed, 01 Oct 2008 08:35:52 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Andrew Snow In-reply-to: <48E300CB.8070808@modulus.org> References: <35FAB782-F576-4FB7-8633-67CFB63D9389@stromnet.se> <48E300CB.8070808@modulus.org> Comments: In-reply-to Andrew Snow message dated "Wed, 01 Oct 2008 14:47:07 +1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Oct 2008 08:35:52 +0300 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org Subject: Re: state of iscsi_initiator? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 05:35:55 -0000 > > I'm just playing with iSCSI now, on a fresh 7.1-STABLE machine connected > to another FreeBSD box running ports/net/iscsi-target. > > I am using the latest version 2.1 Initiator from: > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/ > > It seems alot better now than when I last tried it. The speed is > constant at around 50MB/s for a single sequential read or write. It > also reconnected very quickly when I restarted the target. I was even > able to reboot the target box and I/O resumed perfectly once it finished > booting! > > The speed increased to 80mb/s when I ran two threads, which is close to > the max performance for the network cards in this machine. > > > A couple of minor issues: > > 1. Trouble shutting down iscontrol - after I kill -9 it stays around > for a minute or more until it finally goes away. > you should kill -1, this does an orderly shutdown of the connection. I guess an update to the manual is needed. > 2. Under very heavy multi-threaded load, the client machine gets > sluggish to respond, even to keystrokes on the console. And if I > shutdown the target, even local disk accesses on the client computer > stop working after a while. > > (I don't think this is a problem with iSCSI initiator. I suspect > there's something in FreeBSD which pauses all disk I/O if the length of > outstanding requests is too high, can anyone shed some light on this?) > I've noticed slugishness when a heavy fsck is running in the background - not iscsi related, so it seems that heavy disk IO is using up resources, but then again, the CPU is working :-) > > Overall, a pleasant experience and shows how much good work has been > done on iSCSI. Congratulations Danny :-) > thanks, danny