S
stig erikson
Hello.
Even though this might be more of an apache question i will try here.
We have a few perl scripts in production, they run in a web service
environment. We use apache 2 with the mod_cgi module that came with
apache on redhat. We have performance problems.
It is run on a rather slow Pentium II 200Mhz server and it will be
change in some not too far future but we would like to do something
meanwhile.
The entire script (from first to last line) takes about 0.05-0.1 second
to run. When we run it on apache it will take around 2.5 seconds to
execute the entire script.
The overhead from executing perl and "compiling" the script is almost
2.5 seconds. This is the problem. (serving static pages is fast, so the
problem is execution of scripts).
The total execution time ir rather consistant no matter what script is
run. For all scripts we run the overhead time is approximately 2.5 seconds.
We would like to minimize the overhead to gain time.
Preferrably we dont want to change the scripts.
Is there something we can do cut down the overhead time?
Make perl start faster och make the compilation faster?
Even a cut of the overhead from 2.5 to 2.0 seconds would help.
Thank you
Stig
Even though this might be more of an apache question i will try here.
We have a few perl scripts in production, they run in a web service
environment. We use apache 2 with the mod_cgi module that came with
apache on redhat. We have performance problems.
It is run on a rather slow Pentium II 200Mhz server and it will be
change in some not too far future but we would like to do something
meanwhile.
The entire script (from first to last line) takes about 0.05-0.1 second
to run. When we run it on apache it will take around 2.5 seconds to
execute the entire script.
The overhead from executing perl and "compiling" the script is almost
2.5 seconds. This is the problem. (serving static pages is fast, so the
problem is execution of scripts).
The total execution time ir rather consistant no matter what script is
run. For all scripts we run the overhead time is approximately 2.5 seconds.
We would like to minimize the overhead to gain time.
Preferrably we dont want to change the scripts.
Is there something we can do cut down the overhead time?
Make perl start faster och make the compilation faster?
Even a cut of the overhead from 2.5 to 2.0 seconds would help.
Thank you
Stig