c099 Jumbo frames and windows mtu size - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Networking

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

Reply
 
Thread Tools Display Modes
  #1  
Old October 5th, 2011, 07:53
Sylhouette Sylhouette is offline
Member
 
Join Date: Nov 2008
Posts: 174
Thanks: 5
Thanked 25 Times in 16 Posts
Default Jumbo frames and windows mtu size

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
Reply With Quote
  #2  
Old October 5th, 2011, 18:18
yongari@ yongari@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Posts: 71
Thanks: 1
Thanked 21 Times in 17 Posts
Default

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.
Reply With Quote
  #3  
Old October 5th, 2011, 18:54
Sylhouette Sylhouette is offline
Member
 
Join Date: Nov 2008
Posts: 174
Thanks: 5
Thanked 25 Times in 16 Posts
Default

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
Reply With Quote
  #4  
Old November 7th, 2011, 12:37
RusDyr RusDyr is offline
Junior Member
 
Join Date: Nov 2011
Location: St.Petersburg, Russia
Posts: 78
Thanks: 5
Thanked 8 Times in 8 Posts
Default

"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.
Reply With Quote
  #5  
Old November 9th, 2011, 12:54
Savagedlight Savagedlight is offline
Member
 
Join Date: Jan 2010
Location: Norway
Posts: 250
Thanks: 31
Thanked 47 Times in 35 Posts
Default

Quote:
Originally Posted by Sylhouette View Post
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.

Last edited by DutchDaemon; November 9th, 2011 at 19:07.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Max packet size less then MTU value on direct link with BCM5715C ro System Hardware 6 September 28th, 2011 01:17
CARP + Jumbo Frames (can't set mtu) Pfarthing6 Networking 2 June 27th, 2011 19:05
Esp header size, payload size, and trailer size? jangli656 Networking 3 April 4th, 2011 17:37
Non tagged frames statistics Antti Networking 3 November 3rd, 2009 00:35
I can't change the size of the screen on X-windows. corone General 1 January 29th, 2009 18:27


All times are GMT +1. The time now is 18:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0