From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 01C4921F380 for ; Thu, 20 Nov 2014 08:25:36 -0800 (PST) Received: by mail-la0-f48.google.com with SMTP id s18so2677839lam.7 for ; Thu, 20 Nov 2014 08:25:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tYmY7p786VnMAiLXbQRCFWNrtvqnmRQZNGKJeZlQ0SQ=; b=l5qMHXbfUJM5tnz2wtW3tuUTUCeTUqgsH2r2UpEFe7g8VP7pMk2ClLuOBJwxRiWa4D QxTd79tvU7+IAuWRu1aMWdy8XNTuWRkXHkY9MFoWxXmU7G0Lce4AzqifMJuleBYfbllf cAuJQJ+yFFJZDN00MzIJfte/mQe7C/2hwSgn4kO6fkx69RURScuXbLWGS+fJiflRe8qK zvPvTA69lJtlg1gWwH7B8pqhKz9tGnonJT4saPVLCTAgWiY6pG6Kxeywq+DgB7HgTC2B TS4p/VdLCvd9qEKd6IS7eyR/jLn6vG9yQYaLLy5WWtBUz//+Aol4mkPKLac1hI+Da0ej hOZw== X-Received: by 10.112.45.228 with SMTP id q4mr12233998lbm.35.1416500734150; Thu, 20 Nov 2014 08:25:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.36.194 with HTTP; Thu, 20 Nov 2014 08:25:14 -0800 (PST) In-Reply-To: References: From: Dane Medic Date: Thu, 20 Nov 2014 17:25:14 +0100 Message-ID: To: Dave Taht , "cerowrt-devel@lists.bufferbloat.net" Content-Type: multipart/alternative; boundary=001a11345f6a154fa105084cc75d 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: Thu, 20 Nov 2014 16:26:06 -0000 --001a11345f6a154fa105084cc75d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you for advice Dave. I'm just looking around how to set-up layer 7 inspection, I've also found this -> http://luci.subsignal.org/trac/browser/luci/trunk/contrib/package/freifunk-= p2pblock?rev=3D It would be very nice if someone could "merge" this with simple.qos, I don't really know how, yet. 2014-11-20 15:40 GMT+01:00 Dave Taht : > I would be surprised if you could tolerate a *single* big download > while watching a movie, at 4mbit/512k, much less torrents, which are 6 > or more. > > That said, most torrent clients are configurable in several ways. > > 1) You can limit the number of download flows to something far less > than 6. Try 1 or 2. > > 2) You can typically rate limit them in the client to a lower rate > during the day and a higher rate at night. > > 3) You can tell them to mark the torrents as background (QoS marking > CS1), but that only helps on uploads vs the simple.qos script. > > At the router itself, you can try things like identifying torrent > traffic via a consistent port number (if you have one) to toss it into > the background queue , or try qos-scripts which has a layer 7 dpi > tool. > > > > > On Thu, Nov 20, 2014 at 6:13 AM, 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 :) > > > > So the steps I've made: > > flashed wndr3700v2 with cerowrt 3.10.50-1 then I've measured: > > > > 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 > > 10pct: 251.522 > > Median: 317.851 > > Avg: 308.497 > > 90pct: 371.033 > > Max: 376.132 > > > .........................................................................= ................................................... > > Upload: 0.48 Mbps > > Latency: (in msec, 103 pings, 0.00% packet loss) > > Min: 12.278 > > 10pct: 12.727 > > Median: 18.359 > > Avg: 23.256 > > 90pct: 33.971 > > Max: 180.303 > > > > Then I've put these commands: > > > > uci set sqm.ge00.enabled=3D1 > > uci set sqm.ge00.download=3D3200 > > uci set sqm.ge00.qdisc=3Dnfq_codel > > uci commit sqm > > reboot > > > > And another measure: > > > > 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 > > 10pct: 13.002 > > Median: 15.077 > > Avg: 15.095 > > 90pct: 16.968 > > Max: 18.599 > > > .........................................................................= .................................................... > > Upload: 0.49 Mbps > > Latency: (in msec, 101 pings, 0.00% packet loss) > > Min: 12.255 > > 10pct: 12.684 > > Median: 16.679 > > Avg: 23.100 > > 90pct: 34.019 > > Max: 170.173 > > > > 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. > > > > Cheers > > > > _______________________________________________ > > Cerowrt-devel mailing list > > Cerowrt-devel@lists.bufferbloat.net > > https://lists.bufferbloat.net/listinfo/cerowrt-devel > > > > > > -- > Dave T=C3=A4ht > > thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks > --001a11345f6a154fa105084cc75d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you for advice Dave. I'm just looking aroun= d how to set-up layer 7 inspection, I've also found this -> http://luci.subsignal.org/trac/browser/luci/trunk/cont= rib/package/freifunk-p2pblock?rev=3D
It would be very nice if = someone could "merge" this with simple.qos, I don't really kn= ow how, yet.

