Re: PHP and VMware: SLOW
- From: "bernard_matthews" <bernard_matthews@xxxxxxxxxxxxx>
- Date: 21 Aug 2006 00:04:18 -0700
m2m tech support wrote:
I'm finding PHP really slow when it runs in VMware.
On my ancient 1ghz sarge box:
php = 3 x perl
On my 3 ghz ubuntu 6.06 VMware instance, running php4:
php = 6 x perl
Why is php slower so much slower under VMware?
Are apache, php and perl configured on both servers exactly the same
way?
I'm running these from the command line.
Do you use the same versions?
No. On the real box, I'm using the versions from Fedora Core 5.
On the VM box, I'm using the versions from Ubuntu 6.06.
I provided the comparison against Perl as a way of working around this.
Are php and perl part of apache or compiled as modules?
Does php run with the same modules?
No modules, just plain old cli php and perl.
Although a factor of 2 is really strange. But when I run Linux via
VMware on my XP box and the vmware window is not active it takes
sometimes a couple of minutes to activate the window. Could it have
something to do with memory swapping of the host system?
Memory swapping is not an issue (plus the rand() won't allocate memory)
- how long did the benchmarks take on your boxes?
.
- Follow-Ups:
- Re: PHP and VMware: SLOW
- From: m2m tech
- Re: PHP and VMware: SLOW
- References:
- PHP and VMware: SLOW
- From: bernard_matthews
- Re: PHP and VMware: SLOW
- From: m2m tech support
- PHP and VMware: SLOW
- Prev by Date: Re: $_REQUEST with variables
- Next by Date: Re: PHP and VMware: SLOW
- Previous by thread: Re: PHP and VMware: SLOW
- Next by thread: Re: PHP and VMware: SLOW
- Index(es):
Relevant Pages
|