[Zope] Performance of webserver?

Thaxter, Jason M. Jason.M.Thaxter@abc.com
Wed, 1 Sep 1999 11:44:02 -0400


YMMV:

I've been working on benchmarking myself (freebsd/apache/pcgi/zope) and
noticed this:

	./start script uses the -D option.

I was noting rather high CPU usage.  I shut down Zope and restarted it with
	python z2.py -p/path/to/Zope.cgi

and got better results.  This allows the python process to detach from the
terminal, since -D is debugging mode.  

While many benchmarking stats are meaningless, I can support Amos' basic
contention that zerver is about 4x faster that apache/pcgi/zerver.


> -----Original Message-----
> From: Andreas Kostyrka [mailto:andreas@mtg.co.at]
> Sent: Tuesday, August 31, 1999 3:10 PM
> To: zope@zope.org
> Cc: Zope-l
> Subject: Re: [Zope] Performance of webserver?
> 
> 
> On Tue, 31 Aug 1999, Itamar Shtull-Trauring wrote:
> 
> > Christopher Petrilli wrote:
> > 
> > > Performance on a "mid size" Linux box would
> > > be 35-50 hits/second (which translates to 3.8M hits/day).
> > 
> > Is this using ZServer or PCGI via Apache?
> Well, I just benchmarked a simple Zope page (http://www.mtg.co.at/)
> locally. (Simple is relative, it does have an tree tag on it.)
> The hardware:
> K6-III/400, enough RAM to keep the whole thing in RAM,
> IDE discs.
> 
> The software:
> ZOPE 2.0.0b6 configured with pcgi-wrapper/pcgi-publisher.py
> Apache 1.3.9 (mod_ssl 2.40)
> RedHat Linux 6.0
> ab (Apache Benchmark tool)
> 
> I did some tries with different concurrency, and it seems 
> like it does not
> have any effects on the results. Well, with a higher concurrency, the
> average time needed per request increases. Well, pcgi serializes all
> requests.
> 
> In fact, I just scored 15-16 requests per second, but the 
> python process
> never reached more than 69% CPU utilization (probably the 
> serialization
> stuff). 46KB/s.
> 
> For comparision, a simple static page (actually the "please 
> wait, we are
> updating our server" page you find on most of our hosted 
> domains at the
> moment), gets 540 requests per second with 950KB/s transfer rate.
> 
> Andreas
> --
> Andreas Kostyrka                     | andreas@mtg.co.at
> phone: +43/1/7070750                 | phone: +43/676/4091256   
> MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
> Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing 
> AUSTRIA        
> 
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>