for sysctl: net.ipv4.tcp_ecn=1 net.ipv4.tcp_sack=1 net.ipv4.tcp_dsack=1 for /etc/rc.local: ifconfig eth0 txqueuelen 50 # upstream eth only ifconfig wlan0 txqueuelen 16 ifconfig tun0 txqueuelen 10 install ethtool, then add to /etc/rc.local: ethtool -G eth0 tx 64 # upstream eth only ethtool -G wlan0 tx 32 TODO: codel, debloat ref: http://www.bufferbloat.net/projects/bloat/wiki/Bloated_Driver_List