Добрый день, Илья.
Применил такой патч:
diff --git a/src/event/quic/ngx_event_quic_output.c
b/src/event/quic/ngx_event_quic_output.c
index 914d81921..5f3720e7c 100644
--- a/src/event/quic/ngx_event_quic_output.c
+++ b/src/event/quic/ngx_event_quic_output.c
@@ -297,10 +297,7 @@ ngx_quic_allow_segmentation(ngx_connection_t *c)
bytes += f->len;
- if (bytes > len * 3) {
- /* require at least ~3 full packets to batch */
- return 1;
- }
+ return 1;
}
return 0;
Количество вызовов увеличилось до 14:
615 30.9% 30.9% 615 30.9% __sendmsg
547 27.5% 58.5% 547 27.5% _aesni_ctr32_ghash_6x
276 13.9% 72.3% 276 13.9% __libc_pread64
160 8.0% 80.4% 160 8.0% __memmove_avx_unaligned_erms
58 2.9% 83.3% 58 2.9% epoll_wait
39 2.0% 85.3% 39 2.0% __recvmsg
14 0.7% 86.0% 14 0.7% __sendmmsg
Как сделать безусловный "return 1" в ngx_quic_allow_segmentation() не знаю.
--
С уважением,
Izorkin mailto:izor...@gmail.com
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-ru