From owner-freebsd-questions@FreeBSD.ORG Sun Feb 23 19:25:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06379B63 for ; Sun, 23 Feb 2014 19:25:28 +0000 (UTC) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C6D8C1C58 for ; Sun, 23 Feb 2014 19:25:27 +0000 (UTC) Received: from www.dweimer.net (webmail [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id s1NJPJxT003220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 23 Feb 2014 13:25:20 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 23 Feb 2014 13:25:19 -0600 From: dweimer To: FreeBSD Questions Subject: FreeBSD 10 iSCSI Performance/Best Practices Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: <03c1b3abc14373bfdb107d4bbca3ca34@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.0-rc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 19:25:28 -0000 I have been searching but I haven't been able to find very much information on FreeBSD 10s new iSCSI setup in the way of performance tuning. I have an iSCSI target defined and am connecting to it with my Windows 8.1 workstation. But performance is horrible, 5-10M per second. I can actually write to a Samba share on the same server from the workstation at 30-50M per second, so something is definitely not working optimally on the iSCSI side. This is all running on commodity hardware, so I don't expect lightening fast results, but I would expect to see it faster than the Samba share by about the same magnitude that it is running slower. the settings are very basic. auth-group Workstation { chap iqn.1991-05.com.microsoft:workstation.dweimer.local ?????? } portal-group WorkstationISCSI { discovery-auth-group Workstation listen 0.0.0.0 listen [::] } target iqn.2012-06.com.webmail:WorkstationDriveD { auth-group Workstation portal-group WorkstationISCSI lun 0 { path /dev/zvol/iscsi/WorkstationDriveD.0 } } the server is a VMware ESXi5.5 guest, the samba share and the iscsi zvol are on different virtual disk volumes but both are on the the same physical disks, on the ESX system. I looked at systat -vmstat, and everything looks just about idle on the server. the network is all 1G, with jumbo frames enabled. I am assuming that I need to tune a settings somewhere to get this running at an acceptable speed, but I am unsure where to start. -- Thanks, Dean E. Weimer http://www.dweimer.net/