From owner-freebsd-fs@FreeBSD.ORG Sun Nov 18 02:07:43 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00638F8F for ; Sun, 18 Nov 2012 02:07:42 +0000 (UTC) (envelope-from nowakpl@platinum.linux.pl) Received: from platinum.linux.pl (platinum.edu.pl [81.161.192.4]) by mx1.freebsd.org (Postfix) with ESMTP id A154C8FC13 for ; Sun, 18 Nov 2012 02:07:41 +0000 (UTC) Received: by platinum.linux.pl (Postfix, from userid 87) id 5E69947DDA; Sun, 18 Nov 2012 03:01:38 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on platinum.linux.pl X-Spam-Level: X-Spam-Status: No, score=-1.4 required=3.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.3.2 Received: from [172.19.191.4] (c38-073.client.duna.pl [83.151.38.73]) by platinum.linux.pl (Postfix) with ESMTPA id 697BF47DD8 for ; Sun, 18 Nov 2012 03:01:36 +0100 (CET) Message-ID: <50A84180.9080309@platinum.linux.pl> Date: Sun, 18 Nov 2012 03:01:36 +0100 From: Adam Nowacki User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: Jumbo Packet fail. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 02:07:43 -0000 setup ip addresses after setting the mtu or restart the interface with ifconfig em0 down up mtu gets cached in routes, see netstat -rnW On 2012-11-17 23:32, Zaphod Beeblebrox wrote: > I recently started using an iSCSI disk on my ZFS array seriously from > a windows 7 host on the network. The performance is acceptable, but I > was led to believe that using Jumbo packets is a win here. My win7 > motherboard adapter did not support jumbo frames, so I got one that > did... configured it, etc. Just in case anyone cares, the motherboard > had an 82567V-2 (does not support jumbo frames) and I added in an > intel 82574L based card. > > Similarly, I configured em0 on my FreeBSD host to have an MTU of 9014 > bytes (I also tried 9000). The hardware on the FreeBSD 9.1RC2 side > is: > > em0: port 0xdc00-0xdc1f > mem 0xfcfe0000-0xfcffffff,0xfcfc0000-0xfcfdffff irq 16 at device 0.0 > on pci3 > > pciconf -lv identifies the chipset as 82572EI > > Now... my problem is that the windows machine correctly advertises an > MSS of 8960 bytes in it's SYN packet while FreeBSD advertises 1460 in > the syn-ack. > > [1:42:342]root@vr:/usr/local/etc/istgt> ifconfig em0 > em0: flags=8843 metric 0 mtu 9014 > options=4019b > ether 00:15:17:0d:04:a8 > inet 66.96.20.52 netmask 0xffffffe0 broadcast 66.96.20.63 > inet6 fe80::215:17ff:fe0d:4a8%em0 prefixlen 64 scopeid 0x5 > inet6 2001:1928:1::52 prefixlen 64 > inet 192.168.221.2 netmask 0xffffff00 broadcast 192.168.221.255 > nd6 options=21 > media: Ethernet autoselect (1000baseT ) > status: active > > I have tested this with both ipv4 and ipv6 connections between the > win7 host and the FreeBSD server. win7 always requests the larger > mss, and FreeBSD the smaller. > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >