summaryrefslogtreecommitdiffstats
path: root/bufferbloat.page
blob: 34273d35f61a4ff8de4ced9fffc441d9665097a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

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