2014-11-20 15:40 GMT+01:00 Dave Taht <dave.taht@gmail.com>:
I would be surprised if you could = tolerate a *single* big download
while watching a movie, at 4mbit/512k, much less torrents, which are 6
or more.

That said, most torrent clients are configurable in several ways.

1) You can limit the number of download flows to something far less
than 6. Try 1 or 2.

2) You can typically rate limit them in the client to a lower rate
during the day and a higher rate at night.

3) You can tell them to mark the torrents as background (QoS marking
CS1), but that only helps on uploads vs the simple.qos script.

At the router itself, you can try things like identifying torrent
traffic via a consistent port number (if you have one) to toss it into
the background queue , or try qos-scripts which has a layer 7 dpi
tool.




On Thu, Nov 20, 2014 at 6:13 AM, Dane Medic <dm70dm@gmail.com> wrote:
> dpreed, thank you for response. I'm already using fq_codel with ce= rowrt and
> I don't think it does what I want (or maybe I want too much :)
>
> So the steps I've made:
> flashed wndr3700v2 with cerowrt 3.10.50-1 then I've measured:
>
> 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)
> ......................................................................= ...................................................
>=C2=A0 Download:=C2=A0 3.78 Mbps
>=C2=A0 =C2=A0Latency: (in msec, 119 pings, 0.00% packet loss)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Min: 13.077
>=C2=A0 =C2=A0 =C2=A010pct: 251.522
>=C2=A0 =C2=A0 Median: 317.851
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Avg: 308.497
>=C2=A0 =C2=A0 =C2=A090pct: 371.033
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Max: 376.132
> ......................................................................= ......................................................
>=C2=A0 =C2=A0 Upload:=C2=A0 0.48 Mbps
>=C2=A0 =C2=A0Latency: (in msec, 103 pings, 0.00% packet loss)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Min: 12.278
>=C2=A0 =C2=A0 =C2=A010pct: 12.727
>=C2=A0 =C2=A0 Median: 18.359
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Avg: 23.256
>=C2=A0 =C2=A0 =C2=A090pct: 33.971
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Max: 180.303
>
> Then I've put these commands:
>
> uci set sqm.ge00.enabled=3D1
> uci set sqm.ge00.download=3D3200
> uci set sqm.ge00.qdisc=3Dnfq_codel
> uci commit sqm
> reboot
>
> And another measure:
>
> 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)
> ......................................................................= ...................................................
>=C2=A0 Download:=C2=A0 2.74 Mbps
>=C2=A0 =C2=A0Latency: (in msec, 121 pings, 0.00% packet loss)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Min: 12.210
>=C2=A0 =C2=A0 =C2=A010pct: 13.002
>=C2=A0 =C2=A0 Median: 15.077
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Avg: 15.095
>=C2=A0 =C2=A0 =C2=A090pct: 16.968
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Max: 18.599
> ......................................................................= .......................................................
>=C2=A0 =C2=A0 Upload:=C2=A0 0.49 Mbps
>=C2=A0 =C2=A0Latency: (in msec, 101 pings, 0.00% packet loss)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Min: 12.255
>=C2=A0 =C2=A0 =C2=A010pct: 12.684
>=C2=A0 =C2=A0 Median: 16.679
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Avg: 23.100
>=C2=A0 =C2=A0 =C2=A090pct: 34.019
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Max: 170.173
>
> The tests doesn't look bad, but the problem is I watch a video cli= p on
> youtube and my sister starts torrent client, I can't watch anymore= .
>
> Cheers
>
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@l= ists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>



--
Dave T=C3=A4ht

thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_T= alks

--001a11345f6a154fa105084cc75d--