From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) (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 DB1AE3B2A4 for ; Mon, 27 Feb 2023 18:32:38 -0500 (EST) Received: by mail-vs1-xe35.google.com with SMTP id f13so14011567vsg.6 for ; Mon, 27 Feb 2023 15:32:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Wf7j0TAe7/VF0v0oJD/TU0ToDnzEmE/q38al11h5Vyg=; b=lYk+aax332mQOqUbQGemoX7vASIHc5prU6g+mtWwrgHErDOBEaQQDjP3YPpK0FqmLq ehh351LOwXXzx9zhUpjmT4NofORTd0OvGRCgMJwFd+Rloiyo0Rj0TGXM0Bs+PxN93uAs VMGxgftW5oTys1KQxqflCuBUEYjtd8dAW1KXmvQFXhiEKEIwu0Tqrzus6mg0EpXrgQE/ 1EB/zOSVLgm23VaTkjka1NeBYd9klGIHVq9w7xFQz9K4aKvP7V/5kRhhI2AK9Fay/aSK tOak5UhCuvqHRbHInOLQjDyS74Y63/DnRrIfMQWjWHjeagLuid5IFeNMEvVYkgY700iK 0whg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=Wf7j0TAe7/VF0v0oJD/TU0ToDnzEmE/q38al11h5Vyg=; b=IxxJg54u9OoMH127psgOCPfm6n3uAS3thWu/N65Bm3Mk/S1jZTB80bPbwCLU71vb2a flpfAPbTLtj33YathAUsXqeiAeqzMfdiEHSt+o5Sr3BIEODHgvVwhJqxdDMEMH6sTJfg 7XnP2jcvi62/BBrmGExbIQWH77ru0isWk9BDYvZijOD74a0CctwFwSlttD1VLhIB0F3r 5C5SBjlFaXRTvAPlrQM9fuGctlG7LUUGM1x+uZkGAwUX+sVsGH2iy9AfDtAJ6yqEorl3 Ge1E8PAl092EawYLIzo8GHZFxtaIR+TEgfO/hCbx2kpeqmet+aR4oOJ6z0HSPtm5PdSw u/Iw== X-Gm-Message-State: AO0yUKVxFqX3b0iHOJs5bLXnLg9o+mDxvpe56B5hk3VdoBNIrwUnmHPX JLlBTcKBRf41Bw8DuV7fg/5k/Zmmt2VlFNYpRDKlSQ== X-Google-Smtp-Source: AK7set/fGt1h1SXgxhdxZgarKHZ1ig2wQicatPS22Zzt+Io0dQ3URigm/22IsQkfKsvJ44fCqvmadTDg0YXbxmaLees= X-Received: by 2002:a1f:a0c4:0:b0:401:2297:b2e0 with SMTP id j187-20020a1fa0c4000000b004012297b2e0mr212301vke.0.1677540758260; Mon, 27 Feb 2023 15:32:38 -0800 (PST) MIME-Version: 1.0 References: <27972.1677357422@localhost> <20230225125425.7d440ba9@hermes.local> In-Reply-To: From: Stephen Hemminger Date: Mon, 27 Feb 2023 15:32:27 -0800 Message-ID: To: Maximilian Bachl Cc: Dave Taht , Michael Richardson via Bloat Content-Type: multipart/alternative; boundary="000000000000fe259705f5b6e494" 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:32:38 -0000 --000000000000fe259705f5b6e494 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Should be whatever the Linux distro default is. Most people use Ubuntu On Mon, Feb 27, 2023, 4:11 AM 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 > > On Sat, Feb 25, 2023 at 11:07 PM Dave Taht via Bloat < > bloat@lists.bufferbloat.net> 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 >> confirm? >> > > >> > > > >> 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-Mode-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 >> > --000000000000fe259705f5b6e494 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Should be whatever the Linux distro default is. Most peop= le use Ubuntu=C2=A0

On Mon, Feb 27, 2023, 4:11 AM Maximilian Bachl <maximilian.bachl@gmail.com> wrote:
Yes, the default interface of WSL2 seems to= use fq_codel:=C2=A0

$ tc qdis= c show dev eth0
qdisc mq 0: root
qdisc fq_codel 0: parent :8 limit 10= 240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32M= b ecn
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 t= arget 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: par= ent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms m= emory_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 int= erval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: parent :3 limit 10= 240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32M= b ecn
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 t= arget 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: par= ent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms m= emory_limit 32Mb ecn


On Sat, Feb 25, 2023 at 11:07 PM Dave Taht v= ia Bloat <bloat@lists.bufferbloat.net> wrote:=
On Sat, Feb 25,= 2023 at 12:54=E2=80=AFPM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> On Sat, 25 Feb 2023 15:37:02 -0500
> Michael Richardson via Bloat <bloat@lists.buffe= rbloat.net> wrote:
>
> > Dave Taht via Bloat <bloat@lists.bufferblo= at.net> wrote:
> >=C2=A0 =C2=A0 =C2=A0> I so want to believe... I so want to beli= eve... can anyone confirm?
> >
> >=C2=A0 =C2=A0 =C2=A0> https://raw.git= hubusercontent.com/microsoft/WSL2-Linux-Kernel/linux-msft-wsl-5.15.y/Micros= oft/config-wsl
> >
> > But, AFAIK, WSL isn't a kernel.=C2=A0 It's an implementat= ion of the Linux ABI on
> > top of Windows service(s).=C2=A0 If you told me that they build s= ome of it from
> > actual Linux kernel sources, I'd believe you.=C2=A0 (Rather l= ike User-Mode-Linux)
> >
> > If you told me that they have a kernel that they build for when t= hey actually
> > spin up an actual VM (such as to run containers) that would also = be unsurprising.
> >
> >=C2=A0 =C2=A0 =C2=A0> ...
> >
> >=C2=A0 =C2=A0 =C2=A0> CONFIG_NET_SCH_DEFAULT=3Dy
> >=C2=A0 =C2=A0 =C2=A0> CONFIG_DEFAULT_FQ_CODEL=3Dy
> >=C2=A0 =C2=A0 =C2=A0> # CONFIG_DEFAULT_PFIFO_FAST is not set > >=C2=A0 =C2=A0 =C2=A0> CONFIG_DEFAULT_NET_SCH=3D"fq_codel&q= uot;
> >
> > It would be nice if the billion windows desktops started doing > > something better, but I don't think it will help observed lat= ency.
> > The real question is what the default schedule for the default Az= ure 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://blo= g.cerowrt.org/post/juniper/
Dave T=C3=A4ht CEO, TekLibre, LLC
_______________________________________________
Bloat mailing list
Bloat@lists.bufferbloat.net
https://lists.bufferbloat.net/list= info/bloat
--000000000000fe259705f5b6e494--