From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id D6EB221F0C7; Mon, 14 May 2012 10:50:56 -0700 (PDT) Received: from hydrogene.pps.jussieu.fr (hydrogene.pps.jussieu.fr [134.157.168.1]) by shiva.jussieu.fr (8.14.4/jtpda-5.4) with ESMTP id q4EHoR9X028261 ; Mon, 14 May 2012 19:50:40 +0200 (CEST) X-Ids: 168 Received: from lanthane.pps.jussieu.fr (lanthane.pps.jussieu.fr [134.157.168.57]) by hydrogene.pps.jussieu.fr (Postfix) with ESMTPS id C6477C12D8; Mon, 14 May 2012 19:50:26 +0200 (CEST) Received: from jch by lanthane.pps.jussieu.fr with local (Exim 4.77) (envelope-from ) id 1STzPe-0007gJ-KS; Mon, 14 May 2012 19:50:26 +0200 From: Juliusz Chroboczek To: dave taht References: <4FB129EC.90200@gmail.com> Date: Mon, 14 May 2012 19:50:26 +0200 In-Reply-To: <4FB129EC.90200@gmail.com> (dave taht's message of "Mon, 14 May 2012 08:51:08 -0700") Message-ID: <7imx5a3b4t.fsf@lanthane.pps.jussieu.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at jchkmail.jussieu.fr with ID 4FB145E3.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FB145E3.000/134.157.168.1/hydrogene.pps.jussieu.fr/hydrogene.pps.jussieu.fr/ X-Mailman-Approved-At: Mon, 14 May 2012 10:52:59 -0700 Cc: codel@lists.bufferbloat.net, bloat@lists.bufferbloat.net Subject: Re: [Codel] [Bloat] better tc support for bittorrent/diffserv 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: Mon, 14 May 2012 17:50:57 -0000 [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 implement it -- there's no API to set ECN on UDP packets. > Packets not marked as CS1, Add "peer-socket-tos": "lowcost", to your settings.json. > 1) The port number is consistent, but user-settable. Only for µTP and incoming TCP. Outgoing TCP uses a random port. It's a well known flaw of the sockets API that you cannot use the same local port for incoming and outgoing connections. > 4) Syntactically tc is missing some ip6 functionality, notably an > orthogonal "tos" field to the ipv4 version. Use ip6tables -j MARK. -- Juliusz