From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 5034C3B29E for ; Sat, 2 Jan 2021 13:26:56 -0500 (EST) Received: by mail-il1-x134.google.com with SMTP id u12so21594570ilv.3 for ; Sat, 02 Jan 2021 10:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jAEizfPSRbFkMrPfQGcyx5XKSuIi+G7w9Qn0+7uhH0U=; b=Ey8juNCsGrwniP+r/0ZlM8Jyc/+Ad2g3ZnrOunA2DU9H8lUB1l75PGRBE/9izPaVSO hJSBSuwrtHeU6OSjKoORA0fZSOYCmD8FWfYYEPNgy6QEHcOMFLPIpC0BeVf+nQmu60bw ABDaAHDCaOhpxfxCyii1vNt0YICYA53DnE8GTEMcC5NV2aVrSkJUnqjqcuZQz7nUHCYI U4uObMKej1NjWMDGwEAJRyyvyPMURxfLj+3RFK/wzPsz84OSDPGrwxhLtfuCxZ8rY50a W8Xl/S4I49Dv2HeHwPDLJWWO9DIWZZn+2CGWxf/jX9KBXpI2cc1Wr+vnjGcPyOh+V8Rq DBLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jAEizfPSRbFkMrPfQGcyx5XKSuIi+G7w9Qn0+7uhH0U=; b=sZtl3YzUIEwqrgr7Hqlf9E2jVY7y4VC/dfdCzAQYHzDJuA4bSXjBTVC+dpjEzfs0ci doXgGcefAEm68c+qKuDGffymT7aFfyt1OtBpMwMe8MzDEn7NA12u47CXJpJuHCzAgi6L NYxMRX1NpNPSbOBVKJhqpfZJSpJNUyrBqU+5x1acIt1jt/Wa5KOuR/SX3Wpn5dnXpfMD wgMMhYeKptk3jluHsNHULsWVzCOx3vW7EEHqUSpxOafDeHzL7VuQ1Fh2zmhsgNahFIEe g7sDdfCtHLHcghaZAKYPAS6AixhPiJxZ71J++eJ8K7lGG0e36lexpcNPak1D+J7ao/Zw KObQ== X-Gm-Message-State: AOAM532ofVoNK0mV7LqySPVIgyQ6y2pWA0EBZFaoG7ZKB+O+4oS+vQ/E RbcySM5ZGJ1AgN//cJ8xwsYGR1VpQ2lIgiQYVko= X-Google-Smtp-Source: ABdhPJzKX9etzoIZX6cnZ/RqqPMg6S1SP1VvdabB6rjjTDv54gbhmk/jUGD+Lo/rdeFN9Z6qLA6JggXBTUFIFZoaLCk= X-Received: by 2002:a05:6e02:118b:: with SMTP id y11mr62936308ili.45.1609612015675; Sat, 02 Jan 2021 10:26:55 -0800 (PST) MIME-Version: 1.0 References: <11136.1609611669@turing-police> In-Reply-To: <11136.1609611669@turing-police> From: Dave Taht Date: Sat, 2 Jan 2021 10:26:44 -0800 Message-ID: To: =?UTF-8?Q?Valdis_Kl=C4=93tnieks?= Cc: cerowrt-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Cerowrt-devel] Somebody want to hit me with a clue-by-four regarding fq_codel? X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2021 18:26:56 -0000 wlan0 is using the native fq_codel implementation if you see a aqm field in the sysfs, and noqueue for all other wifi devices as the drivers themselves were so overbuffered there was no point in pfifo_fast for them. systemd is supposed to set fq_codel for you in /etc/sysctl.conf or elsewhere, for your ethernet. On Sat, Jan 2, 2021 at 10:21 AM Valdis Kl=C4=93tnieks wrote: > > OK, what am I missing here? Laptop, linux-next kernel from last week. > And we'll skip the food fight about whether fq_codel makes sense for > end nodes - this is a different issue.. > > I've set fq_codel as the default qdisc > > [/proc/sys/net] cat core/default_qdisc > fq_codel > > but it's not being used? > > [/proc/sys/net] tc -s qdisc show > qdisc noqueue 0: dev lo root refcnt 2 > Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > backlog 0b 0p requeues 0 > qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 = 0 1 1 1 1 1 1 1 1 > Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > backlog 0b 0p requeues 0 > qdisc noqueue 0: dev wlan0 root refcnt 2 > Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) > backlog 0b 0p requeues 0 > > But if I give it a kick in the head... > > [/proc/sys/net] tc qdisc add dev wlan0 root fq_codel > [/proc/sys/net] tc -s qdisc show dev wlan0 > qdisc fq_codel 8001: root refcnt 2 limit 10240p flows 1024 quantum 1514 t= arget 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64 > Sent 812 bytes 12 pkt (dropped 0, overlimits 0 requeues 0) > backlog 0b 0p requeues 0 > maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0 > new_flows_len 0 old_flows_len 0 > > (Admittedly, my first guess is "systemd is probably being its fascist sel= f > and setting it to what *it* thinks things should be like"... :) > > > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel --=20 "For a successful technology, reality must take precedence over public relations, for Mother Nature cannot be fooled" - Richard Feynman dave@taht.net CTO, TekLibre, LLC Tel: 1-831-435-0729