]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic/pacing: add burst support
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 18 Nov 2024 14:31:12 +0000 (15:31 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 19 Nov 2024 15:16:48 +0000 (16:16 +0100)
commit886a7c475cee89f39731b3518f6a10615756636a
tree6ba173924def11b55bf6276cf9e5905eba5970cb
parent8039fe43e621dcb5c07c4b7fd3427ae0fd1efdd5
MINOR: quic/pacing: add burst support

qc_send_mux() has been extended previously to support pacing emission.
This will ensure that no more than one datagram will be emitted during
each invokation. However, to achieve better performance, it may be
necessary to emit a batch of several datagrams one one turn.

A so-called burst value can be specified by the user in the
configuration. However, some congestion control algos may defined their
owned dynamic value. As such, a new CC callback pacing_burst is defined.

quic_cc_default_pacing_burst() can be used for algo without pacing
interaction, such as cubic. It will returns a static value based on user
selected configuration.
include/haproxy/quic_cc-t.h
include/haproxy/quic_cc.h
include/haproxy/quic_pacing.h
src/quic_cc.c
src/quic_pacing.c
src/quic_tx.c