From owner-freebsd-scsi@FreeBSD.ORG Fri Jan 22 03:56:51 2010 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 4E1871065670 for ; Fri, 22 Jan 2010 03:56:51 +0000 (UTC) (envelope-from andrew@modulus.org) Received: from email.octopus.com.au (email.octopus.com.au [122.100.2.232]) by mx1.freebsd.org (Postfix) with ESMTP id 107058FC08 for ; Fri, 22 Jan 2010 03:56:50 +0000 (UTC) Received: by email.octopus.com.au (Postfix, from userid 1002) id 5B5265CB8E7; Fri, 22 Jan 2010 14:32:43 +1100 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on email.octopus.com.au X-Spam-Level: * X-Spam-Status: No, score=1.9 required=10.0 tests=ALL_TRUSTED, FH_DATE_PAST_20XX autolearn=no version=3.2.3 Received: from [10.1.50.60] (ppp121-44-233-216.lns20.syd7.internode.on.net [121.44.233.216]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: admin@email.octopus.com.au) by email.octopus.com.au (Postfix) with ESMTP id 5F0205CB8E9; Fri, 22 Jan 2010 14:32:37 +1100 (EST) Message-ID: <4B5921B2.1030906@modulus.org> Date: Fri, 22 Jan 2010 14:55:30 +1100 From: Andrew Snow User-Agent: Thunderbird 2.0.0.14 (X11/20080523) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-scsi@freebsd.org References: <4B57263E.7040809@quip.cz> <4B5907E2.2060206@quip.cz> In-Reply-To: <4B5907E2.2060206@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: performance tuning of iSCSI and Dell MD3000i 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: Fri, 22 Jan 2010 03:56:51 -0000 Hi Miroslav, have you tried increasing your TCP/IP Window settings at both ends? In freebsd sysctl.conf: kern.ipc.maxsockbuf=1048576 net.inet.tcp.recvspace=262144 net.inet.tcp.sendspace=262144 I never had trouble hitting line rate of 1Gbps iSCSI with freebsd, but the biggest problem was not speed but what happens if the device times out or drops out, it causes FreeBSD to completely crash instead of degrading gracefully. - Andrew