From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc30.google.com (mail-oo1-xc30.google.com [IPv6:2607:f8b0:4864:20::c30]) (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 39AA13B29D for ; Wed, 17 Jul 2024 16:11:23 -0400 (EDT) Received: by mail-oo1-xc30.google.com with SMTP id 006d021491bc7-5d4fb707895so15037eaf.0 for ; Wed, 17 Jul 2024 13:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721247080; x=1721851880; darn=lists.bufferbloat.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=2PpAyvObXc1iuitF17vDhyiOqWxmf3UPQ37PfnbuBd0=; b=baRwsJFOlw5ITrwfWQX4Jwk/6VmSq1L7jqRRpCv8NELHbC2ZJKjt7DQ4O62Y4nwzL2 OCYj6s/QSWvAL/zSntOSskr4QuxT0dSAqQkxHjJbPI58fnJ5oyacO7fCWTfQMcunrvBl MSqDaVtPdXA9VONgeGBVo+idIMpF6JzJm0Pffv7frb75so5mC+wWMSQcw0vYNbD616A4 BE2Dd3HnVbrB4goKgqLdt/Mfk/3bF9njcQSvtiWUsIsTCk2A41u0XEdtGBjopOcaxuXO RNQVNc5b2sMYzVfxBF+Tn4+bnGu/2namVvUj+4rYgiNvMDd7OJWoDrix0z091c8oymvw TnTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721247080; x=1721851880; h=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=2PpAyvObXc1iuitF17vDhyiOqWxmf3UPQ37PfnbuBd0=; b=nPqZjLo/lfaBD9Ua+0f4wDqJ1/g923CenWNGFgjKDk7IhwKtg5eEe0UVFzKSWOhJuW 5HwLPnI0ELx6yRApMYspSJ8/PMVsDRK4uhHl1nKmvClxoRnD1qmwDaH16iMz2mIFpmSO 7f38cr5jVh2fCjyGLjWVwpwqahuKL788QhR0sUMhpk8iSmMIpuv0Y2kbT/Idpxg7keRs FF0wOARIKB6YXvrRWagLmu1a+uyHBeBpy/uZd6rROdrCTOFDKB96M9wtXe7sSuCgcrfQ V5G5FV/CxRzOk6ob1kpFB49noV3RGHsOyUHKGtCth2mP3mRVcwvup4UAskUDHVwLaE5h VO5w== X-Gm-Message-State: AOJu0Yz80sL0ks7QBi3YO+Id2Issr6pcgzHdaKdur/tqqKl6vMtKTh1/ Gtli360FtZ2oAK8l0R6ki5mwXNRMdMRYOHaoM0GD/FmLuSN/PF7RTy3a56Qo65zWukZRCU/qnl2 iz9Ne0TPK31OWhr5Q1sZ7vpW+mNQx0A== X-Google-Smtp-Source: AGHT+IH0RcNxon2b2eXpXFpjUSQmD0oe263jYb9tas4+ODMk4W74Nc/3j6kdZqDJiWK9EZEZYDJez7CfIj8ymdY7tt0= X-Received: by 2002:a05:6870:420b:b0:25d:fab0:b6f4 with SMTP id 586e51a60fabf-260ee7319c2mr545032fac.1.1721247080357; Wed, 17 Jul 2024 13:11:20 -0700 (PDT) MIME-Version: 1.0 References: <167391926824.54281.9157255102869781453.malonedeb@angus.canonical.com> <172123902034.2098755.796902139436632085.launchpad@juju-98d295-prod-launchpad-2> In-Reply-To: <172123902034.2098755.796902139436632085.launchpad@juju-98d295-prod-launchpad-2> From: Dave Taht Date: Wed, 17 Jul 2024 13:11:07 -0700 Message-ID: To: bloat Content-Type: multipart/alternative; boundary="000000000000cba81f061d7710f3" Subject: [Bloat] Fwd: [Bug 2003027] Re: fq_codel qdisc compiled but not enabled on 22.10 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: Wed, 17 Jul 2024 20:11:23 -0000 --000000000000cba81f061d7710f3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable elsewhere bql has been entering the virtio-net driver. ---------- Forwarded message --------- From: Heitor Alves de Siqueira <2003027@bugs.launchpad.net> Date: Wed, Jul 17, 2024 at 11:05=E2=80=AFAM Subject: [Bug 2003027] Re: fq_codel qdisc compiled but not enabled on 22.10 To: ** Description changed: + [ Impact ] + Starting with Ubuntu 22.10, the default qdisc regressed to pfifo_fast. This is due to a change we merged from Debian, removing systemd's /usr/lib/50-default.conf file. pfifo_fast does not prevent bufferbloat issues, severely degrading networking performance on Ubuntu systems. + + [ Test Plan ] + On an Ubuntu VM, check that net.core.default_qdisc is set to 'fq_codel'. `tc qdisc show` should also confirm fq_codel is being used. + + halves@noble-vm:~$ sysctl net.core.default_qdisc + net.core.default_qdisc =3D fq_codel + + halves@noble-vm:~$ tc qdisc show + qdisc noqueue 0: dev lo root refcnt 2 + qdisc mq 0: dev enp5s0 root + qdisc fq_codel 0: dev enp5s0 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64 + + [ Where Problems Could Occur ] + Users relying on the default pfifo_fast qdisc could see different networking behavior. + + [ Other Info ] + Instead of adding a sysctl.conf file, Debian has decided to change their default kernel configs to use fq_codel. This has the disadvantage of being "hidden" from end users, instead of being a queryable setting in e.g. /etc/sysctl.d/, and all kernel documentation still refers to pfifo_fast as being the default. + + Systemd's /usr/lib/50-default.conf file includes a lot of other settings + that are either overruled elsewhere (e.g. from procps) or are entirely + missing from our stable releases. Introducing a diff from Debian to ship + this file only for the net.core.default_qdisc changes seems excessive, + so having a dedicated place under procps where other similar toggles are + already present seems like the more appropriate solution. + + -- + [ Original Description ] fq_codel has been the default in ubuntu since #1436945 It is also now the default in debian. Somewhere between 22.04 and 22.10 though, it stopped being enabled by systemd? (it used to be enabled there via a sysctl), and thus 22.10 (I tried both ubuntu server and ubuntu studio) doesn't have it on. I rather *immediately* noticed this huge regression (I run my ethernet at 100Mbit, and thus immediately saw 400+ms latency) - and I hope it can be fixed in the next release? it can also be made the default via compiling it into the kernel as a kernel default. Aggh! death to fifos! root@localhost:~# sysctl -a | grep qdisc net.core.default_qdisc =3D pfifo_fast - disc pfifo_fast 0: dev eth0 parent :1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 - Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0) - backlog 0b 0p requeues 0 + Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0) + backlog 0b 0p requeues 0 --=20 You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/2003027 Title: fq_codel qdisc compiled but not enabled on 22.10 Status in Ubuntu: Confirmed Bug description: [ Impact ] Starting with Ubuntu 22.10, the default qdisc regressed to pfifo_fast. This is due to a change we merged from Debian, removing systemd's /usr/lib/50-default.conf file. pfifo_fast does not prevent bufferbloat issues, severely degrading networking performance on Ubuntu systems. [ Test Plan ] On an Ubuntu VM, check that net.core.default_qdisc is set to 'fq_codel'. `tc qdisc show` should also confirm fq_codel is being used. halves@noble-vm:~$ sysctl net.core.default_qdisc net.core.default_qdisc =3D fq_codel halves@noble-vm:~$ tc qdisc show qdisc noqueue 0: dev lo root refcnt 2 qdisc mq 0: dev enp5s0 root qdisc fq_codel 0: dev enp5s0 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64 [ Where Problems Could Occur ] Users relying on the default pfifo_fast qdisc could see different networking behavior. [ Other Info ] Instead of adding a sysctl.conf file, Debian has decided to change their default kernel configs to use fq_codel. This has the disadvantage of being "hidden" from end users, instead of being a queryable setting in e.g. /etc/sysctl.d/, and all kernel documentation still refers to pfifo_fast as being the default. Systemd's /usr/lib/50-default.conf file includes a lot of other settings that are either overruled elsewhere (e.g. from procps) or are entirely missing from our stable releases. Introducing a diff from Debian to ship this file only for the net.core.default_qdisc changes seems excessive, so having a dedicated place under procps where other similar toggles are already present seems like the more appropriate solution. -- [ Original Description ] fq_codel has been the default in ubuntu since #1436945 It is also now the default in debian. Somewhere between 22.04 and 22.10 though, it stopped being enabled by systemd? (it used to be enabled there via a sysctl), and thus 22.10 (I tried both ubuntu server and ubuntu studio) doesn't have it on. I rather *immediately* noticed this huge regression (I run my ethernet at 100Mbit, and thus immediately saw 400+ms latency) - and I hope it can be fixed in the next release? it can also be made the default via compiling it into the kernel as a kernel default. Aggh! death to fifos! root@localhost:~# sysctl -a | grep qdisc net.core.default_qdisc =3D pfifo_fast disc pfifo_fast 0: dev eth0 parent :1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2003027/+subscriptions --=20 Artists/Musician Campout Aug 9-11 https://www.eventbrite.com/e/healing-arts-event-tickets-928910826287 Dave T=C3=A4ht CSO, LibreQos --000000000000cba81f061d7710f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
elsewhere bql has been entering the virtio-net driver.=C2= =A0

---------- Forwarded message ---------
From: Heitor Alves de Siqueira = <2003027@bugs.launchpad.ne= t>
Date: Wed, Jul 17, 2024 at 11:05=E2=80=AFAM
Subject:= [Bug 2003027] Re: fq_codel qdisc compiled but not enabled on 22.10
To: = <dave.taht@gmail.com>
=


** Description changed:

+ [ Impact ]
+ Starting with Ubuntu 22.10, the default qdisc regressed to pfifo_fast. Th= is is due to a change we merged from Debian, removing systemd's /usr/li= b/50-default.conf file. pfifo_fast does not prevent bufferbloat issues, sev= erely degrading networking performance on Ubuntu systems.
+
+ [ Test Plan ]
+ On an Ubuntu VM, check that net.core.default_qdisc is set to 'fq_code= l'. `tc qdisc show` should also confirm fq_codel is being used.
+
+ halves@noble-vm:~$ sysctl net.core.default_qdisc
+ net.core.default_qdisc =3D fq_codel
+
+ halves@noble-vm:~$ tc qdisc show
+ qdisc noqueue 0: dev lo root refcnt 2
+ qdisc mq 0: dev enp5s0 root
+ qdisc fq_codel 0: dev enp5s0 parent :1 limit 10240p flows 1024 quantum 15= 14 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64
+
+ [ Where Problems Could Occur ]
+ Users relying on the default pfifo_fast qdisc could see different network= ing behavior.
+
+ [ Other Info ]
+ Instead of adding a sysctl.conf file, Debian has decided to change their = default kernel configs to use fq_codel. This has the disadvantage of being = "hidden" from end users, instead of being a queryable setting in = e.g. /etc/sysctl.d/, and all kernel documentation still refers to pfifo_fas= t as being the default.
+
+ Systemd's /usr/lib/50-default.conf file includes a lot of other setti= ngs
+ that are either overruled elsewhere (e.g. from procps) or are entirely + missing from our stable releases. Introducing a diff from Debian to ship<= br> + this file only for the net.core.default_qdisc changes seems excessive, + so having a dedicated place under procps where other similar toggles are<= br> + already present seems like the more appropriate solution.
+
+ --
+ [ Original Description ]
=C2=A0 fq_codel has been the default in ubuntu since #1436945

=C2=A0 It is also now the default in debian. Somewhere between 22.04 and 22= .10
=C2=A0 though, it stopped being enabled by systemd? (it used to be enabled<= br> =C2=A0 there via a sysctl), and thus 22.10 (I tried both ubuntu server and<= br> =C2=A0 ubuntu studio) doesn't have it on. I rather *immediately* notice= d this
=C2=A0 huge regression (I run my ethernet at 100Mbit, and thus immediately = saw
=C2=A0 400+ms latency) - and I hope it can be fixed in the next release?
=C2=A0 it can also be made the default via compiling it into the kernel as = a
=C2=A0 kernel default.

=C2=A0 Aggh! death to fifos!

=C2=A0 root@localhost:~# sysctl -a | grep qdisc
=C2=A0 net.core.default_qdisc =3D pfifo_fast

-
=C2=A0 disc pfifo_fast 0: dev eth0 parent :1 bands 3 priomap 1 2 2 2 1 2 0 = 0 1 1 1 1 1 1 1 1
-=C2=A0 Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0)
-=C2=A0 backlog 0b 0p requeues 0
+ =C2=A0Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0)
+ =C2=A0backlog 0b 0p requeues 0

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/2003027

