<html><head> <style type="text/css" title="rt_noDelete">
blockquote.rt {
margin: 0 0 15px;
border-left: 4px solid #81c784;
padding: 0 0 0 12px;
display: block;
}
p { margin: 0 0 0 0 }
.email-signature {font-family:"Arial"; font-size: 8pt; font-style: italic; font-weight: normal; text-decoration: none; }
</style></head><body><p class="norm">Добрый день, Илья.</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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; 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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"> </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; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"> </span></p><p class="norm"></p><blockquote class="rt"><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 class="msg4898694766263037987">
</div></blockquote></div></div>
</blockquote><p class="norm"></p><p class="norm"></p><div class="email-signature">-- <br/>
С уважением,<br/>
Izorkin <a class="HR" href="mailto:izorkin@gmail.com">mailto:izorkin@gmail.com</a></div></body>