更改linux mtu
I experienced very slow WiFi network on Linux, while my iPhone seems surf the Internet quit fast. I pinged a site and the RTT is more than 1000ms! There must be something wrong with my Linux configuration.
我在Linux上经历了非常慢的WiFi 网络 ,而我的iPhone似乎在互联网上快速退出了。 我对一个站点执行了ping操作,RTT超过1000毫秒! 我的Linux配置一定有问题。
I tried to change the MTU from “Automatic” to “1400” on my Linux box. Surprisingly, it fix the problem. The RTT through ping drops to <100 ms.
我试图在Linux机器上将MTU从“自动”更改为“ 1400”。 令人惊讶的是,它解决了这个问题。 通过ping进行的RTT降至<100毫秒。
I am not quite sure what’s the reason that changing the MTU makes the WiFi faster on Linux. That is possibly related to the WiFi NIC driver, or the network transportation, or the WiFi router, or something else. Anyway, it worth a try when experiencing slow WiFi network on Linux. The MTU should not always be “1400” — some numbers larger than it may work better.
我不太确定更改MTU会使Linux上的WiFi更快的原因是什么。 这可能与WiFi NIC驱动程序,网络传输,WiFi路由器或其他问题有关。 无论如何,当在Linux上遇到缓慢的WiFi网络时,值得尝试。 MTU不应始终为“ 1400”-比其大一些可能会更好。
翻译自: https://www.systutorials.com/smaller-mtu-faster-wifi-linux/
更改linux mtu