Re: moving to quad core
| From: | Tom Worster | Date: | Tue, 15 Sep 2009 15:27:26 +0000 |
| Subject: | Re: moving to quad core | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298072@lists.php.net to get a copy of this message | ||
On 9/15/09 10:54 AM, "Andres Gonzalez" <andres@packetstorm.com> wrote:
> I have an application developed that uses alot of PHP. Currently, it is
> running on a Ubuntu 8.04 , single core CPU host. We are moving to a
> quad core host for this application.
>
> Is there anything special that I need to do to configure PHP to run on a
> quad core host? I noticed that my current single core system has PHP
> configured with Thread Safety disabled (as reported from phpinfo()).
> Does that need to be enabled to run in a multi-core environment?
>
> Any other suggestions for configuring PHP for multi-core use?
interesting question.
i never paid any attention to the possibility of needing to make config
changes when moving from single to multi-core computers. i'm using apxs2 and
just assumed that there's no threading within each httpd process. in other
words, i assumed it's up to the os' scheduler to make something of the
hardware.
i'm curious to hear more on the topic.