From 2c2bfbecdb58042acb89fa4b2831d56a534c908a Mon Sep 17 00:00:00 2001 From: ficus Date: Fri, 23 Nov 2012 19:14:51 +0100 Subject: basic bufferbloat mitigations --- config/includes.chroot/etc/rc.local | 12 ++++++++++++ config/package-lists/debian.list.chroot | 1 + 2 files changed, 13 insertions(+) create mode 100644 config/includes.chroot/etc/rc.local (limited to 'config') 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 diff --git a/config/package-lists/debian.list.chroot b/config/package-lists/debian.list.chroot index bd81b67..3f4312d 100644 --- a/config/package-lists/debian.list.chroot +++ b/config/package-lists/debian.list.chroot @@ -50,3 +50,4 @@ uboot-mkimage dctrl-tools tsocks user-setup +ethtool -- cgit v1.2.3