Results 1 to 11 of 11

Thread: CPU vs. RAM

  1. #1

    Question 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?

  2. #2
    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 ||

  3. #3
    I have not set it yet. I am moving my site from a shared hosting.

  4. #4
    Join Date
    Mar 2005
    Location
    Labrador, Canada
    Posts
    988
    Quote Originally Posted by etrader View Post
    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?
    That really depend on what the script is doing. You say it's a simple script -- post it up so we can see it.

    Some form of caching would probably be a huge help, but it's hard to say without knowing more....

  5. #5
    Join Date
    Jun 2010
    Location
    Northern Virginia
    Posts
    2,201
    Quote Originally Posted by etrader View Post
    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?
    Hello,

    It all depends on the script and what it is doing.

    With most VPS providers, you can always upgrade at a later date. Worst case, get the minimum for what you think you need and you can upgrade if you need to.

    A few more details on the script and we can help you.
    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

  6. #6
    It is a simple xml-based CMS (GetSimple) displaying Amazon products by API signature.

  7. #7
    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

  8. #8
    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.

  9. #9
    Join Date
    Jun 2010
    Location
    Northern Virginia
    Posts
    2,201
    Quote Originally Posted by etrader View Post
    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.
    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

  10. #10
    Join Date
    Jun 2003
    Location
    California
    Posts
    2,786
    Quote Originally Posted by etrader View Post
    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.
    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.

  11. #11
    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

  1. [High CPU/RAM] Semi-Dedi, 15%CPU/RAM =$39/month!
    By Peter-SexyWing in forum Shared Hosting Offers
    Replies: 1
    Last Post: 01-05-2009, 02:04 AM
  2. Replies: 0
    Last Post: 06-05-2007, 08:03 PM
  3. Replies: 0
    Last Post: 05-28-2007, 10:45 PM
  4. Replies: 2
    Last Post: 05-26-2007, 12:06 AM
  5. Replies: 0
    Last Post: 05-14-2007, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •