Re: huge performance diff between windows and linux.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This is actually better than the benchmarks I published a while back. I was seeing 3 or 4 times difference. Identical hardware, duel boot off the same hard disk.

Sent from my android device so the quoting is crap!

-----Original Message-----
From: Paul Roland <paul.roland@xxxxxxxxxx>
To: php-install@xxxxxxxxxxxxx
Sent: Sat, 07 Sep 2013 17:15
Subject: huge performance diff between windows and linux.

Hey I have an issue and I ran out of ideas.
I have two virtual servers, one running debian with compiled php and one
running server 2008 with php non thread safe version.
Both have 5.5.3 version installed and both have almoust the same config and
modules, with opcache enabled.

However I ran the benchmark script found online and I get this values:

Linux:

PHP version : 5.5.3
Platform : Linux
--------------------------------------
test_math                 : 1.677 sec.
test_stringmanipulation   : 1.625 sec.
test_loops                : 0.910 sec.
test_ifelse               : 0.757 sec.
--------------------------------------
Total time:               : 4.969 sec.

Windows:

PHP version : 5.5.3
Platform : WINNT
--------------------------------------
test_math                 : 2.516 sec.
test_stringmanipulation   : 5.297 sec.
test_loops                : 1.516 sec.
test_ifelse               : 0.781 sec.
--------------------------------------
Total time:               : 10.11 sec.


The question is am I missing something? can somebody with more experience
advise me what to setup on php or iis to improve this?
Not to mention that the windows server has double amount of ram and cpu.

I know I know I should blame Microsoft but even so I doubt THEY can do anything
in this setup. So I doing my best on my own, I would love to have Linux on that
box but it's not up to me.




[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux