Results 1 to 11 of 11
Thread: CPU vs. RAM
-
04-21-2011, 06:41 AM #1WHT Addict
- Join Date
- Apr 2011
- Posts
- 109
CPU vs. RAM
I have a website which runs a simple script but with high traffic. This means that many visitors are forcing a php script to run at the same time.
What is more important when ordering a VPS? CPU or RAM? What do I need more?
-
04-21-2011, 06:54 AM #2Web Hosting Master
- Join Date
- Oct 2010
- Posts
- 620
can you post your current configuration of the VPS , it will help others to suggest you the best solutions.
|| 24x7CloudServerManagement | Server Management & Technical Support ||
|| Hosting Infrastructure & Customer Service Mangement 24x7 | Cpanel Server Management ||
|| https://www.24x7cloudservermanagement.com ||
-
04-21-2011, 06:58 AM #3WHT Addict
- Join Date
- Apr 2011
- Posts
- 109
I have not set it yet. I am moving my site from a shared hosting.
-
04-21-2011, 08:11 AM #4Web Hosting Master
- Join Date
- Mar 2005
- Location
- Labrador, Canada
- Posts
- 988
-
04-21-2011, 10:50 AM #5Web Hosting Master
- Join Date
- Jun 2010
- Location
- Northern Virginia
- Posts
- 2,201
█ Big Brain Global Networks --Your Hosting Specialists Since 2010
█ www.bigbrainglobal.com
█ Fully Managed cPanel KVM VPS & Dedicated Servers
█ 24/7/365 U.S.A Based Customer Support | Multiple U.S.A locations
-
04-21-2011, 11:08 AM #6WHT Addict
- Join Date
- Apr 2011
- Posts
- 109
It is a simple xml-based CMS (GetSimple) displaying Amazon products by API signature.
-
04-21-2011, 11:10 AM #7Web Hosting Master
- Join Date
- Jun 2010
- Location
- Northern Virginia
- Posts
- 2,201
Do you plan on running a control panel on the VPS?
█ Big Brain Global Networks --Your Hosting Specialists Since 2010
█ www.bigbrainglobal.com
█ Fully Managed cPanel KVM VPS & Dedicated Servers
█ 24/7/365 U.S.A Based Customer Support | Multiple U.S.A locations
-
04-21-2011, 11:13 AM #8WHT Addict
- Join Date
- Apr 2011
- Posts
- 109
No need for control panel, I am OK with SSH. Most of works are script-based; nothing special to do with the control panel or even the root access.
-
04-21-2011, 11:16 AM #9Web Hosting Master
- Join Date
- Jun 2010
- Location
- Northern Virginia
- Posts
- 2,201
Ok.
Well it is kinda tough to say if the script would use more RAM or CPU but from my experience, the script would rely a little more on CPU usage than RAM. I can't imagine it making great use of larges amounts of RAM -- especially, with no control panel, you may be even cut back on RAM more.█ Big Brain Global Networks --Your Hosting Specialists Since 2010
█ www.bigbrainglobal.com
█ Fully Managed cPanel KVM VPS & Dedicated Servers
█ 24/7/365 U.S.A Based Customer Support | Multiple U.S.A locations
-
04-21-2011, 11:55 AM #10Web Hosting Master
- Join Date
- Jun 2003
- Location
- California
- Posts
- 2,786
Are you using MySQL as well?
The reason I ask is that in my experience, PHP CMS applications usually utilize a database, and the database does use memory.
As an example, I have a 1GB VPS that I host most of my accounts on, including some Wordpress blogs and PHP-based forums. I found the most "bang for the buck" in optimizing MySQL to cache more, and that takes more memory. I use a program called "mysqltuner.pl" to tweak MySql settings. It improved response times quite a bit.
With cPanel and optimized MySql I'm using ~650MB of the 1024MB of RAM. I could continue to tweak it a bit more with more memory; I don't like going over 65 - 70% of RAM for the configuration. I don't recall what cPanel uses, but I think you gain 340MB without it. That would give you some more room for RAM use by MySql.
With most VPS vendors, you can upgrade "in place" to the next highest level. Without needing a control panel, you could buy a 1GB VPS from BuyVM or Burst.net (the only two I have experience with that I can recommend) for about $10 a month or less. You might check with the vendor to see if you can "downgrade" as easily as upgrade.
-
04-21-2011, 12:04 PM #11WHT Addict
- Join Date
- Apr 2011
- Posts
- 109
Not, it does not have sql. Xml-based CMS is fast and light as the data is stored in xml files instead of sql databases.
Similar Threads
-
[High CPU/RAM] Semi-Dedi, 15%CPU/RAM =$39/month!
By Peter-SexyWing in forum Shared Hosting OffersReplies: 1Last Post: 01-05-2009, 02:04 AM -
XEN VPS | 128 RAM/BAND./CPU/256 SWAP $10/mo | 256 RAM/BAND./CPU/512 SWAP $20/mo LIFE!
By Senad in forum VPS Hosting OffersReplies: 0Last Post: 06-05-2007, 08:03 PM -
XEN VPS | 128 RAM/BAND./CPU/256 SWAP $10/mo | 256 RAM/BAND./CPU/512 SWAP $20/mo LIFE!
By Senad in forum VPS Hosting OffersReplies: 0Last Post: 05-28-2007, 10:45 PM -
XEN VPS | 128 RAM/BAND./CPU/256 SWAP $10/mo | 256 RAM/BAND./CPU/512 SWAP $20/mo LIFE
By Senad in forum VPS Hosting OffersReplies: 2Last Post: 05-26-2007, 12:06 AM -
XEN VPS | 128 RAM/BAND./CPU/256 SWAP $10/mo | 256 RAM/BAND./CPU/512 SWAP $20/mo LIFE!
By Senad in forum VPS Hosting OffersReplies: 0Last Post: 05-14-2007, 10:26 AM