Title:
=C2=A0 fq_codel qdisc compiled but not enabled on 22.10

Status in Ubuntu:
=C2=A0 Confirmed

Bug description:
=C2=A0 [ Impact ]
=C2=A0 Starting with Ubuntu 22.10, the default qdisc regressed to pfifo_fas= t. This is due to a change we merged from Debian, removing systemd's /u= sr/lib/50-default.conf file. pfifo_fast does not prevent bufferbloat issues= , severely degrading networking performance on Ubuntu systems.

=C2=A0 [ Test Plan ]
=C2=A0 On an Ubuntu VM, check that net.core.default_qdisc is set to 'fq= _codel'. `tc qdisc show` should also confirm fq_codel is being used.
=C2=A0 halves@noble-vm:~$ sysctl net.core.default_qdisc
=C2=A0 net.core.default_qdisc =3D fq_codel

=C2=A0 halves@noble-vm:~$ tc qdisc show
=C2=A0 qdisc noqueue 0: dev lo root refcnt 2
=C2=A0 qdisc mq 0: dev enp5s0 root
=C2=A0 qdisc fq_codel 0: dev enp5s0 parent :1 limit 10240p flows 1024 quant= um 1514 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64

=C2=A0 [ Where Problems Could Occur ]
=C2=A0 Users relying on the default pfifo_fast qdisc could see different ne= tworking behavior.

