Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2010 12:12:44 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Andrew Snow <andrew@modulus.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: performance tuning of iSCSI and Dell MD3000i
Message-ID:  <4B59882C.7030506@quip.cz>
In-Reply-To: <4B5921B2.1030906@modulus.org>
References:  <4B57263E.7040809@quip.cz> <E1NXs1v-0008L0-Nx@kabab.cs.huji.ac.il> <4B5907E2.2060206@quip.cz> <4B5921B2.1030906@modulus.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Andrew Snow wrote:
>
> 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.

My current settings is:

kern.ipc.maxsockbuf: 262144
net.inet.tcp.recvspace: 65536
net.inet.tcp.sendspace: 32768

net.inet.tcp.recvbuf_max: 262144
net.inet.tcp.recvbuf_inc: 16384
net.inet.tcp.recvbuf_auto: 1
net.inet.tcp.sendbuf_max: 262144
net.inet.tcp.sendbuf_inc: 8192
net.inet.tcp.sendbuf_auto: 1

I will try your recommended values and post results later this day.

(but I don't know how can I change it on MD3000i side)

Thank you for your reply

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B59882C.7030506>