var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
More CPU or RAM...?
Hello everyone.i run LAMP on a dedicated server at theplanet.I have a small vbulletin forum.
I m planning to move to a new server.Just a quick question.for my new hardware,do i give more emphasis to ram or cpu...i will be getting 2 gb at the minimum.
SO,is LAMP dependant more on cpu resources or ram ?
We can't say if LAMP depends more on CPU or RAM. It solely depends on the application(s) you run.
If you have a VB with lot of users and a huge database connection, check if the RAM is sufficient. You can always check the mysql process list to see if there are any hung queries.
I think 2GB will be sufficient to start with (medium traffic).....
Look at top in your current config. Is CPU or iowait higher? Whichever is higher is what you need to upgrade more.
You can also get back with the free -mt results and we can whether you need more ram.
If this is a virtualized server using openvz get back to us with the results of cat /proc/user_beancounter
<<Signature to be set up in your profile>>
Last edited by anon-e-mouse; 06-22-2009 at 05:31 PM.
Disk I/O and RAM, in that order, are generally going to matter more than CPU. Enable APC in PHP. Use memcached where you can (it can even be used to keep PHP sessions off disk).
, Chief of R&D
, WebGroup Media LLC. - LinkedIn
is a fast and flexible web-based platform for business collaboration and automation. http://www.cerbweb.com/