From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 66DBC3B2A4 for ; Mon, 27 Feb 2023 18:36:26 -0500 (EST) Received: by mail-wr1-x430.google.com with SMTP id bt28so7941677wrb.8 for ; Mon, 27 Feb 2023 15:36:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=37K6SMQsWxe0bs9B5yIM76j2bj8RUr2P8KAZEXaVQqg=; b=axxyVf3JMULDalj8VLBWvja5IoTae0ohkBCpcOVXzIndqf/B4MLnHr3nWW0CGJfJWZ +3whK0TRXqqj0fUFWrpUQWIY3py+dPeaq46e2ukkCpnYnZGr64lvicp1GOZSQjfJkhkm jbdWK4jeAzrHM9tA4ciSxAjHI8Wz61Y/8GlG9+THbOk02dxstgiAlyV5IrTqbT8TqOoL G8ndQRcERKsf0zZqE0/YJXds5rPsbscoM1M3Kl+Uis/dl+ayT0AM4EWkROVerjBgJ+fN /H09vcqtQSD2z/iuB7LkN0jRSZ9t9k7egJcZBGcvwodsAKGyWZifAN2ttJhiGotwDqmG e3Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=37K6SMQsWxe0bs9B5yIM76j2bj8RUr2P8KAZEXaVQqg=; b=38fLJ+ffbkge5jOxwrHUsYUnIBL+TNtA2gwZGMGJ0qhS9KqFSXg83s7jelK791kM5Z qr0pORJ5HEAvYxiXBpM62LWVaiSSgsUcmIBf/2r5gURi9z5s9vobrVyIqZhbKzbiwhud 8wrnffwVzyMYThh1nuGWhmea2qqi1mj6B1CwsEtdbNZZy/8krxseCEYt1msUL24LkXfE gulmPhMvCUtOxpiGWT/5hDj6JF2snGHThUnO9tqTr+uvMch0LHz9des4B6pXri1BrAgv LNqMgUXmMiphuH7dES0CQtO2XfX5ZX8PNnZpryGxiM+HBphiZG2wNZyCgrPjQggUuTuW zKkA== X-Gm-Message-State: AO0yUKXNkVO/vvaaPNUqTQcgrupYfNd3sgCFnlY/2vm0t8wpXf1t2WZH RtKCm1/cgvmYkjLO3aSX/STxtLdCXSiaBIJ9WuCjgSKq X-Google-Smtp-Source: AK7set8uST9fVgt4+ojQcnDUIRIVjOFOEgX8FDhJ5e8jTTDUyaPXXVEMZOh7/97IVYVXFjQ/aoOcLtnnGuq9ynwj/wk= X-Received: by 2002:a5d:4c4e:0:b0:2c7:1483:ce01 with SMTP id n14-20020a5d4c4e000000b002c71483ce01mr157133wrt.0.1677540985263; Mon, 27 Feb 2023 15:36:25 -0800 (PST) MIME-Version: 1.0 References: <27972.1677357422@localhost> <20230225125425.7d440ba9@hermes.local> In-Reply-To: From: Dave Taht Date: Mon, 27 Feb 2023 15:36:14 -0800 Message-ID: To: Maximilian Bachl Cc: Stephen Hemminger , Michael Richardson via Bloat Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Bloat] WSL2 + fq_codel X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2023 23:36:26 -0000 On Mon, Feb 27, 2023 at 4:11=E2=80=AFAM Maximilian Bachl wrote: > > Yes, the default interface of WSL2 seems to use fq_codel: > > $ tc qdisc show dev eth0 > qdisc mq 0: root > qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5= .0ms interval 100.0ms memory_limit 32Mb ecn yay! Is there any sign that it is actually working as designed here (load it up with 16+ flows, see if you had drops or reschedules via tc -s qdisc show) > On Sat, Feb 25, 2023 at 11:07 PM Dave Taht via Bloat wrote: >> >> On Sat, Feb 25, 2023 at 12:54=E2=80=AFPM Stephen Hemminger >> wrote: >> > >> > On Sat, 25 Feb 2023 15:37:02 -0500 >> > Michael Richardson via Bloat wrote: >> > >> > > Dave Taht via Bloat wrote: >> > > > I so want to believe... I so want to believe... can anyone con= firm? >> > > >> > > > https://raw.githubusercontent.com/microsoft/WSL2-Linux-Kernel/= linux-msft-wsl-5.15.y/Microsoft/config-wsl >> > > >> > > But, AFAIK, WSL isn't a kernel. It's an implementation of the Linux= ABI on >> > > top of Windows service(s). If you told me that they build some of i= t from >> > > actual Linux kernel sources, I'd believe you. (Rather like User-Mod= e-Linux) >> > > >> > > If you told me that they have a kernel that they build for when they= actually >> > > spin up an actual VM (such as to run containers) that would also be = unsurprising. >> > > >> > > > ... >> > > >> > > > CONFIG_NET_SCH_DEFAULT=3Dy >> > > > CONFIG_DEFAULT_FQ_CODEL=3Dy >> > > > # CONFIG_DEFAULT_PFIFO_FAST is not set >> > > > CONFIG_DEFAULT_NET_SCH=3D"fq_codel" >> > > >> > > It would be nice if the billion windows desktops started doing >> > > something better, but I don't think it will help observed latency. >> > > The real question is what the default schedule for the default Azure= Linux VM >> > > is. >> > > >> > >> > I think WSL2 is actually a full Linux VM running in Hyper-V. >> >> Yes, it is. But it is kind of unknown how the underlying network >> interface is behaving in this case, as well as what the actual default >> qdisc is, and this not just a random gist. It was VERY exciting to see >> that gist go by... >> >> are there no windows users on this list? :/ We long ago should have >> pursued at least flent, and a TCP_INFO equivalent sampling method for >> windows. The closest thing we have for windows is the rust-based: >> https://github.com/Zoxc/crusader >> >> -- >> A pithy note on VOQs vs SQM: https://blog.cerowrt.org/post/juniper/ >> Dave T=C3=A4ht CEO, TekLibre, LLC >> _______________________________________________ >> Bloat mailing list >> Bloat@lists.bufferbloat.net >> https://lists.bufferbloat.net/listinfo/bloat --=20 A pithy note on VOQs vs SQM: https://blog.cerowrt.org/post/juniper/ Dave T=C3=A4ht CEO, TekLibre, LLC