On Dec 23, 2017 6:06 AM, "Michael Grimm" <trash...@ellael.org> wrote:


I will skip these questions for the time being, because I did solve my
issue 15 minutes before your mail ;-) And I feel sorry for all your now
"wasted" efforts in trying to help me.

As I am using vtnet interface in a cloud environment (Public Cloud by OVH)
I did read the vtnet(4) man pages and stumbled about "LOADER TUNABLES" like:

        hw.vtnet.lro_disable
        hw.vtnet.X.lro_disable
             This tunable disables LRO.  The default value is 0.

Well, without knowing and understanding the implications of those loader
tunables I did disabled them step by step, and bingo, setting …

        hw.vtnet.lro_disable="1"

… in /boot/loader.conf" and performance is back from KB/s to MB/s.



I really do not understand what I have done and why it is working and
whether that will have negative implications for my servers. Perhaps
someone of you experts could help me understand it.


I don't know all the specifics, but PF and IPFW really like to work on
individual packets from NICs, especially when doing NAT. They don't play
well with batched receives via LRO and batch transmits via TSO. Disabling
those on the NICs being used for packet filtering greatly improves
throughout. Not sure about PF man page, but pretty sure the IPFW man page
mentions disabling those.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to