summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-11-17 01:43:10 +0100
committerbnewbold <bnewbold@robocracy.org>2012-11-17 01:43:10 +0100
commitcd485c3b0f5f0e116b947527977a089ab56f5715 (patch)
tree6d41ace7afaff8c370004b50118d61223e6b4640
parent08b174f09d29fa283ce4046577b1c13a9719fa0c (diff)
downloadrooter_wiki-cd485c3b0f5f0e116b947527977a089ab56f5715.tar.gz
rooter_wiki-cd485c3b0f5f0e116b947527977a089ab56f5715.zip
bufferbloat info
-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