lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8a8c3e3b-b866-d723-552-c27bb33788f3@tarent.de>
Date:   Wed, 26 Apr 2023 14:54:30 +0200 (CEST)
From:   Thorsten Glaser <t.glaser@...ent.de>
To:     netdev@...r.kernel.org
cc:     Haye.Haehne@...ekom.de
Subject: knob to disable locally-originating qdisc optimisation?

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!
                        ****************************************************

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