From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f51.google.com (mail-yh0-f51.google.com [209.85.213.51]) (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 1404A21F1D7 for ; Tue, 21 Oct 2014 11:07:09 -0700 (PDT) Received: by mail-yh0-f51.google.com with SMTP id t59so1928817yho.38 for ; Tue, 21 Oct 2014 11:07:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=DpQc1+6TBvSWMMAcGU45PV/wO1okDphHMNXdE5nS8VU=; b=lUydDzjXpasJ2O6zb+o+vgPd5gV+uvYrSVcamnzCH963Pau0MRjkjd9HMvEEjrlaRF 0LeapCLC/4a8bnHiqaUSokcfolWFtYBTRkncxzPfDA36JE7njz0QrKxS6DtfJscohBll O3eS+lHPOjMe0AZLm9Hh3wP/6KSzlhMfIRCtWWSOKuyVVs/WFQvvfePytsvmz+Ebp7Mc vPlsg8yV5mw6YWUiCG/LDVcn/B2p5Yhzt067if+xsB62fe0Lxssd0RK5J3J2zTYXQ19V s4NTiUbud+/pqCgDdFOp1asFMplRoPjDcw2d0dAiuuzht4kOV/0Oc6+ye+YECIuUgR8W 2BJQ== X-Gm-Message-State: ALoCoQmS4B01ZEEDLPpwtVmAJaeSEPwQVE/CbMuxMvv4uoHezOxydv91gFnmka9opkAmg8Mtz32S X-Received: by 10.236.216.49 with SMTP id f47mr17259270yhp.114.1413914828658; Tue, 21 Oct 2014 11:07:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.157.70 with HTTP; Tue, 21 Oct 2014 11:06:48 -0700 (PDT) X-Originating-IP: [88.88.32.23] In-Reply-To: <54469B96.50204@redhat.com> References: <121767.1413574248@turing-police.cc.vt.edu> <9382.1413826910@turing-police.cc.vt.edu> <544672D3.8020709@redhat.com> <58702.1413908858@turing-police.cc.vt.edu> <54469242.5010506@redhat.com> <54469B96.50204@redhat.com> From: Tom Gundersen Date: Tue, 21 Oct 2014 20:06:48 +0200 Message-ID: To: Michal Schmidt Content-Type: text/plain; charset=UTF-8 Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] SQM in mainline openwrt, fq_codel considered for fedora default 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: , X-List-Received-Date: Tue, 21 Oct 2014 18:07:38 -0000 On Tue, Oct 21, 2014 at 7:44 PM, Michal Schmidt wrote: > On 10/21/2014 07:24 PM, Tom Gundersen wrote: >> I have now subscribed to cerowrt-devel (long overdue), and I would >> very much appreciate any comments you guys may have on our networking >> work in systemd. In particular, if there are any more tweaks like >> making fq_codel the deafult, which would be the reasonable choice for >> 95% of users (most of whom don't know about these things and would >> otherwise never touch them), we are very open to suggestions. > > An idea: Can networkd configure interfaces' txqueuelen? > (Though with BQL and codel maybe it's not that important anymore.) Hm, the way I read the docs, figuring out the "good" values is not that straight-forward, and doing this will anyway be obsolete soon, so not sure we should be setting anything by default. However, we probably should make it much simpler to configure. We could add support for both ringbuffer and quelength sizes to our link files [0], so admins colud implement the bufferbloat recommendations by doing something like: ----8<------ /etc/systemd/network/00-wlan.link [Match] Type=wlan [Link] TransmitRingBuffer=4 TransmitQueueLength=16 ----8<------ (suggestions welcome for the naming of the variables and also for man page sections). These settings would then be applied by udev to any udev interface as it appears (and before libudev notifies applications about its existence). Does something like this make sense? Cheers, Tom [0]: [1]: