#49582 [Fbk->Bgs]: high load when PHP compiled using icc
ID: 49582
Updated by: jani@php.net
Reported By: 12985462 at QQ dot com
-Status: Feedback
+Status: Bogus
Bug Type: CGI related
Operating System: Linux
PHP Version: 5.2.11
New Comment:
User-error. Hint: Don't use options which you don't know how they work.
Previous Comments:
------------------------------------------------------------------------
[2009-09-18 12:30:56] jani@php.net
So is it a bug in PHP or icc? What is -ip anyway?
------------------------------------------------------------------------
[2009-09-18 12:06:49] 12985462 at QQ dot com
5.2.11
2072 nobody 25 0 61908 16m 11m R 50.0 6.4 5:58.69 php-cgi
2073 nobody 25 0 61296 8376 3584 R 49.7 3.2 76:57.34 php-cgi
I have removed -ip ,it's now nice working .
------------------------------------------------------------------------
[2009-09-18 09:49:28] jani@php.net
Does it happen with PHP 5.2.11? :) And also, WHAT exactly are you
running? That isn't exactly "high load" either. And you also failed to
explain the configuration.
------------------------------------------------------------------------
[2009-09-18 02:55:33] 12985462 at QQ dot com
Description:
------------
I have tested php v5.2.10 and v5.3.10 and SVN. icc 10.0 10.1 11.0 11.1
and centos 5.3 32bit /ubuntu server 9.04 64bit.
If php compiled with icc , server it's high load.
like:
18532 nobody 25 0 94012 15m 10m R 33.3 6.2 197:04.95 php-cgi
18533 nobody 25 0 95032 20m 14m R 33.3 8.0 149:01.55 php-cgi
18534 nobody 25 0 93312 7988 3668 R 33.0 3.0 212:03.38 php-cgi
Reproduce code:
---------------
compiled your php with icc as fastcgi mode:
CFLAGS='-O2 -unroll2 -ip -march=core2 -xT' CXXFLAGS='-O2 -unroll2 -ip
-restrict -fno-implicit-templates -fno-exceptions -fno-rtti -march=core2
-xT' ./configure --prefix=/var/webserver/php
--with-config-file-path=/var/webserver/php/etc
--with-mysql=/var/webserver/mysql
--with-mysqli=/var/webserver/mysql/bin/mysql_config
--with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir
--with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml
--disable-rpath --enable-discard-path --enable-bcmath --enable-shmop
--enable-sysvsem --enable-inline-optimization --with-curl
--with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm
--enable-force-cgi-redirect --enable-mbstring --with-gd
--enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets
--with-mcrypt --with-mhash --without-pear --disable-debug
--disable-ipv6
-march=core2 -xT it's optimizeing for intel core2 cpu.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49582&edit=1
Thread (7 messages)