Welcome! Log In Create A New Profile

Advanced

Re: Nginx TCP Delays

Khalid Shaikh
September 21, 2009 12:08PM
Salut Francois,
Excellent suggestion.

Even in the test that passed, 11 seconds is not really acceptable. If i
conduct a telnet localhost 80, sometimes it takes many seconds before
showing you

Check out these results with curl. Over 90 seconds of 'waiting'
http://screencast.com/t/g5uvshJY25Ty

You can see near the end of the video when I start and restart nginx and do
a number of tests, some respond instantly, some take a while.

Results

*Test #1*
Benchmarking localhost (be patient)...apr_poll: The timeout specified has
expired (70007)

*Test #2*
violet2:~# ab -k -n 100 -c 10 http://localhost/test.html
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient).....done


Server Software: nginx/0.8.15
Server Hostname: localhost
Server Port: 80

Document Path: /test.html
Document Length: 17 bytes

Concurrency Level: 10
Time taken for tests: 0.015 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Keep-Alive requests: 100
Total transferred: 30400 bytes
HTML transferred: 1700 bytes
Requests per second: 6544.50 [#/sec] (mean)
Time per request: 1.528 [ms] (mean)
Time per request: 0.153 [ms] (mean, across all concurrent requests)
Transfer rate: 1942.90 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 0
Processing: 0 1 3.1 0 11
Waiting: 0 1 3.1 0 11
Total: 0 1 3.2 0 11

Percentage of the requests served within a certain time (ms)
50% 0
66% 1
75% 1
80% 1
90% 11
95% 11
98% 11
99% 11
100% 11 (longest request)

*Test #3*
Benchmarking localhost (be patient)...apr_poll: The timeout specified has
expired (70007)

Best,
Khalid

On Mon, Sep 21, 2009 at 1:54 AM, François Battail
<fb@francois.battail.name>wrote:

> Le lundi 21 septembre 2009 à 01:20 -0700, Khalid Shaikh a écrit :
>
> > Spoke too soon.
> > 9 second response
>
> Can you try:
>
> ab -k -n 100 -c 10 http://localhost/test.html
>
> (It's Apache Bench from Debian's apache2-utils package, it will give us
> a more precise idea of the timings)
>
> Best regards
>
>
>
Subject Author Posted

Nginx TCP Delays

Khalid Shaikh September 21, 2009 01:52AM

RE: Nginx TCP Delays

Brian Henson September 21, 2009 03:38AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 03:46AM

Re: Nginx TCP Delays

François Battail September 21, 2009 04:06AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:22AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:24AM

Re: Nginx TCP Delays

François Battail September 21, 2009 04:58AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 12:08PM

Re: Nginx TCP Delays

Avleen Vig September 23, 2009 04:52AM

Re: Nginx TCP Delays

François Battail September 23, 2009 11:22AM

Re: Nginx TCP Delays

Christopher Smith September 24, 2009 03:50AM

Re: Nginx TCP Delays

Khalid Shaikh September 24, 2009 11:22AM

Re: Nginx TCP Delays

icqheretic October 05, 2009 03:09PM

Re: Nginx TCP Delays

anomalizer October 03, 2009 03:34AM

Re: Nginx TCP Delays

Maxim Dounin September 21, 2009 04:50AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:58AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 12:32PM

Re: Nginx TCP Delays

Maxim Dounin September 21, 2009 12:52PM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 02:08PM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 03:44PM

Re: Nginx TCP Delays

Khalid Shaikh September 22, 2009 12:30AM

Re: Nginx TCP Delays

Payam Chychi September 22, 2009 02:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 172
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready