I recently bought a tp-link Archer wn781nd for my desktop. The WiFi speed is very slow compared to my laptop.
My OS is Ubuntu 16.04 kernel 4.13.0 -41
I had a similar problem when using my laptop with rtl8723be which was solved by using the lwfinger drivers.
MTU?ifconfigwill show you. WiFiMTUshould be1492, not1500– waltinator May 14 '18 at 15:12MTUis 1500, data may buffered until 1500 bytes are accuimulated, then sent (at the network level). Once the 8 bytes of WiFi overhead are added, you have 1508 bytes of data. 1508 bytes of data must be sent in two packets, doubling the overhead. Replacewlan0with your WiFi interface name and dosudo ifconfig wlan0 down;sudo ifconfig wlan0 mtu 1492;sudo ifconfig wlan0 up;ifconfig wlan0and chech that yourMTUis changed. It might be reset to 1500 by your DHCP, but that's a different problem. – waltinator May 16 '18 at 04:21