Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2008 22:05:53 +0100
From:      Bernard Dugas <bernard@dugas-family.org>
To:        vince@unsane.co.uk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Optimising NFS for system files
Message-ID:  <495A8D31.8060406@dugas-family.org>
In-Reply-To: <20081229230115.F68805@wojtek.tensor.gdynia.pl>
References:  <20081216094719.EDCEE1065675@hub.freebsd.org> <495930E4.1030501@dugas-family.org> <20081229230115.F68805@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel(R) PRO/1000 Network 
Connection 6.9.6> 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: <Intel(R) PRO/1000 Network 
Connection 6.9.6> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?495A8D31.8060406>