durusmail: quixote-users: mod_python fails on FreeBSD
mod_python fails on FreeBSD
2002-03-19
2002-03-19
2002-03-19
2002-03-19
2002-03-19
2002-03-21
2002-03-21
2002-03-20
2002-04-04
2002-04-04
2002-04-04
2002-03-22
mod_python fails on FreeBSD
Michael Watkins
2002-03-20
Neil - SCGI - very nice!  Comparing it to FastCGI - ab, 100 iterations,
same path, host, etc:

Requests per second
Run number      SCGI            FastCGI
1               54.76            *
3               113.51          42.96
...             ~113

Transfer rate
Run             SCGI            FastCGI
1               13.80           *
3               28.60           11.08
* I didn't actually note the first FastCGI run, as the differences between
1st and 3rd run were marginal.

Tested both on the same box; I enabled only the module being tested,
restarted httpd, manually accessed
the pages, and then ran ab. Hardware P233MHz / 128MB RAM / FreeBSD 4.5 /
Apache 1.3.22 / Python 2.2.1rc1

(If you are wondering why my doc length is different than yours, I mucked
about with demo.simple prior to running this.)

 >>> SCGI - first run of ab
Concurrency Level:      1
Time taken for tests:   1.826 seconds
Complete requests:      100
Failed requests:        0
Broken pipe errors:     0
Total transferred:      25200 bytes
HTML transferred:       7000 bytes
Requests per second:    54.76 [#/sec] (mean)
Time per request:       18.26 [ms] (mean)
Time per request:       18.26 [ms] (mean, across all concurrent requests)
Transfer rate:          13.80 [Kbytes/sec] received


 >>> SCGI - 3rd run of ab
Concurrency Level:      1
Time taken for tests:   0.881 seconds
Complete requests:      100
Failed requests:        0
Broken pipe errors:     0
Total transferred:      25200 bytes
HTML transferred:       7000 bytes
Requests per second:    113.51 [#/sec] (mean)
Time per request:       8.81 [ms] (mean)
Time per request:       8.81 [ms] (mean, across all concurrent requests)
Transfer rate:          28.60 [Kbytes/sec] received


 >>> FastCGI
Concurrency Level:      1
Time taken for tests:   2.328 seconds
Complete requests:      100
Failed requests:        0
Broken pipe errors:     0
Total transferred:      25800 bytes
HTML transferred:       7000 bytes
Requests per second:    42.96 [#/sec] (mean)
Time per request:       23.28 [ms] (mean)
Time per request:       23.28 [ms] (mean, across all concurrent requests)
Transfer rate:          11.08 [Kbytes/sec] received




At 07:13 PM 3/19/2002 -0500, Neil Schemenauer wrote:
>On Tue, Mar 19, 2002 at 04:35:42PM -0500, Neil Schemenauer wrote:
> > I still need to factor out the Quixote<->SCGI glue our application is
> > using.  That should be done shortly.
>
>Done.  There is now a 0.2 release available from:
>
>     http://www.mems-exchange.org/software/scgi/
>
>that includes the Quixote glue.  Just for kicks I setup the Quixote demo
>with SCGI and Apache on an old Pentium 200 machine.  Here are the
>results from ApacheBench:
>
>     This is ApacheBench, Version 1.3a-deb
>     Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
>     http://www.zeustech.net/
>     Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/
>
>     Server
> Software:        Apache/1.3.9
>     Server Hostname:        xxxxxxx.yyy
>     Server Port:            80
>
>     Document Path:          /dynamic/simple
>     Document Length:        51 bytes
>
>     Concurrency Level:      1
>     Time taken for tests:   1.328 seconds
>     Complete requests:      100
>     Failed requests:        0
>     Total transferred:      26300 bytes
>     HTML transferred:       5100 bytes
>     Requests per second:    75.30
>     Transfer rate:          19.80 kb/s received
>
>Not bad for an old piece of junk. :-)
>
>   Neil



reply