From 2ebbaa57a67ec65da6430beb9c36a022e2eb35c8 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Wed, 28 Aug 2019 18:48:42 +0200 Subject: [PATCH] Decrease txqueuelen --- mptcp/files/etc/init.d/mptcp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mptcp/files/etc/init.d/mptcp b/mptcp/files/etc/init.d/mptcp index 632cddef6..079cf3c57 100755 --- a/mptcp/files/etc/init.d/mptcp +++ b/mptcp/files/etc/init.d/mptcp @@ -190,9 +190,9 @@ interface_multipath_settings() { ip route replace default via $gateway dev $iface } [ "$mode" = "off" ] && { - ifconfig $iface txqueuelen 90 > /dev/null 2>&1 + ifconfig $iface txqueuelen 50 > /dev/null 2>&1 } || { - ifconfig $iface txqueuelen 10000 > /dev/null 2>&1 + ifconfig $iface txqueuelen 100 > /dev/null 2>&1 } fi if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "1" ] && [ "$config" != "omr6in4" ]; then @@ -271,9 +271,9 @@ interface_multipath_settings() { ip -6 route replace default via $gateway6 dev $iface } [ "$mode" = "off" ] && { - ifconfig $iface txqueuelen 90 > /dev/null 2>&1 + ifconfig $iface txqueuelen 50 > /dev/null 2>&1 } || { - ifconfig $iface txqueuelen 10000 > /dev/null 2>&1 + ifconfig $iface txqueuelen 100 > /dev/null 2>&1 } fi fi