Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch Nginx 1.25.0 prep for HTTP/2 HPACK + DynamicTLS patch support in 130.…

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 28, 2023.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Nginx 1.25.0 prep for HTTP/2 HPACK + DynamicTLS patch support in 130.00beta01

    - for Nginx 1.25.0+ optional HTTP/2 HPACK and DynamicTLS patches are combined into one patch instead of separate patches when NGINX_HPACK_ALLOWED_VER='1025005' and NGINX_HPACK='y' and NGINX_DYNAMICTLS='y' options are enebaled via persistent config file /etc/centminmod/custom_config.inc setup prior to centmin.sh menu option 4 Nginx compile/recompile/updates. By default NGINX_HPACK_ALLOWED_VER='1025005' isn't set to 1.25.5 max Nginx version allowance but 1.24.5 allowance. Hence, with Nginx 1.25.0+ need to set NGINX_HPACK_ALLOWED_VER='1025005' as well for now until more testing for Nginx 1.25.0+ and HPACK/DynamicTLS patched servers are done over time

    Continue reading...


    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    example with Centmin Mod 130.00beta01 and Nginx 1.25.1 master branch on AlmaLinux 8
    testing HTTP/2 full HPACK encoding patch support inspecting the HTTP/2 header space savings percentages over consecutive h2load HTTP/2 load testing runs. Without HTTP/2 full HPACK endocing patch, Nginx by default only does partial HTTP/2 HPACK encoding so space savings over time are usually between 20-26%. But with HTTP/2 full HPACK encoding patch enabled, space savings can creep up into 80-90+ %.
    Code (Text):
    url=https://domain.com
    
    for i in $(seq 1 10); do echo "h2load run $i"; h2load $url -n $i | tail -6 | head -1; done
                                                                                                        
    h2load run 1
    traffic: 6.46KB (6612) total, 189B (189) headers (space savings 36.36%), 6.21KB (6356) data
    h2load run 2
    traffic: 12.69KB (12998) total, 201B (201) headers (space savings 66.16%), 12.41KB (12712) data
    h2load run 3
    traffic: 18.93KB (19384) total, 213B (213) headers (space savings 76.09%), 18.62KB (19068) data
    h2load run 4
    traffic: 25.17KB (25770) total, 225B (225) headers (space savings 81.06%), 24.83KB (25424) data
    h2load run 5
    traffic: 31.40KB (32156) total, 237B (237) headers (space savings 84.04%), 31.04KB (31780) data
    h2load run 6
    traffic: 37.64KB (38542) total, 249B (249) headers (space savings 86.03%), 37.24KB (38136) data
    h2load run 7
    traffic: 43.88KB (44928) total, 261B (261) headers (space savings 87.45%), 43.45KB (44492) data
    h2load run 8
    traffic: 50.11KB (51314) total, 273B (273) headers (space savings 88.51%), 49.66KB (50848) data
    h2load run 9
    traffic: 56.35KB (57700) total, 285B (285) headers (space savings 89.34%), 55.86KB (57204) data
    h2load run 10
    traffic: 62.58KB (64086) total, 297B (297) headers (space savings 90.00%), 62.07KB (63560) data