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">&lt;<a href="mailto:pegasus@nerv.eu.org">pegasus@nerv.eu.org</a>&gt;</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 &lt;<a href="mailto:atif.ghaffar@gmail.com">atif.ghaffar@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Dear all,<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am planning to move a 16 node php cluster to a couple of &nbsp;machines.<br>
&gt;<br>
&gt; The current machines have 2 GB RAM and they do the task of nginx plus they<br>
&gt; do the task of php.<br>
&gt; Each machine is running 5 php processes using php-fpm.<br>
&gt;<br>
&gt; I would like to move all php requests to machines with 64GB RAM and a few<br>
&gt; CPU cores 4-8.<br>
&gt; The systems are running linux.<br>
&gt;<br>
&gt; My question is what are the performance settings that I can do on the php<br>
&gt; processing machines.<br>
<br>
</div></div>Is your application huge data processing with php?<br>
<br>
If not, you don&#39;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&#39;s &quot;cool<br>
threads&quot; 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>