From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 2F04321F1E5 for ; Fri, 21 Nov 2014 03:16:25 -0800 (PST) Received: from due.zmbp.uni-tuebingen.de ([134.2.88.165]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M4jbN-1YANO23aYf-00yv6q; Fri, 21 Nov 2014 12:16:19 +0100 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) From: Sebastian Moeller In-Reply-To: Date: Fri, 21 Nov 2014 12:16:17 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0A4731BD-C9C0-4CA3-8147-C65CFF291741@gmx.de> References: To: Dane Medic X-Mailer: Apple Mail (2.1878.6) X-Provags-ID: V03:K0:EEgbr8KM4CV+1pZTtEBEkf+x/Y7rZJdDz9UAWOzMnBwDrr5Px/i G2eCtoo6PePL5BIIrCBVP8VpB5QTN04iszuGuhLllSam5K3xmyPAIxd/O3YQ5t6cQiBVAeK wdbVWsPnPA6SuJ6Y6YCObC2ghtPAByq90Hl6ktP1xLDxK6nRZt0rYB+wXFSEL2HPzO70HRc uLr6sBhA1+lrBKEEB8pcA== X-UI-Out-Filterresults: notjunk:1; Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] Torrents are too fast X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 11:16:54 -0000 Hi Dane, On Nov 20, 2014, at 15:13 , Dane Medic wrote: > dpreed, thank you for response. I'm already using fq_codel with = cerowrt and I don't think it does what I want (or maybe I want too much = :) >=20 > So the steps I've made: > flashed wndr3700v2 with cerowrt 3.10.50-1 then I've measured: >=20 > root@cerowrt:/usr/lib/CeroWrtScripts# sh betterspeedtest.sh -p = wlan-si.net -t 120 > 2014-11-20 12:18:34 Testing against netperf.bufferbloat.net (ipv4) = with 5 simultaneous sessions while pinging wlan-si.net (120 seconds in = each direction) > = ..........................................................................= ............................................... > Download: 3.78 Mbps > Latency: (in msec, 119 pings, 0.00% packet loss) > Min: 13.077=20 > 10pct: 251.522=20 > Median: 317.851=20 > Avg: 308.497=20 > 90pct: 371.033=20 > Max: 376.132 > = ..........................................................................= .................................................. > Upload: 0.48 Mbps > Latency: (in msec, 103 pings, 0.00% packet loss) > Min: 12.278=20 > 10pct: 12.727=20 > Median: 18.359=20 > Avg: 23.256=20 > 90pct: 33.971=20 > Max: 180.303 >=20 > Then I've put these commands: >=20 > uci set sqm.ge00.enabled=3D1 > uci set sqm.ge00.download=3D3200 > uci set sqm.ge00.qdisc=3Dnfq_codel > uci commit sqm > reboot >=20 > And another measure: >=20 > root@cerowrt:/usr/lib/CeroWrtScripts# sh betterspeedtest.sh -p = wlan-si.net -t 120 > 2014-11-20 12:49:05 Testing against netperf.bufferbloat.net (ipv4) = with 5 simultaneous sessions while pinging wlan-si.net (120 seconds in = each direction) > = ..........................................................................= ............................................... > Download: 2.74 Mbps > Latency: (in msec, 121 pings, 0.00% packet loss) > Min: 12.210=20 > 10pct: 13.002=20 > Median: 15.077=20 > Avg: 15.095=20 > 90pct: 16.968=20 > Max: 18.599 > = ..........................................................................= ................................................... > Upload: 0.49 Mbps > Latency: (in msec, 101 pings, 0.00% packet loss) > Min: 12.255=20 > 10pct: 12.684=20 > Median: 16.679=20 > Avg: 23.100=20 > 90pct: 34.019=20 > Max: 170.173 >=20 > The tests doesn't look bad, but the problem is I watch a video clip on = youtube and my sister starts torrent client, I can't watch anymore. Could you post the content of /etc/config/sqm from after = activating SQM please. It looks like you did not activate shaping on = egress (its not in the =93ici set *=94 above and the upload statistics = look identical to the first unshaped example). You really need to = control the buffer in both directions to get rid of nasty latency spikes = (especially with torrents that I assume will try to use both directions = maximally if left to their own devices). Also 4M/512K sounds like a DSL = link, if so you might find the link layer adjustments helpful (if there = are question what to fill in just ask). Also if you have a linux or = macosx computer available I would recommend to install netperf-wrapper = and use the RRUL test to simultaneously load down- and up-link (or = alternatively netperfrunner.sh) as this will show bloated buffers more = clearly than the individual tests for each direction as performed by = betterspeedtest.sh. Best Regards Sebastian >=20 > Cheers > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel