From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id F0FB321F181 for ; Fri, 12 Jul 2013 08:13:23 -0700 (PDT) Received: by mail-pd0-f170.google.com with SMTP id x11so8724578pdj.15 for ; Fri, 12 Jul 2013 08:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:x-mailer:content-transfer-encoding:mime-version; bh=9iEvNP0s29RHnOqPAmzJUUaEMB8LqET7kxmXjtcDyNg=; b=j2khV4dGGIWAuHSZbnjtmbUQ+IcHKhz6lUKlzGwL/pY1ibDOAsDy+pw0Xnj5RzGURy 3f4smOOsWIS+fsxEAWlyduAMKTeneBJk/CDp7w5Dsbu3Xv1qtprFNuAvttCJYKofRhB5 dQa5fJAxKwnshLJ/zLn3VRnZjGf/K1bGZOotkpOKJTXOPGRcBzHOZo6mt50zA0j+nIBb hM8TBuRHFM5ZMV5+eLKonMXV3pTNi2Afy8xJVOc+hJ9sE8MZ8JKbgsVKBD793MerEbYN 5tlYKtgYQFywOITo46SGsrmGmQpLp88fQHWNF1lZD0R2NfSeQnNhOTn8OnnBQCiG25Li iOSg== X-Received: by 10.68.179.35 with SMTP id dd3mr42082751pbc.199.1373642003301; Fri, 12 Jul 2013 08:13:23 -0700 (PDT) Received: from [172.19.249.254] ([172.19.249.254]) by mx.google.com with ESMTPSA id nr8sm34816269pbc.6.2013.07.12.08.13.22 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 12 Jul 2013 08:13:22 -0700 (PDT) Message-ID: <1373642001.10804.18.camel@edumazet-glaptop> From: Eric Dumazet To: Jesper Dangaard Brouer Date: Fri, 12 Jul 2013 08:13:21 -0700 In-Reply-To: <20130712113413.4b601800@redhat.com> References: <1373564673.4600.55.camel@edumazet-glaptop> <1373568848.4600.66.camel@edumazet-glaptop> <20130712113413.4b601800@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Cc: codel@lists.bufferbloat.net Subject: Re: [Codel] hardware multiqueue in 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: Fri, 12 Jul 2013 15:13:24 -0000 On Fri, 2013-07-12 at 11:34 +0200, Jesper Dangaard Brouer wrote: > I also think of "fq_codel" as a good replacement for pfifo_fast. As > the 3-PRIO bands in pfifo_fast is replaced with something smarter in > "fq_codel". (IMHO please don't try to add a prio_fq_codel, just be because > pfifo_fast had prio bands, people can just enable a prio qdisc if they > really need it). Nope. Its really easy for an attacker to flood your fq_codel with say UDP messages on all available hash slots. Some people really want the high prio packets to be sent before any med/low prio packets. Not everybody uses a separate ethernet port for management and heartbeats. If we want to replace pfifo_fast as the default qdisc, we want some integrated qdisc with 3 bands. I presume something really simple like : a fifo for band 0 messages a fq_codel for band 1 messages a fifo for band 2 messages Would be more than enough, and this also should use device txqueue len as the (dynamic) limit, because some existing scripts expect to control qdisc limit using "ifconfig eth0 txqueuelen 100", not a tc script.