From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (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 EDFCF21F309 for ; Tue, 20 May 2014 02:16:09 -0700 (PDT) Received: by mail-wi0-f177.google.com with SMTP id f8so546403wiw.16 for ; Tue, 20 May 2014 02:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=DWi+KTlXNPOY7rbWi7VAdD2VVNzFOvA/z0jM49tpSew=; b=MMUm0ONozyL/dfyqtq+FlVPahDkeh/VxZQnscNClQV+lTNG/y7Hu+ra0TOq7wBDH25 TWfMg2NfNNoEyTen8vu/NQyJGy10OkQsx3onIc0KoECazM+wJPR5riXMvNX90oVE/Geu FGliJ4k4ZmvO/CsZPadqCbUfERa3uUx7s2/rQho9b3/4zFkaHoJH0Ev9GGNYlgfGWIh1 n7FPiEWp+6hAb9BnhcCl6DGRlmanEMISF4m3J49SC6hdg0WorxkjU3KEgZh2UfyA0hXH lMZc17sKSzk6ph5QquVfhBtiq0zhLwTofFZhIGJupnMfwbF0Stsr9kEtJdQKH1fABs3u ljyw== X-Received: by 10.194.82.70 with SMTP id g6mr902703wjy.79.1400577367757; Tue, 20 May 2014 02:16:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.69.70 with HTTP; Tue, 20 May 2014 02:15:47 -0700 (PDT) From: Richard Edmands Date: Tue, 20 May 2014 19:15:47 +1000 Message-ID: To: codel Content-Type: multipart/alternative; boundary=047d7bb049e87c577304f9d15424 Subject: [Codel] Floating an Idea. ip_fq_codel 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: Tue, 20 May 2014 09:16:10 -0000 --047d7bb049e87c577304f9d15424 Content-Type: text/plain; charset=UTF-8 In my environment we've got a fair chunk of torrent usage happening (+ gaming) and with fq_codel giving the advantage to whichever individual could open up as many connections as possible the entire situation imploded very quickly. So to balance this out I used htb to implement the IP part of this (actually not really, i made groups of ip's which belonged to individuals) and stuck fq_codel on top of the divided setup. With this system what now happens is each IP now gets equal utilization of the link (actually, i'm a lazy hack. I only implemented the uplink section) which prevents the advantage of opening up as many connections as possible. Now when an individual decides to go nuts, they're limited to what is available to them without harming everyone else, without compromising maximum possible speed. I have had this running in my environment for the past month and WOW. See pastebin'd implementation. http://pastebin.com/hXtzFL9f --047d7bb049e87c577304f9d15424 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In my environment we've got a fair chunk of torre= nt usage happening (+ gaming) and with fq_codel giving the advantage to whi= chever individual could open up as many connections as possible the entire = situation imploded very quickly.
So to balance this out I used htb to implement the IP part of th= is (actually not really, i made groups of ip's which belonged to indivi= duals) and stuck fq_codel on top of the divided setup.
With t= his system what now happens is each IP now gets equal utilization of the li= nk (actually, i'm a lazy hack. I only implemented the uplink section) w= hich prevents the advantage of opening up as many connections as possible. =
Now when an individual decides to go nuts, they're limited to what is a= vailable to them without harming everyone else, without compromising maximu= m possible speed.

I have had this running in my environme= nt for the past month and WOW.

See pastebin'd implementation.
--047d7bb049e87c577304f9d15424--