From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 80B972006AA; Mon, 14 May 2012 08:51:11 -0700 (PDT) Received: by pbcwz7 with SMTP id wz7so11171249pbc.16 for ; Mon, 14 May 2012 08:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=mBjRP9Ebfl6HfpJ3o4A6Iibn6juPHBdcOFSOMam0NPo=; b=KM2M/QFQUXDInw5YxTDOgYUm+ddItK7QXX371JMrzXbrvg0AK9SV1xuzlxVt26P9MP 99Ov1/tiVg8cPdT/o9XiEaHpFLo/lqxTMREo4qL12CAlAFPsuV0JU1XY/5DFqcE8xjkx 973IxumUng08MEySOPinUh9baX0PVoVR1NFbstZoCLtB7RhjNXRfvMmo2a3zjptBjsqX XrplIAGHDC0US3x9kT2jQv+gf5VMOQc+Ch4Uv8pg+ZN/RxQvXTCmb/XyzI46YcvqNWmx J1Da7SIvx8sbp2lGI9iiF1NbwuxM0lCtiLUn8ohWM6RgaBAtyGi7q8H5/VJFM4VK04LJ DAmg== Received: by 10.68.228.106 with SMTP id sh10mr23842153pbc.107.1337010670948; Mon, 14 May 2012 08:51:10 -0700 (PDT) Received: from ?IPv6:2001:4f8:3:203::c001? ([2001:4f8:3:203::c001]) by mx.google.com with ESMTPS id kd6sm22632871pbc.24.2012.05.14.08.51.09 (version=SSLv3 cipher=OTHER); Mon, 14 May 2012 08:51:09 -0700 (PDT) Message-ID: <4FB129EC.90200@gmail.com> Date: Mon, 14 May 2012 08:51:08 -0700 From: dave taht User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 To: codel@lists.bufferbloat.net, bloat@lists.bufferbloat.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Codel] 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 15:51:11 -0000 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 ecn on transmission, at least. :( Packets not marked as CS1, either. What are these characteristics on other torrent protocol clients? 1) The port number is consistent, but user-settable. Felix tells me that the port number varies wildly, however, on other implementations, and that dpi is required. His current implementation of dpi for torrent is 95% accurate with no false positives but requires connection tracking. 2) Doing fair queuing on traffic that is artificially rate limited by transmission below the actual egress rate makes bittorrent 'vanish'. Totally never noticed it running, even though I got as far as seeding 32+ machines downstream. I imagine things get worse with 1000 seeds running but would like to setup a test... on a legal file that everybody wants to have. (suggestions for a good seed torrent welcomed) 3) There is a new feature of linux, for containers, that let you run apps in network containers and set packet priorities based on that. (priorities in this case is a netfilter-ism, which lets you mark packets based on which control group a process is in). This new feature holds great promise to re-mark things like skype, at the source, for example, and control apps (like torrent) in new ways. 4) Syntactically tc is missing some ip6 functionality, notably an orthogonal "tos" field to the ipv4 version.