Working mod_perl installation

Max Kanat-Alexander mkanat at bugzilla.org
Thu Jun 29 11:55:56 UTC 2006


On Wed, 2006-06-28 at 14:00 +0100, Gervase Markham wrote:
> The big thing about it is that it's faster, right?
> 
> Perhaps there are caching issues, but a search for all bugs on this
> installation returns the first result after 26 seconds, but on the tip
> installation on the same box it takes 20. (Admittedly, these are very
> rough results with no scientific rigour whatsoever.)
> 
> Is there any test we can do to prove that mod_perl is making a
> difference to something?

	There are a few problems:

	1) I think the current install might have a memory leak, causing it to
slow down once it's been up for a while.

	2) mod_perl performance improvements will only be seen on the second
page load in your httpd child, with the way that things are set up now.
I could also have Apache pre-compile all CGIs on startup, which I may do
if it doesn't take up too much RAM.

	That is, mod_perl compiles a CGI once and then never has to recompile
it. But of course Apache runs as 8-10 processes, so it has to actually
compile it once per-process.

	Trust me, it's extremely faster when things are working right. The best
way to see the difference, at least for me, is to switch between
index.cgi and query.cgi a few times.

	Remember that this *is* a testing installation, so even the performance
might not be perfect yet. :-)

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla Services. And Everything Else, too.




More information about the developers mailing list