durusmail: quixote-users: Performance problems solved
Performance problems solved
2002-07-29
2002-07-29
2002-07-29
Performance problems solved
Mike Watkins
2002-07-29
At 04:40 PM 7/29/2002 +0200, you wrote:
>ab now says 460 ms (single thread) in CGI mode. That's OK for development.
>However, there still is a discrepancy between 2 requests/s in my Duron 700
>configuration and Mike's 12 requests/s ...

Possibly hardware differences will account for some of the discrepancy. My
12 requests per second (CGI) are on the following box:

Dual PIII 1.26GHz w/512K cache
2GB RAM
3 * 36GB 15K RPM SCSI drives
a fairly highly tuned server hardware platform
FreeBSD 4.5.
running all the latest versions of Python, Quixote.

... and, no production load on it, yet. So that may account for some of the
performance difference.


time python -c "print ''"
0.014u 0.000s 0:00.01 100.0%    1160+828k 0+0io 0pf+0w

time python -c "import quixote"
0.049u 0.024s 0:00.07 85.7%     870+1602k 0+0io 0pf+0w

Compared to Andreas Kostyrka who obtained (with Duron 700, 512MB, 10GB
laptop style IDE disc):
time python -c "print ''"
real 0m0.041s user 0m0.040s sys 0m0.000s

time python -c "import quixote"
real 0m0.221s user 0m0.170s sys 0m0.010s


>Anyway, as fcgi/scgi/mod_python promise pretty good performance I will dig
>into
>quixote deeper. As I said before: I really like the quixote concept.
>Excellent work.

I can vouch for SCGI - its very simple to configure and as you can see from
the results posted, works very well.

Mike



reply