From owner-freebsd-questions@FreeBSD.ORG Tue Dec 30 21:04:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1020D106566B for ; Tue, 30 Dec 2008 21:04:03 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from smtp11.ispronet.com (smtp11.ispronet.com [81.28.196.233]) by mx1.freebsd.org (Postfix) with ESMTP id BE2098FC22 for ; Tue, 30 Dec 2008 21:04:02 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from localhost (unknown [127.0.0.1]) by smtp11.ispronet.com (Postfix) with ESMTP id F0173B854; Tue, 30 Dec 2008 22:04:01 +0100 (CET) Received: from smtp11.ispronet.com ([127.0.0.1]) by localhost (smtp11.ispronet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44476-05; Tue, 30 Dec 2008 22:03:52 +0100 (CET) Received: from [192.168.1.50] (unknown [81.28.194.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp11.ispronet.com (Postfix) with ESMTP; Tue, 30 Dec 2008 22:03:52 +0100 (CET) Message-ID: <495A8D31.8060406@dugas-family.org> Date: Tue, 30 Dec 2008 22:05:53 +0100 From: Bernard Dugas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7) Gecko/20040616 X-Accept-Language: fr,en MIME-Version: 1.0 To: vince@unsane.co.uk References: <20081216094719.EDCEE1065675@hub.freebsd.org> <495930E4.1030501@dugas-family.org> <20081229230115.F68805@wojtek.tensor.gdynia.pl> In-Reply-To: <20081229230115.F68805@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ispronet.com Cc: freebsd-questions@freebsd.org Subject: Re: Optimising NFS for system files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 21:04:03 -0000 Vince wrote: >> Trying to change mtu, but don't look easy, where can i find the >> possible range for ports ? > MTU can be a pain, check what your switch supports, and the manpage for > your network driver should say what MTU the nic supports. Thank you for the method ! It seems that em and re are not behaving like they should : re(4) says : "The 8169, 8169S and 8110S also support jumbo frames, which can be configured via the interface MTU setting. The MTU is limited to 7422, since the chip cannot transmit larger frames. " But : nfsserver# ifconfig re0 -mtu 7422 ifconfig: -mtu: bad value nfsserver# ifconfig re0 -mtu 7421 ifconfig: -mtu: bad value It should be a Realtek RTL 8111c but i don't know where to find the relationship to what pciconf -l gives me : re0@pci0:2:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x02 hdr=0x00 em(4) says : "The maximum MTU size for Jumbo Frames is 16114." But : client9# ifconfig em1 -mtu 8192 ifconfig: -mtu: bad value with : Dec 30 16:02:36 client9 kernel: em1: port 0x7f00-0x7f1f mem 0xfd4e0000-0xfd4fffff irq 17 at device 0.0 on pci7 client1# ifconfig em0 -mtu 8192 ifconfig: -mtu: bad value with : Dec 30 18:10:38 client1 kernel: em0: port 0xfe00-0xfe1f mem 0xf dfc0000-0xfdfdffff,0xfdffe000-0xfdffefff irq 20 at device 25.0 on pci0 Now i understand better "MTU can be a pain" ;-) Best regards, -- Bernard DUGAS Mobile +33 615 333 770