[Zope] Performance Testing / Expections

J. Atwood bwanazulia@bwanazulia.com
Sun, 26 Mar 2000 15:00:49 -0500


Here are my tests...
Machine:
300 MHz
256 RAM
IDE Hardrive

Apache on same  machine (different port)

Document Length:        590 bytes

Concurrency Level:      25
Time taken for tests:   0.165 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      92340 bytes
HTML transferred:       63720 bytes
Requests per second:    606.06
Transfer rate:          559.64 kb/s received

Connnection Times (ms)
               min   avg   max
Connect:        0     6    14
Processing:    22    25    34
Total:         22    31    48

Zope (ZServer Only, test document, just a few html bits and <dtml-var
standard_html_footer>)

Document Length:        682 bytes

Concurrency Level:      25
Time taken for tests:   2.451 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      88500 bytes
HTML transferred:       68200 bytes
Requests per second:    40.80
Transfer rate:          36.11 kb/s received

Connnection Times (ms)
               min   avg   max
Connect:        0    66   333
Processing:   339   467   342
Total:        339   533   675

I upped it to 1000 and got...

Concurrency Level:      25
Time taken for tests:   23.074 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      885885 bytes
HTML transferred:       682682 bytes
Requests per second:    43.34
Transfer rate:          38.39 kb/s received

I put it against a normal page with a lot dtml and a few highly cached sql
calls (in DTML's)

Document Length:        17000 bytes

Concurrency Level:      25
Time taken for tests:   13.314 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      1727400 bytes
HTML transferred:       1700000 bytes
Requests per second:    7.51
Transfer rate:          129.74 kb/s received

Connnection Times (ms)
               min   avg   max
Connect:        0    82   379
Processing:   386  2898  4312
Total:        386  2980  4691

When I turned it on a highly dynamic page (lots of SQL, lots of DTML) It
got worse..

Server Hostname:        fundraising.gotschool.com
Server Port:            80

Document Path:          /search?category=11
Document Length:        22373 bytes

Concurrency Level:      1
Time taken for tests:   25.820 seconds
Complete requests:      100
Failed requests:        73
    (Connect: 0, Length: 73, Exceptions: 0)
Total transferred:      2263791 bytes
HTML transferred:       2236391 bytes
Requests per second:    3.87
Transfer rate:          87.68 kb/s received

Connnection Times (ms)
               min   avg   max
Connect:        0     0     2
Processing:   197   257   315
Total:        197   257   317

I upped that cache on the SQL and that id not really help...

I then put the test against just one of the parts of the page (that is
DTML, calls another DTML and has a SQL Select in it)

Concurrency Level:      1
Time taken for tests:   19.768 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      987100 bytes
HTML transferred:       966700 bytes
Requests per second:    5.06
Transfer rate:          49.93 kb/s received

Connnection Times (ms)
               min   avg   max
Connect:        0     0     2
Processing:   151   197   211
Total:        151   197   213

Which was not bad... I upped to a 25 Concurrency...


Document Length:        9667 bytes

Concurrency Level:      25
Time taken for tests:   15.912 seconds
Complete requests:      100
Failed requests:        81
    (Connect: 0, Length: 81, Exceptions: 0)
Total transferred:      691350 bytes
HTML transferred:       670542 bytes
Requests per second:    6.28
Transfer rate:          43.45 kb/s received

Connnection Times (ms)
               min   avg   max
Connect:        0   158   718
Processing:   727  3342  4341
Total:        727  3500  5059

Well, that is food for thought today. If anyone has some really good
analysis of this (since this is my first time using AB) that would be
great.

JMA