Hi all,

I setup on a quest to improve on the AOLserver Debian packages built by
Brent Fulgham, since I intend to adopt them sometime.

Since I was messing with compiling and I was excited with the
possibilites of Tcl 8.4 (after having seen the benchmarks
http://mini.net/tcl/1616) I decided to make some tests too.

I made _premilinary_ Debian packages of AOLserver 3.3ad13 (so that I can
provide them to the OpenACS community, but I will make packages for newer
versions of AOLserver) with regular Tcl 8.3 and Tcl 8.4b1 from CVS. The
available packages are:

aolserver
aolserver-postgres (postgresql driver)
aolserver-xml (nsxml)
aolserver-openssl
aolserver-dev
aolserver-doc

If you'd like to help me *test* them, please add the following lines to your
/etc/apt/sources.list (only one of them. If you leave both deb lines, the
Tcl 8.4 version will be apt-get'ed):

---
# For AOLserver 3.3ad13 with Tcl 8.3.2
#deb http://www.brasileiro.net/roberto/debian as33/

# For AOLserver 3.3ad13 with Tcl 8.4
#deb http://www.brasileiro.net/roberto/debian as33tcl84/
---

Source Debian packages are available in the same location.

So to the tests. I ran Apache Bench asking for 1000 requests with 10
concurrent requests on both versions of AOLserver running a vanilla
install of OpenACS 4.5. It was fetching the default home page, which does
a few database queries.

The Tcl 8.4 version was a bit faster, but it also crashed a couple times.
I didn't investigate further as to why. The Tcl 8.4 version was using the
default generic/tclAlloc.c shipped _with Tcl_ (not the AOLserver one).

Tcl 8.4 was _not_ compiled with --enable-threads (a configure flag that
apparently doesn't exist on Tcl 8.3.2). I'd love to hear comments from
folks more knowledgeable (Jim, Kriston, Jeff Hobbs, Zoran, etc.)

Here are the results:

## AOLserver 3.3ad13 with Tcl 8.3.2 ##

This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3

Benchmarking 192.168.1.2 (be patient)

Server Software:        AOLserver/3.3.1+ad13
Server Hostname:        192.168.1.2
Server Port:            80

Document Path:          /
Document Length:        8823 bytes

Concurrency Level:      10
Time taken for tests:   257.176 seconds
Complete requests:      1000
Failed requests:        0
Broken pipe errors:     0
Total transferred:      9142000 bytes
HTML transferred:       8823000 bytes
Requests per second:    3.89 [#/sec] (mean)
Time per request:       2571.76 [ms] (mean)
Time per request:       257.18 [ms] (mean, across all concurrent requests)
Transfer rate:          35.55 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     3   94.8      0  2999
Processing:   310  2554  416.7   2552  4798
Waiting:      308  2553  416.7   2552  4797
Total:        310  2557  428.6   2552  5728

Percentage of the requests served within a certain time (ms)
  50%   2552
  66%   2631
  75%   2713
  80%   2837
  90%   3086
  95%   3280
  98%   3546
  99%   3739
 100%   5728 (last request)

########

## AOLserver 3.3ad13 with Tcl 8.4b1 ##

This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3

Benchmarking 192.168.1.2 (be patient)

Server Software:        AOLserver/3.3.1+ad13
Server Hostname:        192.168.1.2
Server Port:            80

Document Path:          /
Document Length:        8823 bytes

Concurrency Level:      10
Time taken for tests:   255.493 seconds
Complete requests:      1000
Failed requests:        1
   (Connect: 0, Length: 1, Exceptions: 0)
Broken pipe errors:     0
Total transferred:      9133559 bytes
HTML transferred:       8814560 bytes
Requests per second:    3.91 [#/sec] (mean)
Time per request:       2554.93 [ms] (mean)
Time per request:       255.49 [ms] (mean, across all concurrent requests)
Transfer rate:          35.75 [Kbytes/sec] received

Connnection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0     3   94.8      0  2999
Processing:   288  2542  385.7   2556  4520
Waiting:      286  2542  385.7   2555  4519
Total:        288  2545  389.2   2557  4520

Percentage of the requests served within a certain time (ms)
  50%   2557
  66%   2633
  75%   2675
  80%   2768
  90%   3040
  95%   3252
  98%   3408
  99%   3651
 100%   4520 (last request)

####

-Roberto

--
+----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net/
       http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer
Don't Touch That Phone...I'm On The Mode^%$#(*@(* NO CARRIER

Reply via email to