Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx-quic with multi worker_processes? #795

Open
FreeMind-LJ opened this issue Dec 22, 2020 · 5 comments
Open

nginx-quic with multi worker_processes? #795

FreeMind-LJ opened this issue Dec 22, 2020 · 5 comments
Labels

Comments

@FreeMind-LJ
Copy link

FreeMind-LJ commented Dec 22, 2020

i run nginx-quic with 8 worker_processes, then i run h2load to test the http3 performance, but h2load will hang after running for a while, but it works fine when i set worker_processes to 1.

nginx.conf:

worker_processes 8;

server {

    listen 443 quic reuseport;
    server_name lj.maligos.tk;
    ssl_certificate      lj.maligos.tk.crt;
    ssl_certificate_key  lj.maligos.tk.key;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
    proxy_request_buffering off;
    ssl_prefer_server_ciphers  on;
    location / {
        root   html;
        index  index.html index.htm;
    }

}

here is h2load script:
./h2load --npn-list=h3-29 https://lj.maligos.tk/f100k -n 100000 -c 100 -t 5
hang at 30%

@LPardue
Copy link
Contributor

LPardue commented Dec 22, 2020

You might be hitting the max requests limit. Can you try increasing https://github.com/cloudflare/quiche/tree/master/extras/nginx#http3_max_requests to something much larger than the number of requests h2load is making?

@FreeMind-LJ
Copy link
Author

You might be hitting the max requests limit. Can you try increasing https://github.com/cloudflare/quiche/tree/master/extras/nginx#http3_max_requests to something much larger than the number of requests h2load is making?

i set http3_max_requests to 10000000, and run the script: /h2load --npn-list=h3-29 https://lj.maligos.tk/f100k -n 100000 -c 100 -t 5,h2load still hang after running for a while,hah~

@LPardue
Copy link
Contributor

LPardue commented Dec 23, 2020

Thanks for trying. Can you confirm what version of quiche you're building against?

@FreeMind-LJ
Copy link
Author

i ues the lastest code of branch master, the commit id is: 6c1e5b4

@FreeMind-LJ
Copy link
Author

Thanks for trying. Can you confirm what version of quiche you're building against?

i don't know if it's the h2load's problem, by the way, what bench tool do you use to test the http3 performance

@dknecht dknecht added the nginx label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants