mod_perl speed difference between Fedora Core 1 and Fedora Core 3

[prev] [thread] [next] [Date index for 2005/01/06]

From: Alex Greg
Subject: mod_perl speed difference between Fedora Core 1 and Fedora Core 3
Date: 18:15 on 06 Jan 2005
Hi,


Recently I've upgraded one of our mod_perl servers to Fedora Core 3
(the others are all running Fedora Core 1).


What I've found is that the Fedora Core 3 machine is consistently
slower to respond than the Fedora Core 1 machines:


[root@twiglet root]# for f in web1 web2 web3 web4; do echo $f; time
lynx -source "http://$f/cgi-bin/data.cgi?id=1268"; > /dev/null ; echo ;
done
web1

real    0m0.681s
user    0m0.010s
sys     0m0.020s

web2

real    0m0.641s
user    0m0.020s
sys     0m0.010s

web3

real    0m0.626s
user    0m0.020s
sys     0m0.010s

web4

real    0m0.987s
user    0m0.020s
sys     0m0.010s


Our load balancer has picked this up as well and adjusted the weight
of the server accordingly, so it is definately consistently slower.


We're using the Fedora Perl packages (perl-5.8.3-16 on FC1,
perl-5.8.5-9 on FC3), but I have compiled Apache and mod_perl on all
the machines from source, with the following command:


perl Makefile.PL APACHE_SRC=../apache_1.3.31/src DO_HTTPD=1
USE_APACI=1 EVERYTHING=1  APACI_ARGS='--prefix=/www'
make && make test && make install


All four machines are using Apache 1.3.31 and mod_perl 1.29 and run on
identical hardware (P4 3.06Ghz, 3GB RAM). The only reason we're using
Fedora Core 3 on the 4th one is because the SCSI firmware version is
different and doesn't work under Fedora Core 1.


Any advice on this would be much appreciated.


Regards,


-- Alex

mod_perl speed difference between Fedora Core 1 and Fedora Core 3
Alex Greg 18:15 on 06 Jan 2005

Generated at 08:54 on 14 Mar 2005 by mariachi v0.52