=C2=A0 [ Other Info ]
=C2=A0 Instead of adding a sysctl.conf file, Debian has decided to change t= heir default kernel configs to use fq_codel. This has the disadvantage of b= eing "hidden" from end users, instead of being a queryable settin= g in e.g. /etc/sysctl.d/, and all kernel documentation still refers to pfif= o_fast as being the default.

=C2=A0 Systemd's /usr/lib/50-default.conf file includes a lot of other<= br> =C2=A0 settings that are either overruled elsewhere (e.g. from procps) or a= re
=C2=A0 entirely missing from our stable releases. Introducing a diff from =C2=A0 Debian to ship this file only for the net.core.default_qdisc changes=
=C2=A0 seems excessive, so having a dedicated place under procps where othe= r
=C2=A0 similar toggles are already present seems like the more appropriate<= br> =C2=A0 solution.

=C2=A0 --
=C2=A0 [ Original Description ]
=C2=A0 fq_codel has been the default in ubuntu since #1436945

=C2=A0 It is also now the default in debian. Somewhere between 22.04 and =C2=A0 22.10 though, it stopped being enabled by systemd? (it used to be =C2=A0 enabled there via a sysctl), and thus 22.10 (I tried both ubuntu
=C2=A0 server and ubuntu studio) doesn't have it on. I rather *immediat= ely*
=C2=A0 noticed this huge regression (I run my ethernet at 100Mbit, and thus=
=C2=A0 immediately saw 400+ms latency) - and I hope it can be fixed in the<= br> =C2=A0 next release?

=C2=A0 it can also be made the default via compiling it into the kernel as = a
=C2=A0 kernel default.

=C2=A0 Aggh! death to fifos!

=C2=A0 root@localhost:~# sysctl -a | grep qdisc
=C2=A0 net.core.default_qdisc =3D pfifo_fast

=C2=A0 disc pfifo_fast 0: dev eth0 parent :1 bands 3 priomap 1 2 2 2 1 2 0 = 0 1 1 1 1 1 1 1 1
=C2=A0 =C2=A0Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0) =C2=A0 =C2=A0backlog 0b 0p requeues 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/= 2003027/+subscriptions



--
Artists/Musician Campout Aug 9-1= 1
Dave T=C3=A4ht CSO, LibreQo= s
--000000000000cba81f061d7710f3--