From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 70E6A3CB78 for ; Wed, 20 Jan 2016 06:30:56 -0500 (EST) Received: from hms-beagle.home.lan ([217.247.221.45]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MUpI8-1aeS9J2468-00YDPu; Wed, 20 Jan 2016 12:30:53 +0100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) From: moeller0 In-Reply-To: Date: Wed, 20 Jan 2016 12:30:49 +0100 Cc: Bloat@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: <893CBD83-58AB-407E-864D-B47F0B8D0334@gmx.de> References: To: Brandon Applegate X-Mailer: Apple Mail (2.2104) X-Provags-ID: V03:K0:59H+wSePBqsV2U6Ej/mr1689HMQCDYXJZQxr+cbgDrMGnR6ho6+ 73i4hn8wQSAvCZ2iQ2JLu93jEaFXUIqlgsCKw0kM2PvT3IHGWM0gBZfKKPDghva+7SZc8IF qilgXIuRLRcFzwIygb7+fA5r/tG3jNd1B8JrZKSUpHNphC9nSSF8LisFEdUxf9GEldjoLhU eTTYubKlPDncz+mhUkBNQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:yaWFDRfzkhk=:9K2Btur0/ioCeJDSwzmVM7 YyKIeGzP1faPMnRh+LHjOszQ7Tg+WD1aOfNaVYucor/ULeGnsDyfQB4pDWzdH9qjLf91E3JzP HGBfrLPDE3CmjCABk23i6S04QI35jnDU78rV/3wBezyCxu1GrpN8pm6BjEZ1I2MK/KpeoU67n ttoj6MDHxKtNQ/ANmUE2LGObUYQwIriWiL+WSpkxhzCeHCwF2Slez77isI6HwOin8nqGNCcVb fGmwq3DTDWHc5oCN0MWjgYZ6ih68Cf6VHdWzIGisX4LF+UuWWiVRtMgber/MP5rD3A/V4mKnr OWnXURzyr+0weU8gG6VRCDFMs2DrET9/ugUitxLaTTHV5SQ1+m8C1QWAA3+fBGrLtrNQQssuh pZCu07fj3xADUrpySFRR4qgenR8qKCQ/P0Y1kQYzxv2JcURLFGEdfOmPFtZqFn9MuK/XG7NIh aGdOXLE/y9WuLdG/sRP4jm0GpJnckPbAXsRfNAldCn+UUWbCJf93necHiwD1E+81D4JHwaKqq hR8kVrXJZGMFYv8/yWcT7/sebBMnxGkUe7Q9SA8OKC0J7jpibZbgRoUoIk9ZlBhk7Ah/nV0Z1 nB6u9WChwUfvOkYmhOBky9i0tma/VBo1osqr+nlBYXE/toGSM1hdkAna+rP1Hlfan8FOs/IiC iUmLSIAB8SFKyhGXWdO/VqyiKFuPuEF8HpnGWBg1+58rQcAvhdo2jEani/PBpCy0pi2aW3j3x /nemXbXaW3FYwu5+X+9vR7167lKj9RGxMZAgQK41P6jx2qNKdJKAD0ZKoYN5dFl0WSimKHyAY EOSeXsU Subject: Re: [Bloat] Getting started with sqm-scripts - latency good, bandwidth decimated X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2016 11:30:57 -0000 Hi Brandon, > On Jan 20, 2016, at 00:33 , Brandon Applegate = wrote: >=20 > Disclaimer: if this is the wrong list for such a question - let me = know. This is specifically about the sqm-scripts package... >=20 > Hello, >=20 > I=E2=80=99ve been reading all I can on the bufferbloat website and = also trying to understand the evolution of the various scripts (debloat, = sqm, etc). >=20 > I managed to get sqm-scripts on my firewall (Ubuntu linux on a PC - no = *wrt etc). Got it built with the =E2=80=98linux=E2=80=99 platform. = Since this is Ubuntu 12.04 - I had to cheat a bit and pull down the = iproute2 source from 14.04. I=E2=80=99ve tweaked the main sqm script to = reflect this for the tc bindary - this is working. I also updated my = kernel to a later version that supports fq_codel. Great, could I convince you to post a quick description of the = required steps somewhere linkeable on the net (in case we actually get = it to work correctly first ;) ) >=20 > My topology is =E2=80=98on a stick=E2=80=99. I have one gig interface = to a managed switch, on which are eth0.666 (outside/wan) and eth0.10 = (inside). Okay, that is a configuration that has not received much testing = in the past=E2=80=A6 >=20 > I have 30/5 cable service, and have tried both those values as well as = 90% in my /etc/sqm/*conf file. >=20 > I=E2=80=99ve tried both eth0 (raw/parent interface) as well as = eth0.666. Eth0 is not going to work in that situation as you will send and = receive both incoming and outgoing traffic on that interface, so we = really need to configure it correctly on the VLAN interfaces. I would = like to propose to start with egress/uplink first and handle ingress = afterwards. If you select eth0.666 (the superstitious among us would = probably try a different VLAN number ;) ) and only configure the upload = bandwidth but set download to 0, effectively sqm will only try to shape = the egress traffic. I would propose to try this first, if that works = let=E2=80=99s tackle download/ingress okay? >=20 > No matter what I do - my bandwidth is 10% of what it should be. =20 Here a comprehensive list what you actually did might help to = form educated hypothesis what is going on... > I get approx. 3/4mbit down + 2/3mbit up on dslreports speedtest. = Bufferbloat looks great though - A+. Mmmh, while I would love to declare success (bufferbloat = quashed, let=E2=80=99s move on) I have a hunch you are not too impressed = with that solution ;) >=20 > Is there something inherent I=E2=80=99m doing wrong ? =20 No, by all means you are doing the right thing, namely helping = us making sqm robust under more different conditions, thanks. > Something to do with my =E2=80=98on a stick=E2=80=99 topology biting = me ? =20 Could be, but nobody knows. > Kernel version (Ubuntu=E2=80=99s 3.13.0-74-generic btw). >=20 > Thanks in advance for any help or info (or pointer to a more = appropriate list). We recently taught sqm a whole new level of verbosity, please = have a look at Readme.md on https://github.com/tohojo/sqm-scripts , I = believe under non openwrt systems you might need to set: [ -z "$SQM_VERBOSITY" ] && SQM_VERBOSITY=3D$VERBOSITY_DEBUG instead of the default: [ -z "$SQM_VERBOSITY" ] && SQM_VERBOSITY=3D$VERBOSITY_INFO and then issue: /usr/bin/sqm/sqm-bin stop /usr/bin/sqm/sqm-bin start manually to get more verbose output, You could also try setting = SQM_DEBUG unconditionally to 1 in defaults.sh (in addition to raising = the default log level to SQM_DEBUG) to get debug logs under: /var/run/sqm/eth0.666.debug.log or similar. That ideally will contain all debug output as well as all = calls to the tc and ip and iptables binaries and their output, which = should be plenty information to figure out the root cause of your = issues. Best Regards Sebastian >=20 > -- > Brandon Applegate - CCIE 10273 > PGP Key fingerprint: > 830B 4802 1DD4 F4F9 63FE B966 C0A7 189E 9EC0 3A74 > "SH1-0151. This is the serial number, of our orbital gun." >=20 > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat