From:             12985462 at QQ dot com
Operating system: Linux
PHP version:      5.2.10
PHP Bug Type:     CGI related
Bug description:  high load!! if php with icc compiled!

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 bug report at http://bugs.php.net/?id=49582&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49582&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49582&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49582&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49582&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49582&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49582&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49582&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49582&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49582&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49582&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49582&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49582&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49582&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49582&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49582&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49582&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49582&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49582&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49582&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49582&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49582&r=mysqlcfg

Reply via email to