RE: [PHP] upgrade to 4.3.0 nearly doubled execution time
| From: | Johnson, Kirk | Date: | Tue, 22 Apr 2003 14:04:32 +0000 |
| Subject: | RE: [PHP] upgrade to 4.3.0 nearly doubled execution time | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144822@lists.php.net to get a copy of this message | ||
Is there any update on the performance issues with 4.3.x? Are they being
addressed in 4.3.2RC1?
TIA
Kirk
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@lerdorf.com]
> Sent: Saturday, February 22, 2003 7:10 PM
> To: Jason k Larson
> Cc: Rhett Livingston; php-general@lists.php.net
> Subject: Re: [PHP] upgrade to 4.3.0 nearly doubled execution time
>
>
> Yes, I have noticed some performance issues as well, but we
> need to nail
> it down better before we can start really going after this.
> Could we call
> on the collective masses of php-general users to run some
> benchmark tests?
>
> Just build yourselves a libphp4.so for both 4.2.x and 4.3.x
> and switch the
> LoadModule line back and forth to benchmark the two versions.
> Then use
> something like http_load (http://www.acme.com/software/http_load/) to
> check various simple scripts. We need to figure out if this is an
> across-the-board performance problem or if it is one particular aspect
> which has slowed down.
>
> -Rasmus
>
> On Sat, 22 Feb 2003, Jason k Larson wrote:
>
> > I'm betting this is related...
> >
> > I upgraded to 4.3.0 on my production linux servers and began to have
> > serious socket connection issues. Rolling back to 4.2.3 cleared
> > everything up. I also saw an increase in script execution
> times with
> > 4.3.0, which became much better using 4.2.3. I noticed some very
> > strange behavior which leads me to believe 4.3.0 is not stable, and
> > shouldn't be used in a production environment.
> >
> > So, all I can suggest for now is to determine what it is
> you need, and
> > if a newer version of PHP will suit, go for it. But stay away from
> > 4.3.0 and 4.3.1 (which I've read up on and hasn't addressed
> any of these
> > issues).
> >
> > Regards,
> > Jason k Larson
> >
> >
> > Rhett Livingston wrote:
> > > I upgraded my development system from PHP 4.1.2 to PHP
> 4.3.0 last week and
> > > the performance of my scripts took a dive. Specifically,
> the average time
> > > to parse my scripts (time from executing first line of
> code to executing
> > > first line after includes) went from about 100ms to about
> 200ms, and, very
> > > oddly, my times to connect to an Oracle database also
> went up by about the
> > > same margin.
> > >
> > > Switching back to 4.1.2 clears the problem back up.
> > >
> > > What changed between 4.1.2 and 4.3.0 that could cause
> this? File IO stuff
> > > perhaps? Any ideas to solve it?
> > >
> > > Thanks,
> > > Rhett Livingston
> > >
> > > I'm running WinXP Pro, IIS, PHP as a CGI, and Oracle 9.2.