<div dir="ltr">elsewhere bql has been entering the virtio-net driver. <br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Heitor Alves de Siqueira</strong> <span dir="auto"><<a href="mailto:2003027@bugs.launchpad.net">2003027@bugs.launchpad.net</a>></span><br>Date: Wed, Jul 17, 2024 at 11:05 AM<br>Subject: [Bug 2003027] Re: fq_codel qdisc compiled but not enabled on 22.10<br>To: <<a href="mailto:dave.taht@gmail.com">dave.taht@gmail.com</a>><br></div><br><br>** Description changed:<br>
<br>
+ [ Impact ]<br>
+ 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.<br>
+ <br>
+ [ Test Plan ]<br>
+ 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.<br>
+ <br>
+ halves@noble-vm:~$ sysctl net.core.default_qdisc<br>
+ net.core.default_qdisc = fq_codel<br>
+ <br>
+ halves@noble-vm:~$ tc qdisc show<br>
+ qdisc noqueue 0: dev lo root refcnt 2<br>
+ qdisc mq 0: dev enp5s0 root<br>
+ 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<br>
+ <br>
+ [ Where Problems Could Occur ]<br>
+ Users relying on the default pfifo_fast qdisc could see different networking behavior.<br>
+ <br>
+ [ Other Info ]<br>
+ 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.<br>
+ <br>
+ Systemd's /usr/lib/50-default.conf file includes a lot of other settings<br>
+ that are either overruled elsewhere (e.g. from procps) or are entirely<br>
+ 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,<br>
+ so having a dedicated place under procps where other similar toggles are<br>
+ already present seems like the more appropriate solution.<br>
+ <br>
+ --<br>
+ [ Original Description ]<br>
fq_codel has been the default in ubuntu since #1436945<br>
<br>
It is also now the default in debian. Somewhere between 22.04 and 22.10<br>
though, it stopped being enabled by systemd? (it used to be enabled<br>
there via a sysctl), and thus 22.10 (I tried both ubuntu server and<br>
ubuntu studio) doesn't have it on. I rather *immediately* noticed this<br>
huge regression (I run my ethernet at 100Mbit, and thus immediately saw<br>
400+ms latency) - and I hope it can be fixed in the next release?<br>
<br>
it can also be made the default via compiling it into the kernel as a<br>
kernel default.<br>
<br>
Aggh! death to fifos!<br>
<br>
root@localhost:~# sysctl -a | grep qdisc<br>
net.core.default_qdisc = pfifo_fast<br>
<br>
- <br>
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<br>
- Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0) <br>
- backlog 0b 0p requeues 0<br>
+ Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0)<br>
+ backlog 0b 0p requeues 0<br>
<br>
-- <br>
You received this bug notification because you are subscribed to the bug<br>
report.<br>
<a href="https://bugs.launchpad.net/bugs/2003027" rel="noreferrer" target="_blank">https://bugs.launchpad.net/bugs/2003027</a><br>
<br>
Title:<br>
fq_codel qdisc compiled but not enabled on 22.10<br>
<br>
Status in Ubuntu:<br>
Confirmed<br>
<br>
Bug description:<br>
[ Impact ]<br>
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.<br>
<br>
[ Test Plan ]<br>
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.<br>
<br>
halves@noble-vm:~$ sysctl net.core.default_qdisc<br>
net.core.default_qdisc = fq_codel<br>
<br>
halves@noble-vm:~$ tc qdisc show<br>
qdisc noqueue 0: dev lo root refcnt 2<br>
qdisc mq 0: dev enp5s0 root<br>
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<br>
<br>
[ Where Problems Could Occur ]<br>
Users relying on the default pfifo_fast qdisc could see different networking behavior.<br>
<br>
[ Other Info ]<br>
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.<br>
<br>
Systemd's /usr/lib/50-default.conf file includes a lot of other<br>
settings that are either overruled elsewhere (e.g. from procps) or are<br>
entirely missing from our stable releases. Introducing a diff from<br>
Debian to ship this file only for the net.core.default_qdisc changes<br>
seems excessive, so having a dedicated place under procps where other<br>
similar toggles are already present seems like the more appropriate<br>
solution.<br>
<br>
--<br>
[ Original Description ]<br>
fq_codel has been the default in ubuntu since #1436945<br>
<br>
It is also now the default in debian. Somewhere between 22.04 and<br>
22.10 though, it stopped being enabled by systemd? (it used to be<br>
enabled there via a sysctl), and thus 22.10 (I tried both ubuntu<br>
server and ubuntu studio) doesn't have it on. I rather *immediately*<br>
noticed this huge regression (I run my ethernet at 100Mbit, and thus<br>
immediately saw 400+ms latency) - and I hope it can be fixed in the<br>
next release?<br>
<br>
it can also be made the default via compiling it into the kernel as a<br>
kernel default.<br>
<br>
Aggh! death to fifos!<br>
<br>
root@localhost:~# sysctl -a | grep qdisc<br>
net.core.default_qdisc = pfifo_fast<br>
<br>
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<br>
Sent 5250 bytes 53 pkt (dropped 0, overlimits 0 requeues 0)<br>
backlog 0b 0p requeues 0<br>
<br>
To manage notifications about this bug go to:<br>
<a href="https://bugs.launchpad.net/ubuntu/+bug/2003027/+subscriptions" rel="noreferrer" target="_blank">https://bugs.launchpad.net/ubuntu/+bug/2003027/+subscriptions</a><br>
<br>
</div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Artists/Musician Campout Aug 9-11</div><div><a href="https://www.eventbrite.com/e/healing-arts-event-tickets-928910826287" target="_blank">https://www.eventbrite.com/e/healing-arts-event-tickets-928910826287</a><br></div><div>Dave Täht CSO, LibreQos<br></div></div></div></div>