<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 12, 2024, 11:29  <<a href="mailto:izorkin@gmail.com">izorkin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">            <div><p>Добрый день, Илья.</p><p> </p><p>Применил такой патч:</p><p>diff --git a/src/event/quic/ngx_event_quic_output.c b/src/event/quic/ngx_event_quic_output.c</p><p>index 914d81921..5f3720e7c 100644</p><p>--- a/src/event/quic/ngx_event_quic_output.c</p><p>+++ b/src/event/quic/ngx_event_quic_output.c</p><p>@@ -297,10 +297,7 @@ ngx_quic_allow_segmentation(ngx_connection_t *c)</p><p> </p><p>         bytes += f->len;</p><p> </p><p>-        if (bytes > len * 3) {</p><p>-            /* require at least ~3 full packets to batch */</p><p>-            return 1;</p><p>-        }</p><p>+        return 1;</p><p>     }</p><p> </p><p>     return 0;</p><p> </p><p>Количество вызовов увеличилось до 14:</p><p>     615  30.9%  30.9%      615  30.9% __sendmsg</p><p>     547  27.5%  58.5%      547  27.5% _aesni_ctr32_ghash_6x</p><p>     276  13.9%  72.3%      276  13.9% __libc_pread64</p><p>     160   8.0%  80.4%      160   8.0% __memmove_avx_unaligned_erms</p><p>      58   2.9%  83.3%       58   2.9% epoll_wait</p><p>      39   2.0%  85.3%       39   2.0% __recvmsg</p><p>      14   0.7%  86.0%       14   0.7% __sendmmsg</p><p> </p><p>Как сделать безусловный <span style="color:rgb(0,0,0);font-family:"Courier New",calibri,arial;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">"return 1"</span> в <span style="color:rgb(0,0,0);font-family:"Courier New",calibri,arial;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">ngx_quic_allow_segmentation() не знаю.</span></p><p><span style="color:rgb(0,0,0);font-family:"Courier New",calibri,arial;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none"> </span></p></div></blockquote></div></div><div dir="auto">"return 1:" первой строчкой в функции </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p><span style="color:rgb(0,0,0);font-family:"Courier New",calibri,arial;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none"> </span></p><p></p><blockquote class="m_1835970491818705880rt"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
</div></blockquote></div></div>
</blockquote><p></p><p></p><div class="m_1835970491818705880email-signature">-- <br>
С уважением,<br>
 Izorkin                          <a href="mailto:izorkin@gmail.com" target="_blank" rel="noreferrer">mailto:izorkin@gmail.com</a></div></div>_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org" target="_blank" rel="noreferrer">nginx-ru@nginx.org</a><br>
<a href="https://mailman.nginx.org/mailman/listinfo/nginx-ru" rel="noreferrer noreferrer" target="_blank">https://mailman.nginx.org/mailman/listinfo/nginx-ru</a><br>
</blockquote></div></div></div>