[php-maint] Bug#644435: php5 uses cca 33% more memory than php5 package running on other systems
tomas.srnka at relbit.com
Wed Oct 5 19:40:51 UTC 2011
Tags: squeeze sid
I was testing a simple script for memory usage and I found out that debian is using circa 33% more memory than other systems. This means that running huge php software (like magento) is painful under debian.
The testing files are:
Please, rename them to .php and run vartest.php.
Here are results running the scripts on various systems (all of them are 64bitssystems):
CentOS 6: Time 0.069308042526245<br/>Memory: 14.61 MB
MacOS X 10.6: Time 0.073976039886475<br/>Memory: 14.61 MB
Ubuntu 11.04: Time 0.066581010818481<br/>Memory: 11.28 MB
Debian Squeeze: Time 0.075584888458252<br/>Memory: 21.98 MB
Gentoo: Time 0.11691498756409<br/>Memory: 14.62 MB
Debian Wheezy: Time 0.065372943878174<br/>Memory: 21.97 MB
I tried to use Ubuntu's (11.04) php runtime under Debian, however the results are the same as for Debian, so this bug might not be directly inside PHP package.
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 188.8.131.52-relbit-1 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the pkg-php-maint