View Single Post
  #4  
Old 01-27-2011, 10:25 AM
eva2000 eva2000 is offline
Senior Member
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 142
:: Jan 28th, 2011: Correction to findings
I have to revise my findings a bit for Nginx in above tests. The failed requests seem to be from content length varying between apachebench requests and not due to failure requests related to connections/exceptions errors. Content length varies due to dynamic nature of php pages tested as as long as content length reported by apachebench as Document Length is nearly the same, it still means a successfully served request regardless.

However, not sure why litespeed did have any of these errors vBulletin index.php page tests. The reason I came across this is because I have been able to implement same litespeed cache method for use on wordpress as well. However, litespeed apachebench testing wordpress pages results in same failed request due to content length varying between requests. So I guess as long as apachebench Document Length is varying only slightly in size, you can ignore the failed requests if they are due to content length as reality is the php page would have been served.

Example: testing wordpress page non-cached nginx, litespeed and apache with only apachebench testing 2 requests and 1 concurrent all reported failed request due to content/document length

Failed request due to content/document length

Code:
Failed requests:        1
   (Connect: 0, Length: 1, Exceptions: 0)
Code:
ab -k -n 2 -c 1 http://192.168.56.101/wp/?p=1417
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.56.101 (be patient).....done


Server Software:        nginx
Server Hostname:        192.168.56.101
Server Port:            80

Document Path:          /wp/?p=1417
Document Length:        39934 bytes

Concurrency Level:      1
Time taken for tests:   0.186644 seconds
Complete requests:      2
Failed requests:        1
   (Connect: 0, Length: 1, Exceptions: 0)
Write errors:           0
Keep-Alive requests:    0
Total transferred:      80258 bytes
HTML transferred:       79804 bytes
Requests per second:    10.72 [#/sec] (mean)
Time per request:       93.322 [ms] (mean)
Time per request:       93.322 [ms] (mean, across all concurrent requests)
Transfer rate:          417.91 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:    92   93   1.4     94      94
Waiting:       91   92   2.2     94      94
Total:         92   93   1.4     94      94

Percentage of the requests served within a certain time (ms)
  50&#37;     94
  66&#37;     94
  75%     94
  80%     94
  90%     94
  95%     94
  98%     94
  99%     94
 100%     94 (longest request)
Code:
ab -k -n 2 -c 1 http://192.168.56.101/wp/?p=1417
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.56.101 (be patient).....done


Server Software:        LiteSpeed
Server Hostname:        192.168.56.101
Server Port:            80

Document Path:          /wp/?p=1417
Document Length:        39739 bytes

Concurrency Level:      1
Time taken for tests:   0.157730 seconds
Complete requests:      2
Failed requests:        1
   (Connect: 0, Length: 1, Exceptions: 0)
Write errors:           0
Keep-Alive requests:    0
Total transferred:      80100 bytes
HTML transferred:       79648 bytes
Requests per second:    12.68 [#/sec] (mean)
Time per request:       78.865 [ms] (mean)
Time per request:       78.865 [ms] (mean, across all concurrent requests)
Transfer rate:          494.52 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:    78   78   0.0     78      78
Waiting:       68   68   0.0     68      68
Total:         78   78   0.0     78      78

Percentage of the requests served within a certain time (ms)
  50%     78
  66%     78
  75%     78
  80%     78
  90%     78
  95%     78
  98%     78
  99%     78
 100%     78 (longest request)
Code:
ab -k -n 2 -c 1 http://192.168.56.101/wp/?p=1417
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.56.101 (be patient).....done


Server Software:        Apache/2.2.3
Server Hostname:        192.168.56.101
Server Port:            80

Document Path:          /wp/?p=1417
Document Length:        39772 bytes

Concurrency Level:      1
Time taken for tests:   0.188623 seconds
Complete requests:      2
Failed requests:        1
   (Connect: 0, Length: 1, Exceptions: 0)
Write errors:           0
Keep-Alive requests:    0
Total transferred:      80605 bytes
HTML transferred:       80097 bytes
Requests per second:    10.60 [#/sec] (mean)
Time per request:       94.312 [ms] (mean)
Time per request:       94.312 [ms] (mean, across all concurrent requests)
Transfer rate:          413.52 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:    94   94   0.0     94      94
Waiting:       49   49   1.0     50      50
Total:         94   94   0.0     94      94

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

Last edited by eva2000; 01-27-2011 at 09:06 PM..
Reply With Quote