You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jan Singer <ja...@singer-tc.de> on 2002/06/24 19:41:15 UTC

[Bench] mod_jk cache and socket timeout

Hi,

here are some performance tests. I don't know why it's faster with the
patch...

Dual PIII 1 GHz, 512MB, Red Hat 7.1, ab running on another machine, 100
Mbit NICs

d:-> Jan

--- with options
--- socket_timeout=900
--- cache_timeout=15

Server Software:        Apache/1.3.22

Server Hostname:        linus
Server Port:            80

Document Path:          /examples/servlet/HelloWorldExample
Document Length:        393 bytes

Concurrency Level:      100
Time taken for tests:   29.223 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      6180618 bytes
HTML transferred:       3930393 bytes
Requests per second:    342.20 [#/sec] (mean)
Time per request:       292.23 [ms] (mean)
Time per request:       2.92 [ms] (mean, across all concurrent requests)
Transfer rate:          211.50 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     0    0.9      0    14
Processing:    26   290   49.3    293   545
Waiting:       11   290   49.3    292   545
Total:         26   291   49.0    293   546

--- with no option set

Concurrency Level:      100
Time taken for tests:   28.821 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      6180000 bytes
HTML transferred:       3930000 bytes
Requests per second:    346.97 [#/sec] (mean)
Time per request:       288.21 [ms] (mean)
Time per request:       2.88 [ms] (mean, across all concurrent requests)
Transfer rate:          214.43 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     1    3.3      0   113
Processing:    56   286   49.5    285   536
Waiting:       30   285   49.6    285   535
Total:         56   286   49.5    286   647

--- without patch

Concurrency Level:      100
Time taken for tests:   29.869 seconds
Complete requests:      10000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      6182472 bytes
HTML transferred:       3931572 bytes
Requests per second:    334.80 [#/sec] (mean)
Time per request:       298.69 [ms] (mean)
Time per request:       2.99 [ms] (mean, across all concurrent requests)
Transfer rate:          206.99 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     0    0.9      0    14
Processing:    31   297   59.4    294   742
Waiting:       29   296   59.4    294   742
Total:         31   297   59.4    294   743

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>