]> git.kaiwu.me - nginx.git/commit
QUIC: added support for segmentation offloading.
authorVladimir Homutov <vl@nginx.com>
Thu, 15 Jul 2021 11:22:00 +0000 (14:22 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 15 Jul 2021 11:22:00 +0000 (14:22 +0300)
commitc0764bc3e91713806875904f9c46bc68815b7bba
tree72801e702c24c4c6c475c9aec07adb6730ad424e
parent105de9762f840bf97d939a931b47bba9a9bfe226
QUIC: added support for segmentation offloading.

To improve output performance, UDP segmentation offloading is used
if available.  If there is a significant amount of data in an output
queue and path is verified, QUIC packets are not sent one-by-one,
but instead are collected in a buffer, which is then passed to kernel
in a single sendmsg call, using UDP GSO.  Such method greatly decreases
number of system calls and thus system load.
auto/os/linux
src/event/quic/ngx_event_quic_output.c
src/os/unix/ngx_linux_config.h