F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.8k stars 885 forks source link

Why f-stack NIC MTU MAX CONF is 1500? #490

Open xiaofan8421 opened 4 years ago

xiaofan8421 commented 4 years ago

ff_ifconfig f-stack-0 mtu <= 1500 is all ok, buf ff_ifconfig f-stack-0 mtu > 1500 is valid argument. As we know, 9000 is a suitable value for the data center's server's MTU, although the middle net-ware is mostly 1500 in WAN Net. Will it be supported later?

jfb8856606 commented 4 years ago

We have no plans to modify it at the moment, because we mainly use it between users and data center in WAN. But we will be very pleased to see your PR to support it.

feelfree69 commented 4 years ago

Can you give a hint on how difficult the task to support MTU>1500 probably will be? I'm trying to use f-stack / DPDK to use as a system for a few high bandwidth TCP streams. Currently, a single core on my 2GHz ARM machine is able to send 7.5Gbps with an MTU of 1500. I expect this number to increase a lot if f-stack could make use of MTU>1500. Where does this limitation comes from, FreeBSD or just some ff-tools?