From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by huchra.bufferbloat.net (Postfix) with ESMTP id 5451C21F1CF; Tue, 14 May 2013 05:12:15 -0700 (PDT) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4ECC8gm002690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 May 2013 08:12:08 -0400 Received: from localhost (ovpn-116-64.ams2.redhat.com [10.36.116.64]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r4ECC5E2007206; Tue, 14 May 2013 08:12:06 -0400 From: Jesper Dangaard Brouer To: Dan Siemon Message-ID: <20130514141203.37787649@redhat.com> In-Reply-To: <1368498364.1479.5.camel@ganymede.home> References: <51817A6F.1080006@superduper.net> <86AA48E0-B5CD-4A94-AF2B-D75178E8C660@gmail.com> <5181CD56.9050501@superduper.net> <71A0D0CD-9095-4AA5-93C3-FF55CC495788@gmail.com> <1368498364.1479.5.camel@ganymede.home> Organization: Red Hat Inc. Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Mailman-Approved-At: Tue, 11 Jun 2013 08:13:06 -0700 Cc: Jonathan Morton , codel@lists.bufferbloat.net, cerowrt-devel@lists.bufferbloat.net, bloat@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] [Codel] [Bloat] Latest codel, fq_codel, and pie sim study from cablelabs now available X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 14 May 2013 12:12:15 -0000 X-Original-Date: Tue, 14 May 2013 14:12:03 +0200 X-List-Received-Date: Tue, 14 May 2013 12:12:15 -0000 On Mon, 13 May 2013 22:26:04 -0400 Dan Siemon wrote: > On Thu, 2013-05-02 at 15:04 +0300, Jonathan Morton wrote: > > I can easily see a four-tier system working for most consumers, just > > so long as the traffic for each tier can be identified - each tier > > would have it's own fq_codel queue: I generally like it, but some notes below. > > 1) Network control traffic, eg. DNS, ICMP, even SYNs and pure ACKs - > > max 1/16th bandwidth, top priority I used a separate queue for ACK packets, and directly calculated the needed bandwidth for ACK packets based on the downstream link. See: http://sourceforge.net/p/adsl-optimizer/code/HEAD/tree/trunk/kode/optimizer/queues/include/functions.inc#l94 (My future idea was to implement an ACK aware qdisc, that would drop accumulative ACK packets or delay ACKs to influence downstream behavior) > > 2) Latency-sensitive unresponsive flows, eg. VoIP and gaming - max > > 1/4 bandwidth, high priority > > > > 3) Ordinary bulk traffic, eg. web browsing, email, general purpose > > protocols - no bandwidth limit, normal priority So, these two above is "known-good" traffic, that gets categorized into these. > > 4) Background traffic, eg. BitTorrent - no bandwidth limit, low > > priority, voluntarily marked, competes at 1:4 with normal. I worked with two classes for this, (1) a default fall-through traffic class, where uncategorized traffic end-up. (2) a known "bad" low-prio traffic class, for traffic I could categorize as BitTorrent etc. http://sourceforge.net/p/adsl-optimizer/code/HEAD/tree/trunk/kode/optimizer/queues/htb/optimizer_htb.sh#l227 > The above is close to what I implemented: > http://git.coverfire.com/?p=linux-qos-scripts.git;a=blob;f=src-3tos.sh;h=3e88c2fa5f2feb0163c052086541ba17579a3c37;hb=HEAD Nice, and thank you for mentioning my (old) site: http://www.adsl-optimizer.dk And actually have a script that mentions (and can use) the ADSL linklayer options :-) > The above aims for per-host fairness and three tiers per host. Each > tier has an fq_codel QDisc (configurable). > > Some performance results can be found at: > http://www.coverfire.com/archives/2013/01/01/improving-my-home-internet-performance/ p.s. I love your "ping-exp" tool and the nice graphs it generates! Others go clone: git clone http://git.coverfire.com/ping-exp.git -- Best regards, Jesper Dangaard Brouer MSc.CS, Sr. Network Kernel Developer at Red Hat Author of http://www.iptv-analyzer.org LinkedIn: http://www.linkedin.com/in/brouer