perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <phark...@gmail.com>
Subject Re: Poor Apache/mod_perl performance
Date Mon, 12 Mar 2007 02:12:37 GMT
On 3/9/07, RA Jones <ra.jones@dpw.clara.co.uk> wrote:
> I installed from a standard httpd-2.2.3.tar.gz from an Apache.org mirror
> site, and Bundle::Apache2 from CPAN - as far as I know neither is
> optimised for AMD64.

I'm no compiler expert, but I don't think that matters.  Your gcc
should compile them with 64-bit support.

> Is my poor Apache/mod_perl (and mediocre mod_cgi performance) likely
> to be related to the 64-bit architecture?

In general, you can expect any program to run slower when compiled for
a 64-bit CPU, since it has to push more bits around.  Hopefully you
make up for that by using more memory and doing less disk access.

Frankly, 64-bit is very unlikely to be your problem.  How about
telling us more about it?  How are you testing it to see that it runs
slow?  Where did you see it run faster?  Does the same code run faster
through CGI?  You may just have some simple configuration problem.

- Perrin

Mime
View raw message