aboutsummaryrefslogtreecommitdiffstats
path: root/config/includes.chroot/etc
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-11-23 19:14:51 +0100
committerficus <ficus@robocracy.org>2012-11-23 19:14:51 +0100
commit2c2bfbecdb58042acb89fa4b2831d56a534c908a (patch)
treeaf77cfda99a158b634fb920cddeacf00937d98ec /config/includes.chroot/etc
parentaa3e1e573d52a8e7a1d15f601ef365325869c26e (diff)
downloadtorouter-live-2c2bfbecdb58042acb89fa4b2831d56a534c908a.tar.gz
torouter-live-2c2bfbecdb58042acb89fa4b2831d56a534c908a.zip
basic bufferbloat mitigations
Diffstat (limited to 'config/includes.chroot/etc')
-rw-r--r--config/includes.chroot/etc/rc.local12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/includes.chroot/etc/rc.local b/config/includes.chroot/etc/rc.local
new file mode 100644
index 0000000..2bf955e
--- /dev/null
+++ b/config/includes.chroot/etc/rc.local
@@ -0,0 +1,12 @@
+
+# Don't stop for errors
+set +e
+
+# bufferbloatery
+ifconfig eth0 txqueuelen 50
+ifconfig eth1 txqueuelen 50
+ifconfig uap0 txqueuelen 16
+ethtool -G eth0 tx 64
+ethtool -G eth1 tx 64
+
+exit 0