nginx-quic: download speed is very slow when network has added a delay of 1500ms by tc

杨明杰 m15860198213 at 163.com
Fri Oct 1 12:33:33 UTC 2021


Hi,
  when when network has  added a delay of 1500ms by tc, doing e.g.
   tc qdisc add dev eno1 root netem delay 1500ms


  and nginx http conf :
   server {


listen       443 ssl http2;
        listen       [::]:443 ssl http2;
        listen       443 http3 reuseport;
        listen       [::]:443 http3 reuseport;        


        server_name  localhost;


        ssl_certificate      cert.pem;
        ssl_certificate_key  cert.key;


        ssl_session_cache    shared:SSL:1m;
        ssl_session_timeout  5m;


        ssl_protocols        TLSv1.3;
        ssl_ciphers          HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers  on;
add_header Alt-Svc 'quic=":443"; h3-27=":443";h3-25=":443"; h3-T050=":443"; h3-Q050=":443";h3-Q049=":443";h3-Q048=":443"; h3-Q046=":443"; h3-Q043=":443"'; # Advertise that QUIC is available


        location / {
            
            root   /usr/share/nginx;
            index  index.html index.htm;
        }


        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   /usr/share/nginx/html;
        }
  }


  when I download a 3GB file whth firefox browser , then download speed is about 45 kb/s, but I confirm the prototal is http3.
    I might be doing wrong for something...
Please help me, thanks.




 





 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20211001/02f92354/attachment.htm>


More information about the nginx-devel mailing list