Learn about Centmin Mod LEMP Stack today
Become a Member

How does one determine how many cores and RAM they need on a server?

Discussion in 'Dedicated server hosting' started by Rapture Forums, Jun 22, 2022.

  1. Rapture Forums

    Rapture Forums New Member

    5
    1
    3
    Jun 21, 2022
    Ratings:
    +3
    Local Time:
    7:03 AM
    N/A
    10.3.35 (10.3.35-MariaDB)
    Hi,
    I'd like to ask how does one decide how many cores and RAM they need on a server? Is there like a standard measure of get twice as much RAM as you are using on a consistent basis type of standard? Or is that just a personal preference as to how many cores and RAM you want?

    Is there a way to tell from looking at the CPU usage area from the control panel? I see the typical 1 minute, 5 minute, and 15 minute CPU usage amounts.

    Is it true that a 1 on these readings means that you are only using 1 core on your server?


    Thank you and I am sorry if this is a real newbie question.
     
  2. eva2000

    eva2000 Administrator Staff Member

    50,459
    11,659
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,079
    Local Time:
    10:03 PM
    Nginx 1.25.x
    MariaDB 10.x
    There's no exact formula - only rough estimates which have to be based on past monitored and understood usage metrics. There are 3 sticky threads and one Centmin Mod Insight subforum thread below that have a lot of tools mentioned in them that bring such metrics to light
    Yes CPU load average 1.0 = 100% CPU usage per CPU thread/core. So on a 8 CPU thread/core server, ideal load max is 8x1.0 = 8.0 or 800%.

    For Centmin Mod LEMP stack usage, ideally, you want at least a minimum 2 CPU cores/threads to give Nginx, PHP-FPM and MariaDB MySQL an adequate share of CPU time between them. Though for very light usage 1 CPU core/thread is fine. For forums like Xenforo depending on your forum activity and usage at least 2-4 CPU core/threads to start with and move up based on your monitored cpu/mem/disk I/O server resources usage.

    If you need more exact recommendations, my day job is doing paid server optimization consulting which involves analyzing a client's server resource usage and optimizing their server and also advising on web host and server hardware specifications to meet the client's needs including future growth capacity planning :) Though my rates aren't cheap, they start in 4 figures $$$$ per server.
     
  3. Rapture Forums

    Rapture Forums New Member

    5
    1
    3
    Jun 21, 2022
    Ratings:
    +3
    Local Time:
    7:03 AM
    N/A
    10.3.35 (10.3.35-MariaDB)
    Thank you for the information. I will take a look at the links. :)