netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* knob to disable locally-originating qdisc optimisation?
@ 2023-04-26 12:54 Thorsten Glaser
  2023-04-27 20:21 ` Jakub Kicinski
  0 siblings, 1 reply; 15+ messages in thread
From: Thorsten Glaser @ 2023-04-26 12:54 UTC (permalink / raw)
  To: netdev; +Cc: Haye.Haehne

Hi,

when traffic (e.g. iperf) is originating locally (as opposed to
forward traffic), the Linux kernel seems to apply some optimisations
probably to reduce overall bufferbloat: when the qdisc is “full” or
(and especially) when its dequeue often returns NULL (because packets
are delayed), the sender traffic rate is reduced by as much as ⅓ with
40 ms extra latency (30 → 20 Mbit/s).

This is probably good in general but not so good for L4S where we
actually want the packets to queue up in the qdisc so they get ECN
marking appropriately (I guess there probably are some socket ioctls
or something with which the sending application could detect this
state; if so, we’d be interested in knowing about them as well).

This is especially bad in a testbed for writing L4S-aware applications,
so if there’s a knob (sysctl or something) to disable this optimisation
please do tell (I guess probably not, but asking doesn’t hurt).

Thanks,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

                        ****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!
                        ****************************************************

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-05-17 15:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-26 12:54 knob to disable locally-originating qdisc optimisation? Thorsten Glaser
2023-04-27 20:21 ` Jakub Kicinski
2023-04-27 23:37   ` Stephen Hemminger
2023-05-16 16:38     ` Thorsten Glaser
2023-05-16 19:23       ` Toke Høiland-Jørgensen
2023-05-16 20:20         ` Thorsten Glaser
2023-05-16 22:11           ` Toke Høiland-Jørgensen
2023-05-16 23:01             ` Stephen Hemminger
2023-05-16 23:40               ` Thorsten Glaser
2023-05-16 23:44                 ` Stephen Hemminger
2023-05-16 23:47                   ` Thorsten Glaser
2023-05-17  3:02                     ` Stephen Hemminger
2023-05-17 15:53                       ` Thorsten Glaser
2023-05-16 23:41             ` Thorsten Glaser
2023-05-17 10:00               ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).