From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from homiemail-a63.g.dreamhost.com (agjbgdcfdbha.dreamhost.com [69.163.253.170]) by huchra.bufferbloat.net (Postfix) with ESMTP id A44A121F17D for ; Thu, 13 Mar 2014 09:02:55 -0700 (PDT) Received: from homiemail-a63.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTP id 401AE2F407A; Thu, 13 Mar 2014 09:02:55 -0700 (PDT) Received: from kmn.local (c-98-210-250-14.hsd1.ca.comcast.net [98.210.250.14]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nichols@pollere.net) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTPSA id 26C372F4075; Thu, 13 Mar 2014 09:02:55 -0700 (PDT) Message-ID: <5321D6AE.4000701@pollere.com> Date: Thu, 13 Mar 2014 09:02:54 -0700 From: Kathleen Nichols User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: codel@lists.bufferbloat.net References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Codel] interval target relation ship question X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2014 16:02:56 -0000 Hi, Sebastian, My "best guess" is that increasing your interval to cover the DSL latency and packet duration is the significant step since the "don't starve the link" drop inhibit should dominate the target. That said, I would set the target to be .05 to .1 of that interval, possibly pushing more to the .1 for consistency. Something that could use further study is whether to inhibit drops or cancel the drop state when a drop would leave the queue empty. That is, it would be good to do a comparison with real traffic in a real network. Kathie On 3/13/14 2:28 AM, Sebastian Moeller wrote: > Hi Andrew, >=20 >=20 > On Mar 13, 2014, at 10:04 , Andrew McGregor > wrote: >=20 >> My intuition suggests something like: Target =3D 4ms + MTU sized >> packet duration Interval =3D target * 20 >=20 > The current version just does MTU plus overhead packet duration > (basically taking 1544 as maximal DSL packet size, it is not that > this needs to be precise to the last bit) and does interval =3D > interval + target - 5ms, so basically it increases target and > interval by the same amount (note we take the maximum of the > calculated argot and 5ms), Where does your 4ms come from? I wonder > whether the important step is increasing the target or wether it is > to change the ratio of interval and target (the current method > basically does both). >=20 > Thanks for your input >=20 > best regards Sebastian >=20 >>=20 >> (But only if the resulting interval is more than 100ms) >>=20 >> Possibly the packet duration may need a small factor (2 or 3) to >> get the balance right. >>=20 >> On 13 Mar 2014 19:41, "Sebastian Moeller" wrote:=20 >> Dear Experts, >>=20 >> Codel and especially fq_codel have massively improved >> snappiness/interactivity of typical residential internet >> connections, as shown in the cerowrt testbed and also in the french >> ISP free's roll-out of coddled xddl modems. One observation has >> been that at low bandwidth the latency/bandwidth trade-off does not >> seem to be ideal and an empirical solution to this problem has been >> to increase the target as a function of the available bandwidth. I >> realize that codel tries to accommodate for low-bandwidth links by >> always allowing at least one packet in the queue. But empirically >> that does not seem to be enough for good behavior on slow links (I >> think the issue is that the bandwidth sacrifice seems a bit to >> large)=85 Currently we try to model what we know about free's >> approach in cerowrt, basically we increase target as a function of >> bandwidth and also increase interval be the same amount as target. >> Now having read section "3.2 Setpoint" of >> https://datatracker.ietf.org/doc/draft-nichols-tsvwg-codel/?include_te= xt=3D1 >> makes a strong point that target should be in the range of 5-10% of >> interval. So would it make more sense to increase interval so that >> after adjustments new_target =3D 0.05*new_interval still stays true? >> Or would you recommend to do something along the lines of:=20 >> new_interval =3D 100ms + known DSL link latency (can be in the range >> of dozens of ms) new_target =3D new_interval * 0.05 or new_interval * >> 0.1 >>=20 >> I guess I will try to actually test the different approaches in the >> near future, but would be delighted to get help establishing a >> decent hypothesis before hand which modification actually will work >> best. >>=20 >>=20 >> Bet Regards Sebastian=20 >> _______________________________________________ Codel mailing list=20 >> Codel@lists.bufferbloat.net=20 >> https://lists.bufferbloat.net/listinfo/codel >=20 > _______________________________________________ Codel mailing list=20 > Codel@lists.bufferbloat.net=20 > https://lists.bufferbloat.net/listinfo/codel >=20