Hi,

your YAT-hatred ;) is well known and understood. See the attachment for some naive benchmarks. Please draw your own conclusions.

Regards,
David

Alexander Malysh schrieb:

Hi David/Slava,

as you know, I do not like "yet another thread" (YAT) approach...
Would you please try get some benchmark results w/ and w/o YAT, so we can see how is performance w/o YAT affected?


Thanks in advance...

On Thursday 27 November 2003 15:02, David Schmitz wrote:


Hi list,

attached is the IMHO final version of the timeout-patch.  I took the
thread-approach as discussed with Slava (thanks for your input and help

:)). If there are no objections/corrections I would like to commit the

patch.

Note: configuration of the timeout-values is done in http.h.

Best regards,
David







--

Mit freundlichen Gruessen/Best regards

David Schmitz
Softwareentwicklung

-----------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 D�sseldorf

Tel.:  + 49 -211-7 48 45 - 2708
Fax:  + 49 -211-80-6-06-2801

E-Mail:   [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de

THREAD-VERSION (Thread started every 20 seconds)
ab -n 1000 -c 30 localhost:13000/status
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.116 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software:        Kannel/cvs-20031119
Server Hostname:        localhost
Server Port:            13000

Document Path:          /status
Document Length:        672 bytes

Concurrency Level:      30
Time taken for tests:   4.688475 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      768000 bytes
HTML transferred:       672000 bytes
Requests per second:    213.29 [#/sec] (mean)
Time per request:       140.654 [ms] (mean)
Time per request:       4.688 [ms] (mean, across all concurrent requests)
Transfer rate:          159.97 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1    1   2.5      1      73
Processing:     4  135  31.7    127     259
Waiting:        0   67  45.8     64     249
Total:          5  136  31.8    128     263

Percentage of the requests served within a certain time (ms)
  50%    128
  66%    131
  75%    134
  80%    135
  90%    185
  95%    208
  98%    256
  99%    258
 100%    263 (longest request)

WITHOUT THREADS:
ab -n 1000 -c 30 localhost:13000/status
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.116 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software:        Kannel/cvs-20031119
Server Hostname:        localhost
Server Port:            13000

Document Path:          /status
Document Length:        669 bytes

Concurrency Level:      30
Time taken for tests:   243.150797 seconds
Complete requests:      1000
Failed requests:        570
   (Connect: 0, Length: 570, Exceptions: 0)
Write errors:           0
Total transferred:      765498 bytes
HTML transferred:       669498 bytes
Requests per second:    4.11 [#/sec] (mean)
Time per request:       7294.524 [ms] (mean)
Time per request:       243.151 [ms] (mean, across all concurrent requests)
Transfer rate:          3.07 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0  239 813.8      0    3045
Processing:     5 6953 2620.4   6000   14998
Waiting:        0 4740 1981.2   5997   12047
Total:          5 7192 2706.5   6000   15008

Percentage of the requests served within a certain time (ms)
  50%   6000
  66%   6000
  75%   6048
  80%  11998
  90%  11999
  95%  12000
  98%  12048
  99%  14997
 100%  15008 (longest request)
[EMAIL PROTECTED] gateway]$

Reply via email to