Re: nginxQuic: скорость загрузки при активации kTLS

izorkin на gmail.com izorkin на gmail.com
Ср Янв 3 14:12:19 UTC 2024


Здравствуйте, Илья.
Результат анализа дампа:
Using local file /nix/store/dd7van8jrcmnxmwdsbkyyzhd98myzg2j-nginxQuic-1.25.3/bin/nginx.
Argument "MSWin32" isn't numeric in numeric eq (==) at /run/current-system/sw/bin/pprof line 5047.
Argument "linux" isn't numeric in numeric eq (==) at /run/current-system/sw/bin/pprof line 5047.
Using local file /var/www/test/profile/ktls.7743.
Warning: address  128f35:      eb ae                  jmp    128ee5 is longer than address length 16
Total: 3431 samples
    1225  35.7%  35.7%    1225  35.7% epoll_wait
    875  25.5%  61.2%      880  25.6% __sendmsg
    477  13.9%  75.1%      477  13.9% _aesni_ctr32_ghash_6x
    146  4.3%  79.4%      146  4.3% pthread_cond_signal@@GLIBC_2.3.2
    127  3.7%  83.1%      127  3.7% __memmove_avx_unaligned_erms
    123  3.6%  86.7%      127  3.7% __recvmsg
      58  1.7%  88.3%      58  1.7% __lll_lock_wake
      16  0.5%  88.8%      16  0.5% __strcmp_avx2
      15  0.4%  89.2%    1867  54.4% ngx_epoll_process_events
      15  0.4%  89.7%      51  1.5% ngx_quic_create_frame
      14  0.4%  90.1%      14  0.4% aesni_ctr32_encrypt_blocks
      14  0.4%  90.5%      255  7.4% ngx_quic_recvmsg
      13  0.4%  90.9%      14  0.4% evp_cipher_init_internal
      13  0.4%  91.3%    1540  44.9% ngx_quic_output
      11  0.3%  91.6%      11  0.3% gcm_ghash_avx
      10  0.3%  91.9%      10  0.3% ngx_quic_parse_frame
      8  0.2%  92.1%        8  0.2% __pthread_disable_asynccancel
      7  0.2%  92.3%        7  0.2% ngx_quic_commit_send
      6  0.2%  92.5%        6  0.2% aesni_encrypt
      6  0.2%  92.7%      506  14.7% generic_aes_gcm_cipher_update
      6  0.2%  92.8%      114  3.3% ngx_http_write_filter
      6  0.2%  93.0%      598  17.4% ngx_quic_crypto_common
...
 
Если использовать протокол HTTP/1.1
Using local file /nix/store/dd7van8jrcmnxmwdsbkyyzhd98myzg2j-nginxQuic-1.25.3/bin/nginx.
Argument "MSWin32" isn't numeric in numeric eq (==) at /run/current-system/sw/bin/pprof line 5047.
Argument "linux" isn't numeric in numeric eq (==) at /run/current-system/sw/bin/pprof line 5047.
Using local file /var/www/test/profile/ktls.9140.
Warning: address  128f35:      eb ae                  jmp    128ee5 is longer than address length 16
Total: 2354 samples
    2329  98.9%  98.9%    2329  98.9% sendfile64
      7  0.3%  99.2%        7  0.3% __sched_yield
      5  0.2%  99.4%        5  0.2% epoll_wait
      2  0.1%  99.5%    2335  99.2% ngx_http_sub_body_filter
      2  0.1%  99.6%    2339  99.4% ngx_http_writer
      1  0.0%  99.7%        1  0.0% CRYPTO_free
      1  0.0%  99.7%    2330  99.0% SSL_sendfile
      1  0.0%  99.7%        1  0.0% __GI___clock_gettime
      1  0.0%  99.8%        7  0.3% ngx_epoll_process_events
      1  0.0%  99.8%    2336  99.2% ngx_http_copy_filter
      1  0.0%  99.9%    2337  99.3% ngx_http_range_body_filter
      1  0.0%  99.9%    2333  99.1% ngx_http_xslt_body_filter
      1  0.0% 100.0%    2332  99.1% ngx_ssl_send_chain
      1  0.0% 100.0%        1  0.0% xmlMutexLock
      0  0.0% 100.0%        1  0.0% ERR_clear_error
      0  0.0% 100.0%    2354 100.0% __libc_start_call_main
      0  0.0% 100.0%    2354 100.0% __libc_start_main_impl
      0  0.0% 100.0%    2354 100.0% _start
      0  0.0% 100.0%    2354 100.0% main
...
 
-- 
С уважением,
 Izorkin                          mailto:izorkin на gmail.com
----------- следующая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20240103/949483ef/attachment.htm>


Подробная информация о списке рассылки nginx-ru