From owner-freebsd-scsi@FreeBSD.ORG Sun Feb 27 08:07:10 2011 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 4C28B106566B for ; Sun, 27 Feb 2011 08:07:10 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1058FC12 for ; Sun, 27 Feb 2011 08:07:09 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id A622A39E90; Sun, 27 Feb 2011 17:07:08 +0900 (JST) Received: from artemis (unknown [172.18.0.20]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 9279F39E8E; Sun, 27 Feb 2011 17:07:08 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: "David Tidey" References: In-Reply-To: Date: Sun, 27 Feb 2011 17:07:03 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-scsi@freebsd.org Subject: Re: istgt performance issue when copying large files (1G plus) 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: Sun, 27 Feb 2011 08:07:10 -0000 Hi, >I am using FreeBSD 8.2 with the very latest istgt version 20110103. I submitted new version of istgt 20110223. You can install it from ports. If you use QueueDepth, I recommend upgrading to 20110223. >I am using istgt to expose a zfs volume to a windows client. Which mode did you use? Latest istgt has three modes. 1) default or QueueDepth=0 This mode uses single thread per connection. 2) QueueDepth=32 or any choice except zero (20100707 compatible) This mode uses one thread per connection and one thread per LUN. 3) QueueDepth with -m1 command line option (experimental) This mode uses two threads per connection and one thread per LUN. The experimental mode is intended to be used by Hexa core CPU and 10Gbps link, and to be improved for 4KB random concurrent I/O. Single core CPU is not supported under this mode. The result of FreeNAS 0.7.2 with new istgt is here: http://shell.peach.ne.jp/aoyama/archives/1384 Regards, Daisuke Aoyama -------------------------------------------------- From: "David Tidey" Sent: Thursday, January 27, 2011 7:35 AM To: Subject: istgt performance issue when copying large files (1G plus) > Hello, > > I am using FreeBSD 8.2 with the very latest istgt version 20110103. > > I am using istgt to expose a zfs volume to a windows client. > > When running a disk benchmark which writes 10 files of around 40mb each > performance is 60-70Mb/sec. > > When I copy a video file over over 1G performance starts off fast - > 60Mb/sec > plus. After copying a couple of 100Mb performance starts to drop to less > than 10Mb/sec. > > Exposing the same disks using samba gives performance of 40-50Mb/sec with > no > drop off problems > > I therefore am assuming this is an istgt problem > > Any views on how to diagnose this? > > David > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"