Edit report at http://bugs.php.net/bug.php?id=47894&edit=1
ID: 47894 Comment by: phpuser at fake dot com Reported by: ryan14 at mail dot com Summary: Request: Support multi threading/multiple CPU cores Status: Bogus Type: Feature/Change Request Package: Feature/Change Request Operating System: Windows/Linux PHP Version: 5.3.0RC1 Block user comment: N Private report: N New Comment: Actually for people using php to run a cpu intensive script outside of the webserver. This would be very important. Previous Comments: ------------------------------------------------------------------------ [2009-04-04 10:29:01] johan...@php.net PHP is made to run from a web server, there you usually serve multiple requests in parallel -> all cores used. In PHP level multi-threading is barely needed, usually all threading is needed for IO operations, but these can be solved by async connections (as of 5.3 you have async query support with mysql for instance) Adding full thread support just adds lots of new complexity and locking issues and barely real wins in performance. ------------------------------------------------------------------------ [2009-04-04 09:54:03] ryan14 at mail dot com Description: ------------ PHP doesn't currently support Multi threading and multiple core CPU's. All new CPU's have multiple cores like intel's quad core CPU which has 4 cores and some motherboards have two CPU sockets so 2 quad core CPU's would mean there would be 8 cores. PHP should support Multi threading and multiple core CPU's because it will mean people won't need to have as many servers in their cluster, because alot of CPU power is being wasted because PHP doesn't support Multi threading and multiple core CPU's. You can read more about it here: http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html So please PHP, the next version of PHP should support Multi threading and multiple core CPU's. If you have to work with the mysql and apache teams with this then please do it. Can you pass on my feature request to the php team? Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=47894&edit=1