Jumbo frames and windows mtu size

Network related discussions (including general TCP/IP stuff, routing, etc).

Jumbo frames and windows mtu size

Postby Sylhouette » 05 Oct 2011, 06:53

Hello all.

I am trying to use jumbo frames between my zfs iscsi target and my windows 2003 server

Now i only have two mtu sizes on windows 4088 and 9014

When i set my mtu size on my FreeBSD to the same, it feels like something is wrong.

is windows mtu 9014 the same as 9000 on FreeBSD, if so what is the correct mtu size for 4088 then, it is not 4000, because if i set that, copies to the zfs iscsi target takes more time than the default 1500 value.


regards
Johan Hendriks
Sylhouette
Member
 
Posts: 184
Joined: 18 Nov 2008, 12:17

Postby yongari@ » 05 Oct 2011, 17:18

Have no experience on Windows server but I believe the meaning of MTU should be the same. Jumbo frame support highly depends on controller and driver quality. Even though both parties use different MTU value, TCP will use advertised MSS so there should be no problem in general.

If you use non-server class controllers you'd better to stick on standard MTU. Server class controllers have better DMA engine and optimized for efficient packet processing for all frame size. Non-server class controllers have several limitations for certain frame size and generally they are tuned for standard MTU. I would choose best MTU value based on experimentation.

For server class controllers, it's normal to see 990Mbps with jumbo frame for bulk TCP transfers. For non-server class controllers, the number would be 940-960Mbps with jumbo frame, so bottle-neck wouldn't be ethernet.
yongari@
Junior Member
 
Posts: 76
Joined: 20 Feb 2008, 22:44

Postby Sylhouette » 05 Oct 2011, 17:54

Thanks for your answer.

The nics are two intel desktop cards.
The performance with the default mtu size, is more than acceptable, so i leave it like it is.

Thanks again.

regards,
Johan
Sylhouette
Member
 
Posts: 184
Joined: 18 Nov 2008, 12:17

Postby RusDyr » 07 Nov 2011, 11:37

"it feels like something is wrong" actually very unspecified problem. ;) I would recommend to check actual size in iSCSI traffic by tcpdump, turn on path mtu discovery temporary.
RusDyr
Junior Member
 
Posts: 83
Joined: 07 Nov 2011, 11:10
Location: St.Petersburg, Russia

Postby Savagedlight » 09 Nov 2011, 11:54

Sylhouette wrote:Hello all.
Now i only have two mtu sizes on windows 4088 and 9014
When i set my mtu size on my FreeBSD to the same, it feels like something is wrong.

is windows mtu 9014 the same as 9000 on FreeBSD, if so what is the correct mtu size for 4088 then, it is not 4000, because if i set that, copies to the zfs iscsi target takes more time than the default 1500 value.

Basically, the Windows setting includes the header bytes and the FreeBSD setting does not. If you set it to 9014 on Windows, your FreeBSD setting should be 9000. If you set it to 4088 on Windows, your FreeBSD setting should be (4088-14)=4074.
User avatar
Savagedlight
Member
 
Posts: 345
Joined: 06 Jan 2010, 21:17
Location: Norway


Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests