Req #47894 [Com]: Request: Support multi threading/multiple CPU cores
| From: | info-php at ch2o dot info | Date: | Sun, 09 Feb 2014 17:22:48 +0000 |
| Subject: | Req #47894 [Com]: Request: Support multi threading/multiple CPU cores | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184227@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=47894&edit=1
ID: 47894
Comment by: info-php at ch2o dot info
Reported by: ryan14 at mail dot com
Summary: Request: Support multi threading/multiple CPU cores
Status: Not a bug
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:
i agree for php scripting use full threading support a language level while be importante.
Previous Comments:
------------------------------------------------------------------------
[2011-09-19 15:14:02] scudeast at gmail dot com
I agree - shell based CPU intensive scripts are totally unsuitable for
implementation in php which is single thread bound.
This is I believe a serious issue that many of the php folk conveniently overlook
- and as a php developer myself this is incredibly frustrating.
------------------------------------------------------------------------
[2011-03-24 17:35:09] phpuser at fake dot com
Actually for people using php to run a cpu intensive script outside of the webserver. This would be
very important.
------------------------------------------------------------------------
[2009-04-04 10:29:01] johannes@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 https://bugs.php.net/bug.php?id=47894&edit=1