Hi. Jure,<br><br>Thanks for the valuable advice.<br>I will look in the cool-thread servers from Sun. We are usually buying from Sun but moslty the x64 server.<br><br>The php application is a typical CMS for a hosting company.<br>
<br><br><br><br><br><div class="gmail_quote">On Fri, Jan 23, 2009 at 11:58 AM, Jure Pečar <span dir="ltr"><<a href="mailto:pegasus@nerv.eu.org">pegasus@nerv.eu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Fri, 23 Jan 2009 01:24:29 +0100<br>
Atif Ghaffar <<a href="mailto:atif.ghaffar@gmail.com">atif.ghaffar@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
> Hi,<br>
><br>
> I am planning to move a 16 node php cluster to a couple of machines.<br>
><br>
> The current machines have 2 GB RAM and they do the task of nginx plus they<br>
> do the task of php.<br>
> Each machine is running 5 php processes using php-fpm.<br>
><br>
> I would like to move all php requests to machines with 64GB RAM and a few<br>
> CPU cores 4-8.<br>
> The systems are running linux.<br>
><br>
> My question is what are the performance settings that I can do on the php<br>
> processing machines.<br>
<br>
</div></div>Is your application huge data processing with php?<br>
<br>
If not, you don't need that ammount of RAM. But you do need at least half<br>
as much cpu cores as requests you want to handle in parallel.<br>
<br>
So you want to be able to handle 32 requests in parallel, you need 16 cores<br>
and 32*(size of each php process) + some for OS of memory.<br>
<br>
If you want to handle more than 32 requests in parallel, check Sun's "cool<br>
threads" servers. Those can handle 128 threads in parallel per cpu.<br>
<font color="#888888"><br>
<br>
--<br>
<br>
Jure Pečar<br>
<a href="http://jure.pecar.org" target="_blank">http://jure.pecar.org</a><br>
<a href="http://f5j.eu" target="_blank">http://f5j.eu</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>best regards<br>Atif Ghaffar<br>