You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Matthew <ma...@matthewboehm.com> on 2006/06/20 05:48:27 UTC
something is wrong. no differences with MP2
Hey gang,
We are finally ready to move to our mod_perl2 handler. I just
finished running some tests against our old CGI (no PerlRun, no
Registry, just plain jane CGI).
The results were basically the same. I did 500 requests, 2
concurents, and both scripts took about the same time.
How can I find out what has happened? I just restarted apache too, to
give the mod_perl version a clean recompile.
Previous tests always showed at least a 50% speed increase over CGI.
Is there some tool I can use to find out what has been added that is
slowing down our mod_perl? Or any ideas what to look for first?
Thanks,
Matthew
Re: something is wrong. no differences with MP2
Posted by Matthew <ma...@matthewboehm.com>.
Both are reporting:
<!-- mod_perl/2.0.2 -->
Will look into Apache::DProf
-Matthew
Perrin Harkins wrote:
> On Mon, 2006-06-19 at 22:48 -0500, Matthew wrote:
>
>> We are finally ready to move to our mod_perl2 handler. I just
>>finished running some tests against our old CGI (no PerlRun, no
>>Registry, just plain jane CGI).
>>
>> The results were basically the same. I did 500 requests, 2
>>concurents, and both scripts took about the same time.
>
>
> The most likely answer is that something is wrong with your
> configuration and both are running through the same CGI. You should try
> printing the value of $ENV{MOD_PERL} for both.
>
>
>>Is there some tool I can use to find out what has been added that is
>>slowing down our mod_perl?
>
>
> Apache::DProf
>
> - Perrin
>
Re: something is wrong. no differences with MP2
Posted by Perrin Harkins <pe...@elem.com>.
On Mon, 2006-06-19 at 22:48 -0500, Matthew wrote:
> We are finally ready to move to our mod_perl2 handler. I just
> finished running some tests against our old CGI (no PerlRun, no
> Registry, just plain jane CGI).
>
> The results were basically the same. I did 500 requests, 2
> concurents, and both scripts took about the same time.
The most likely answer is that something is wrong with your
configuration and both are running through the same CGI. You should try
printing the value of $ENV{MOD_PERL} for both.
> Is there some tool I can use to find out what has been added that is
> slowing down our mod_perl?
Apache::DProf
- Perrin
Re: something is wrong. no differences with MP2
Posted by Frank Wiles <fr...@wiles.org>.
On Mon, 19 Jun 2006 22:48:27 -0500
Matthew <ma...@matthewboehm.com> wrote:
> Hey gang,
> We are finally ready to move to our mod_perl2 handler. I just
> finished running some tests against our old CGI (no PerlRun, no
> Registry, just plain jane CGI).
>
> The results were basically the same. I did 500 requests, 2
> concurents, and both scripts took about the same time.
>
> How can I find out what has happened? I just restarted apache too,
> to give the mod_perl version a clean recompile.
>
> Previous tests always showed at least a 50% speed increase over CGI.
>
> Is there some tool I can use to find out what has been added that is
> slowing down our mod_perl? Or any ideas what to look for first?
Has anything changed in your setup since running the test the last
time you saw a plausibly good result?
---------------------------------
Frank Wiles <fr...@wiles.org>
http://www.wiles.org
---------------------------------