summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bufferbloat.page22
1 files changed, 22 insertions, 0 deletions
diff --git a/bufferbloat.page b/bufferbloat.page
new file mode 100644
index 0000000..34273d3
--- /dev/null
+++ b/bufferbloat.page
@@ -0,0 +1,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