Welcome! Log In Create A New Profile

Advanced

Performance of h2 is better than h2c

Posted by prabhat 
prabhat
Performance of h2 is better than h2c
June 08, 2018 11:40AM
I am taking performance data on nginx.
The client I used is h2load

Request per second using h2 is much higher than h2c. But I think it should
not be as h2 is having the overhead of ssl.
I have used the command
../h2load https://xx.xx.xx.xx:4070 -n500000 -c1000 -t50 --- h2
../h2load http://xx.xx.xx.xx:4090 -n500000 -c1000 -t50 --- h2c

and at the server side config is
http2_max_concurrent_streams 600000;-
http2_max_requests 600000;
http2_streams_index_size 524288;

The h2c is getting 23008.09 req/sec and h2 96091.85 req/sec

The request is for default page provided with nginx instalation

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280098,280098#msg-280098

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Peter Booth
Re: Performance of h2 is better than h2c
June 08, 2018 12:10PM
Is your client running n a different host than your server?

> On 8 Jun 2018, at 5:35 AM, prabhat <[email protected]> wrote:
>
> I am taking performance data on nginx.
> The client I used is h2load
>
> Request per second using h2 is much higher than h2c. But I think it should
> not be as h2 is having the overhead of ssl.
> I have used the command
> ./h2load https://xx.xx.xx.xx:4070 -n500000 -c1000 -t50 --- h2
> ./h2load http://xx.xx.xx.xx:4090 -n500000 -c1000 -t50 --- h2c
>
> and at the server side config is
> http2_max_concurrent_streams 600000;-
> http2_max_requests 600000;
> http2_streams_index_size 524288;
>
> The h2c is getting 23008.09 req/sec and h2 96091.85 req/sec
>
> The request is for default page provided with nginx instalation
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280098,280098#msg-280098
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
prabhat
Re: Performance of h2 is better than h2c
June 08, 2018 12:20PM
yes. Both are running in different machines. OS used is ubuntu 14.04

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280098,280100#msg-280100

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login