1500. I didn't change it, because i was told i shouldn't use MTU 9000 as a silver bullet. The problem seems to be sth else. Furthermore i was told, that i should not hamper with our router.what is your MTU size?
And are you seeing a lot of retries?
I went through my own 10Gb 'struggle session' about three years ago:Hi,
thank you for your response.
1500. I didn't change it, because i was told i shouldn't use MTU 9000 as a silver bullet. The problem seems to be sth else. Furthermore i was told, that i should not hamper with our router.
Thr retries between the fast 9,3Gbit/s connections among is always about 2000 whereas the connections that run about 2Gbit/s only how up to 300 retries.
Enabling jumbo frames got me over the hurdle. I know a lot of people simply hate jumbo frames, but they work for me.
Also, have you updated the firmware on your Intel NIC?
![]()
Non-Volatile Memory (NVM) Update Utility for Intel® Ethernet Network Adapter X550 Series
This download record contains all files required to update the Non-Volatile Memory (NVM) update utility version 3.30 for Intel® Ethernet Converged Network Adapter X550 Series.downloadcenter.intel.com
I do not... FreeBSD lags behind the Linux world when it comes to device drivers for newer hardware, such as your Intel NIC. So perhaps that's the explanation.But do you have an idea how that might come into play with my asymmetrical behaviour among my two FreeNAS devices?
Since the cards are both X550 but of a different age this might explain it in case this means they have different firmware and linux doesn't care about that whereas freenas potentially does. Thats at least a path worth investigating. Thank you for this idea.I do not... FreeBSD lags behind the Linux world when it comes to device drivers for newer hardware, such as your Intel NIC. So perhaps that's the explanation.
If you are routing then that is a whole other layer of issue.should not hamper with our router
If you are routing then that is a whole other layer of issue.
If you meant just through switch then look up what MTU it would accept, most modern should be fine with 9 or 10k. So that would not matter.
Did you use VLAN or not from FN?
Maybe change NIC to pull based instead of interrupt.
With the last few posts in mind, it might just be driver having a max interrupt rate that was changed in later hardware/driver. Who knows.
In short there are three things that can happen, or 4. A switch is ether going to pass or drop, I did ckeck MikroTik and most accept 9-10k so shuold be fine. So as long as the parts in the middle can pass higher then you only have to worry about the end points speaking the same size.I always thought I should set the MTU to the same value on all network components in order to avoid conflicts. The router is not involved in the data traffic between the servers, because they are on the same Subnet/VLAN. So, does that mean I can set the MTU to 9000 on all my servers and the core switch and it will work even though most other network users and the router will stick to the traditional 1500?
Since VLAN add to MTU it could push something too far, it might be fine but to know for sure you could test to done/up it by 100 just to see what happens.Yes, I use a VLAN and I use the same VLAN on all devices. The data packages should enter and exit all involved devices in a tagged state.
I never tried it but I do remember it being a thing,Can you tell me how to figure this out?
When I run FreeNAS on-the-metal, it uses the sfxge driver for the SFN6122F's. On my all-in-ones, I configure FreeNAS to use vmx. Same performance either way.Thanks Spearfoot! Some questions though:
Are your SolarFlare SFN6122F 10GbE using the ixgbe driver in FreeNAS? I couldn't find anywhere which could confirm it using an Intel chip sorry.
Are the speeds you are getting tested between FreeNAS boxes or have you also tested the speed from a Debian/Ubuntu/(any derivative) machine?
I will try your settings and see what results I get.
Ok, as I wrote, without any tunables I have (all using iperf3) 9.4gigabit/s pushing data to the freenas box (from Linux Mint / Ubuntu 18.04) and between 1.1 and 3.3 gigabit/s reading data from the freenas box. I also get 9.4gigabit/s in both directions between two Linux boxes. Reading through this thread I noticed that the good transfers always had a Cwnd of the size of 1-2.7 Mbytes whereas the problematic transfers used a Cwnd size of approx 50-100 kbytes on the FreeNAS side. So trying to raise the Cwnd size according to this (going from no tunables):
If I set:
sysctl net.inet.tcp.abc_l_var=44
yields transfers between 3.8 and 9.2 in the problematic direction and Cwnd sizes between 100 - 700 kbytes! :)
Adding also:
sysctl net.inet.tcp.initcwnd_segments=44
and I end up with transfers between 6.4 and 9.2 (with averages over 10s being approx 8.5) so getting there! Cwnd is now in the range 350-750 kbytes.
I'm gonna try to fiddle with more tunables tomorrow and see if I can get it a bit more stable (i.e. less fluctuating).
I should also mention that through this the working direction still stays the same (9.4) with very small fluctuations.
Hope this helps someone else!
For what it's worth, here are the tunables I use on my systems. I get near-line-rate (~9.8Gb/s)iperf
performance sending & receiving:
View attachment 41403
EDIT: I documented the system default values in the "Comment" field.