Hi Giorgos, On Friday, August 17, 2001, at 10:19 AM, Giorgos Verigakis wrote:
Have you tested it on heavy load? If it's not a big problem, maybe you can run my program and tell me if you experience similar performance issues.
-steve
On Friday, August 17, 2001, at 09:25 AM, Giorgos Verigakis wrote:
Yes.. I think I probably can, but maybe not today. One thing I do find interesting about your numbers is that FreeBSD and OpenBSD both have somewhat *higher* real hit rates under load than Linux, but the response time for an individual request (esp your big request) is longer. This suggests to me that your "big" request is being sacrificed at the alter of all these other hits. (it's especially interesting that OpenBSD appears to have 25% higher "real hit rate", and at the same time seems to be unable to deliver your browser a complex page in less than about 5 minutes!) I also think that seeing a complex page rendered may be bit too subjective a measure for my taste. It might be more instructive to run two concurrent benchmarking programs, such as 'ab'. One fetching simple urls at a high rate another fetching some highly complex dynamic page. It seems to me that these two kinds of pages stress different parts of Zope. The simple pages stress ZServer and the I/O bottleneck, the complex processes just take a lot of processing internally before ZServer gets a crack at delivering them to the "browser". It would also be interested to adjust the number of Zope threads. Anyway.. random mumblings. I will take a look at this! Thanks for bringing it up. -steve
I did the following experiment: I installed a binary distribution of python-1.5.2 (pkg_add or apt-get) and I compiled Zope-2.3.3+HotFix from sources (with wo_pcgi.py). I entered Zope's management screen and expanded all folders. I ran the previous program and after about 1000 hits I reloaded the page and measured the time it gets to finish. The results are below:
|---------------------+------------+---------------+-------------+ | OS | Hit Rate* | Real hit rate | Reload time | | | (hits/sec) | (hits/sec) | (sec) | |---------------------+------------+---------------+-------------+ | | 30 | 20 | 13 | | Linux debian 2.2.19 | 50 | 33 | 16 | | | 100 | 38 | 16 | |---------------------+------------+---------------+-------------+ | | 30 | 20 | 10 | | FreeBSD 4.3-Release | 50 | 33 | 23 | | | 100 | 40 | 100 | |---------------------+------------+---------------+-------------+ | | 30 | 20 | 10 | | OpenBSD 2.9-Release | 50 | 33 | 15 | | | 100 | 50 | 285 | |---------------------+------------+---------------+-------------+ *The hit rate is the one passed as an argument to the program, while real hit rate was calculated according to Zope's log file.