Yichun Zhang (agentzh)
September 30, 2013 11:04PM
Hello!

On Mon, Sep 30, 2013 at 7:25 AM, laltin wrote:
> But looking at tornado logs I expect around 2000reqs/sec. Assuming that each
> request is handled in 2ms one instance can handle 500reqs/sec and with 4
> instances it sholud be 2000req/sec. But it is stuck at 1200reqs/sec I wonder
> why it is stuck at that point?
> Does increasing the number of instances change the result?
>

It depends on where the bottleneck really is :)

You can use the on-CPU flamegraph and off-CPU flamegraph tools to
check the on-CPU time and off-CPU time usage by sampling your related
processes under load. In particular, using the following tools on
Linux:

https://github.com/agentzh/nginx-systemtap-toolkit#ngx-sample-bt
https://github.com/agentzh/nginx-systemtap-toolkit#ngx-sample-bt-off-cpu

These tools are very general and not specific to Nginx processes, BTW.

Best regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

High response time at high concurrent connections

laltin September 29, 2013 06:50PM

Re: High response time at high concurrent connections

Yichun Zhang (agentzh) September 29, 2013 10:26PM

Re: High response time at high concurrent connections

laltin September 30, 2013 04:42AM

Re: High response time at high concurrent connections

Yichun Zhang (agentzh) September 30, 2013 11:04PM

Re: High response time at high concurrent connections

Reinis Rozitis September 30, 2013 03:34AM

Re: High response time at high concurrent connections

bryndole October 02, 2013 05:01PM

Re: High response time at high concurrent connections

laltin October 02, 2013 05:13PM

Re: High response time at high concurrent connections

bryndole October 02, 2013 05:43PM

Re: High response time at high concurrent connections

laltin October 03, 2013 09:42AM

Re: High response time at high concurrent connections

Oscar Fernandez Sierra October 02, 2013 06:26PM

Re: High response time at high concurrent connections

Yichun Zhang (agentzh) October 04, 2013 03:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 223
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready