Re: PHP and VMware: SLOW




m2m tech wrote:
bernard_matthews wrote:
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?

Memory swapping is not an issue (plus the rand() won't allocate memory)
- how long did the benchmarks take on your boxes?

With memory swapping I meant, that it WinXP is pushing VMware (or parts
of it) into the virtual memory while it is not active. When I activate
the VMware window it takes quite some time till VMware is usable ...

... another idea: Could it be one of your processor uses variable CPU
frequences? Then it would be hard to do reliable benchmarking ...

My idle VMware VM, running on a faster box with tons of ram takes six
times longer to do the math needed for rand() than my deprecated old
sarge box.

Something is wrong here.

.



Relevant Pages

  • RE: [PHP] Xampp question, pretty much 0T
    ... I suggest you look into VMWare. ... versions (player, server, etc) if you don't want Workstation (which I ... [PHP] Xampp question, pretty much 0T ... recommended it to me when I asked for an easy install of AMP. ...
    (php.general)
  • PHP and VMware: SLOW
    ... I'm finding PHP really slow when it runs in VMware. ... I wrote two benchmark scripts. ... perl takes 1 minute 18 seconds. ...
    (php.general)
  • Re: PHP and VMware: SLOW
    ... php = 3 x perl ... Why is php slower so much slower under VMware? ... With memory swapping I meant, that it WinXP is pushing VMware into the virtual memory while it is not active. ...
    (php.general)
  • Re: PHP and VMware: SLOW
    ... php = 3 x perl ... On my 3 ghz ubuntu 6.06 VMware instance, running php4: ... Why is php slower so much slower under VMware? ...
    (php.general)
  • Re: PHP and VMware: SLOW
    ... php = 3 x perl ... Why is php slower so much slower under VMware? ... VMware on my XP box and the vmware window is not active it takes ...
    (php.general)