[Bloat] codel, the missing comments

2012-05-14 Thread Dave Taht
http://www.pollere.net/CoDelnotes.html -- Dave Täht SKYPE: davetaht US Tel: 1-239-829-5608 http://www.bufferbloat.net ___ Bloat mailing list Bloat@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/bloat

Re: [Bloat] [Codel] [PATCH v13 net-next] codel: Controlled Delay AQM

2012-05-14 Thread Dave Hart
On Mon, May 14, 2012 at 5:35 PM, Simon Barber wrote: > Any chance of getting this patch released under a BSD license? I'd like to > propose my friend in Broadcom use it for their DSL modem chipsets. It's already dual-licensed BSD/GPL 2: +/* + * Codel - The Controlled-Delay Active Queue Managemen

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Eric Dumazet
On Mon, 2012-05-14 at 20:31 +0200, Eric Dumazet wrote: > On Mon, 2012-05-14 at 20:24 +0200, Juliusz Chroboczek wrote: > > > There is an API to set ECN on UDP packets. > > > > > > setsockopt() IP_TOS, with val = 2 > > > > Interesting, I didn't realise that. Is it also possible to read the ECN > >

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread dave taht
On 05/14/2012 11:30 AM, Juliusz Chroboczek wrote: I think, but am not certain, jch is referring to the problem of negotiating ecn over uTP. No, I was actually unaware that Linux allows one to set the ECN bits from userspace. It's also possible to get them from userspace. OTOH, you're right th

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Eric Dumazet
On Mon, 2012-05-14 at 20:24 +0200, Juliusz Chroboczek wrote: > > There is an API to set ECN on UDP packets. > > > > setsockopt() IP_TOS, with val = 2 > > Interesting, I didn't realise that. Is it also possible to read the ECN > bits? Yep man 7 ip IP_RECVTOS (since Linux 2.2) If en

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Juliusz Chroboczek
> Doesn't work on ingress presently, if you are using ifb (I can be wrong). ? -- Juliusz ___ Bloat mailing list Bloat@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/bloat

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Juliusz Chroboczek
> I think, but am not certain, jch is referring to the problem of > negotiating ecn over uTP. No, I was actually unaware that Linux allows one to set the ECN bits from userspace. OTOH, you're right that µTP doesn't currently support ECN. Not that it matters much, ECN is useful for interactive co

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Juliusz Chroboczek
> There is an API to set ECN on UDP packets. > > setsockopt() IP_TOS, with val = 2 Interesting, I didn't realise that. Is it also possible to read the ECN bits? -- Juliusz ___ Bloat mailing list Bloat@lists.bufferbloat.net https://lists.bufferbloat.net

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread dave taht
On 05/14/2012 11:03 AM, Eric Dumazet wrote: On Mon, 2012-05-14 at 19:50 +0200, Juliusz Chroboczek wrote: [Pro memoria, I'm the author of a few of the networking bits in Transmission, notably the DHT, the µTP support and large parts of the IPv6 code.] 0) No ecn on transmission, at least. TCP f

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Dave Taht
On Mon, May 14, 2012 at 10:50 AM, Juliusz Chroboczek wrote: > >> 4)  Syntactically tc is missing some ip6 functionality, notably an >> orthogonal "tos" field to the ipv4 version. > > Use ip6tables -j MARK. ip6tables... Doesn't work on ingress presently, if you are using ifb (I can be wrong). U

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Eric Dumazet
On Mon, 2012-05-14 at 19:50 +0200, Juliusz Chroboczek wrote: > [Pro memoria, I'm the author of a few of the networking bits in > Transmission, notably the DHT, the µTP support and large parts of the > IPv6 code.] > > > 0) No ecn on transmission, at least. > > TCP flows will use ECN if your system

Re: [Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread Juliusz Chroboczek
[Pro memoria, I'm the author of a few of the networking bits in Transmission, notably the DHT, the µTP support and large parts of the IPv6 code.] > 0) No ecn on transmission, at least. TCP flows will use ECN if your system is configured to use ECN. µTP doesn't do ECN, and there's no easy way to

Re: [Bloat] [Codel] [PATCH v13 net-next] codel: Controlled Delay AQM

2012-05-14 Thread Simon Barber
Any chance of getting this patch released under a BSD license? I'd like to propose my friend in Broadcom use it for their DSL modem chipsets. Simon On 05/10/2012 11:01 PM, Eric Dumazet wrote: On Thu, 2012-05-10 at 23:36 -0400, David Miller wrote: Applied, but there was a lot of trailing whi

[Bloat] Slightly off-topic: What might be wrong with the diagrams in "Controlling Queue Delay"?

2012-05-14 Thread David Collier-Brown
Management Summary In figures 5 and 6, the eye can't see the trend. 8 and 9 aren't as bad, but it would be A Good Thing to make the trend explicit. In a blog discussion with Jim Gettys, I noted that at least two of the figures in /Controlling Queue Delay,/ by Kathleen Nichols and Van Jac

[Bloat] better tc support for bittorrent/diffserv

2012-05-14 Thread dave taht
I spent a little time this weekend thinking about how to make bittorrent do more of the right thing on a fq_codel equipped edge gateway. I set up a seeder (transmission-gtk) and watched it go. I was also going to try hekate on the router itself but couldn't get it to cross build. Notes: 0) No

Re: [Bloat] The challenge

2012-05-14 Thread David Woodhouse
On Mon, 2012-05-14 at 10:27 +0300, Jonathan Morton wrote: > > 2) The Traverse links lead me to two types of devices - one of which > is a router-type box which looks promising, but comes without > documentation linitx.com can get the Geos although it's not listed on their web site. And the Solos

Re: [Bloat] [Codel] The challenge

2012-05-14 Thread Eric Dumazet
On Mon, 2012-05-14 at 10:27 +0300, Jonathan Morton wrote: > I really want to try combining CoDel and SFQ. You could use fq_codel for that, available in net-next tree. ___ Bloat mailing list Bloat@lists.bufferbloat.net https://lists.bufferbloat.net/li

Re: [Bloat] The challenge

2012-05-14 Thread Jonathan Morton
On 10 May, 2012, at 10:02 am, David Woodhouse wrote: > On Thu, 2012-05-10 at 09:54 +0300, Jonathan Morton wrote: >> I want to buy a modem that I can put Linux on, and that supports ADSL2 >> + Annex M. Where can I get one? > > http://wiki.openwrt.org/doc/hardware/soc/soc.lantiq > http://www.trav