We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Codev Web>TWikiPerformanceIssue (06 Mar 2003, PeterThoeny)
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 - 06 Mar 2003 - 06:21:13 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback