Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Fast HTTP Talk, Httperf and Libevent, Pre-talk Hacking Session



Curt Sampson wrote:
On 2008-11-06 11:39 +0900 (Thu), Edward Middleton wrote:

I tried out the CVS version last night on an amd64 machine. It works well up to a rate of 550 connection/second but segfaults above that.

Is it related to the connection rate, or the number of file descriptors
in use?

It looks like the crash with caused by running out of file descriptors, it not seems to be just dying without any message.
I tried again with ab after increasing the number of threads and got the following


# ab -k -n 100000 -c 3000 http://blog.vortorus.net/

Server Software:        nginx/0.5.37
Server Hostname:        blog.vortorus.net
Server Port:            80

Document Path:          /
Document Length:        21179 bytes

Concurrency Level:      3000
Time taken for tests:   108.462 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Keep-Alive requests:    100000
Total transferred:      2152071584 bytes
HTML transferred:       2117970220 bytes
Requests per second:    921.99 [#/sec] (mean)
Time per request:       3253.846 [ms] (mean)
Time per request:       1.085 [ms] (mean, across all concurrent requests)
Transfer rate:          19376.75 [Kbytes/sec] received

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        0   58 627.6      0    9029
Processing:    88 3142 461.7   3103    5407
Waiting:       87 3140 461.4   3097    5407
Total:        273 3200 588.8   3115    9708

Percentage of the requests served within a certain time (ms)
 50%   3115
 66%   3269
 75%   3342
 80%   3373
 90%   3570
 95%   3842
 98%   3966
 99%   4348
100%   9708 (longest request)


Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links