Hi Daniel, <div><br></div><div>Some ideas.<br><div><br></div><div>If you can change settings on your server check out the archive with very interesting articles on the subject on <a href="http://2bits.com/articles/drupal-performance-tuning-and-optimization-for-large-web-sites.html">http://2bits.com/articles/drupal-performance-tuning-and-optimization-for-large-web-sites.html</a></div>
<div><br></div><div>The building of the cache takes a bit of time and consumes CPU also of course. It also all depends whats your ratio of logged in and anonymous users (you can see this easily in admin menu). If your problem with CPU comes from a lot of logged in users </div>
<div><br></div><div>Make sure you disabled and uninstalled all modules which you don&#39;t use. Reduce number of cron runs and backups.</div><div><br></div><div>Try to see where the load comes from. Search and views (especially views with relationships) can be heavy consumers. With your own server you could use Apache Solr as a replacement for the Drupal search.</div>
<div><br></div><div>A radical but very effective solution for reducing CPU is to install <a href="http://drupal.org/project/boost">http://drupal.org/project/boost</a></div><div>it makes a static pure html copy of your pages. I&#39;m using it on a few sites with great success, page loads dropped to 0.3s for anonymous users and also server load decreased with factor between 5 and 10.</div>
<div><br></div><div>css aggregation is very good for loading speed performance; I&#39;m not sure about the exact influence on cpu but I expect its not of much influence so I would put it on. Wim Leers has a very interesting article on page loading performance: <a href="http://wimleers.com/article/improving-drupals-page-loading-performance">http://wimleers.com/article/improving-drupals-page-loading-performance</a></div>
<div><br></div><div>Good luck, </div><div><br></div><div>Hans</div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">2009/5/13 Daniel Carrera <span dir="ltr">&lt;<a href="mailto:daniel.carrera@theingots.org">daniel.carrera@theingots.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I&#39;m having trouble with CPU usage on my Drupal 5 site. I just enabled caching, and hopefully that will solve the problem, but I want to look at what else I can do to reduce CPU usage further.<br>
<br>
On the performance page, Drupal gives me the option to &quot;Aggregate and compress CSS files&quot;. This sounds pretty good, as it would reduce bandwidth and HTTP requests. But I&#39;m concerned that the compression might increase CPU usage.<br>

<br>
Can anyone tell me if selecting the &quot;aggregate and compress CSS files&quot; option will increase my CPU usage?<br>
<br>
Can anyone suggest other ideas to decrease my CPU usage?<br>
<br>
Thanks,<br>
Daniel.<br><font color="#888888">
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Hans Rossel<br>KOBA Webdevelopment<br>Kerkstraat 228<br>9050 Gent<br>09-334.52.60<br>0472-79.32.16<br><a href="http://www.koba.be">www.koba.be</a><br><a href="mailto:info@koba.be">info@koba.be</a><br>

</div></div>