Tags:
create new tag
, view all tags
Question

. I'm running TWiki (May version) on our intranet, on a Pentium III 500 Mhz Linux box that is quite unloaded otherwise, and its performance varies quite a lot - sometimes it's near instantaneous, sometimes (not often) it takes almost a second or two. The network is switched Fast Ethernet, the server is running Red Hat 6.1 and Apache 1.3.12. There is probably only one user active at any one time right now.

rdonkin@gojira Main$ uptime
4:18pm up 49 days, 6:39, 4 users, load average: 0.00, 0.00, 0.05

Since the user base will (I hope) increase, are there any suggestions on improving performance, or finding out what is happening? mod_perl seems like the obvious thing to do - I don't have any experience of this so it would be good if someone has documented how to do this.

Ideas that don't involve modifying Apache would be good too, as I don't have Apache admin or root access on this server.

(By the way, I am an Opera user, so I'm a big fan of the light-weight client requirements of TWiki!)

-- RichardDonkin - 07 Dec 2000

Answer

I am not sure where the performance problem in your case is. As you describe, it is only sometimes it takes more then a second. I don't think that the problem is with the TWiki perl scipts, since the performance changes so much.

FWIW, at work we have a reasonably fast Sun machine (not the top line) and TWiki is running without mod_perl. We do have lots uf users, and access is many times simultaneous. Even so we don't see too much of irregular response time.

I heard of people successfully running TWiki under mod_perl.

-- PeterThoeny - 09 Dec 2000

There is an issue with performance. I've installed TWiki on two machines - one an old 200Mhz Pentium with 96MB RAM connected via (slowish) VPN, the second a 300Mhz K6-2 with 256MB RAM connected via switched 100Mbit Ethernet. In both cases the results are similar. On the slower machine I can watch "top" and see "view" roll up 5 seconds (or more) of CPU time. That is a lot of processing time.

This is with TWiki20011201 on Apache (no mod_perl).

-- PrestonBannister - 04 Feb 2002

To follow up on my original issue - it turned out to be other activities on that machine. TWiki is now hosted on a Linux server (PIII/700 with 128 MB, I think), using Apache with no mod_perl, and is very fast - the only other service on that server is a newsgroup server, which is not too heavily used. I recently used wget to sync the whole of a 1 MB web (measured as *.txt size, it's actually 2 MB of HTML) onto a laptop over a 100 Mbps Ethernet, and it took just a minute or two, with each page taking typically much less than a second (not measured properly but the pages were zipping up the wget log output).

It's worth testing with wget or similar, as that removes any client issues from the equation. Also, are you running on Windows or Linux? The latter is typically very fast, though Apache on Windows is OK on my laptop for non-TWiki stuff.

-- RichardDonkin - 05 Feb 2002

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2002-02-05 - RichardDonkin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.