Tags:
create new tag
, view all tags

Performance less than 2 pages/sec

I install TWiki TWiki20030201.tar.gz on debian 3.0, with apache. I use apache "ab" (Apache Benchmark") to test it, I use WebHome as target in testing. Only 1 or 2 page per second comes out. The machine is PII 450, 256MB Ram.

Is such performace correct? Thank you.

Environment

TWiki version: 20030201
TWiki plugins: none
Server OS: Debian Linux 3.0
Web server: Apache 1.3.26
Perl version: 5.6.1
Client OS: As Above
Web Browser: "ab"

-- YuanChenCheng - 05 Mar 2003

Actually, you are getting good performance frown See CacheAddOn for more benchmark figures

-- PeterKlausner - 05 Mar 2003

TWiki is quite slow, as it is very dynamic and not much is compiled. I use a time wget -q -O /dev/null of the home page regularily, and what I found is that (on a PIII-800Mhz machine):

  • Using modperl speeds a lot twiki (nearly ten times!). It can go from an unusable 4s to a really nice 1.2s. (on a PIII 800).
  • Some plugins have real performance problems, even on pages not using them.
So yes, you are having good performance.

-- ColasNahaboo - 05 Mar 2003

This is interesting: my assumption was, that mod_perl cuts the set-up time to zero, i.e.

  • loading source
  • compiling code
  • opening permanent connections
  • loading re-used files

Does TWiki keep file-handles open accross page calls, or how does this speed-up work?

Curious, PeterKlausner - 05 Mar 2003

This set-up is done on each HTTP request, so modperl helps there. Of course, modperl has no impact on the running of the perl code once loaded.

-- ColasNahaboo - 06 Mar 2003

Topic revision: r6 - 2003-03-06 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.