Welcome to Centmin Mod Community
Register Now

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:48 PM
    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

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:48 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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:48 PM
    N/A
    10.3.35 (10.3.35-MariaDB)
    Thank you for the information. I will take a look at the links. :)
     
  4. Simon Brown

    Simon Brown Premium Member Premium Member

    60
    6
    8
    Feb 9, 2017
    Ratings:
    +18
    Local Time:
    1:48 AM
    1.11.9
    I hope old threads are checked... My questions seems to be a good fit for this thread!

    I have a VPC with ANS Virtual private cloud SMB

    For general Nginx, PHP, MariaDB, Redis performance, would it better to setup a VPC with 2x processors with 4x cores each, or 4x processors with 2x cores each?

    I have a dedicated server with 2x processors with 4x cores processor which they've duplicated the hardware spec's for my VPC, but I was wondering if a different combination would be beneficial.

    I've noticed that MariaDB uses two PID's which continually max out at 100% CPU and after a while I see the SWAP being use (which I have to clear with "swap off -a" everyday). This is the same behaviour as the dedicated server I have. If I had 4x processors with two cores each, would it split the MariaDB load across 4 PID's instead (after I run the Centmin MariaDB tuning script)?

    Obviously, both server have Centmin installed and setup.

    I hope this makes sense.
     

    Attached Files:

  5. LLHOST

    LLHOST New Member

    13
    0
    1
    Apr 2, 2021
    Europe
    Ratings:
    +1
    Local Time:
    3:48 AM
    You need to think about concurrency. More cores = more threads that can run in parallel. Web apps benefit from more cores if you're handling many simultaneous users. Background jobs or batch processing? More cores help.
     
  6. Simon Brown

    Simon Brown Premium Member Premium Member

    60
    6
    8
    Feb 9, 2017
    Ratings:
    +18
    Local Time:
    1:48 AM
    1.11.9
    Hi LLHOST,
    Thanks for your reply.
    So, if I'm reading your post correctly, you're saying that 4 Cores with 2 threads each is better than 2 Cores with 4 threads each.
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:48 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    cpus generally only use SMT/hyperthreading with 1 physical core has max 2 threads.

    So technically, for dedicated servers 8 core dedicated has 8x2 = 16 CPU threads. But for VPS servers core/threads are used interchangeably so VPS with 16 cores can either be 8 physical cores with 2 threads each = 16 CPU threads or unlikely 16 physical CPU cores.
     
  8. Tillwesso

    Tillwesso Member

    47
    0
    6
    May 7, 2025
    Ratings:
    +0
    Local Time:
    3:48 AM
    Suggest you looking at your current usage and double it at least, triple is even better because coming half way through the month and running out of bandwidth is probable the worst thing you can do for your website, your users will probable desert you, if they see it isn’t online for a day or two.
     
  9. Hostingsource

    Hostingsource Member

    35
    0
    6
    May 12, 2025
    Ratings:
    +0
    Local Time:
    3:48 AM
    Disk space and bandwidth are two of the most essential features of any web hosting plan.
    How much do you require?
     
  10. swisslayer

    swisslayer New Member

    12
    0
    1
    Oct 29, 2025
    Ratings:
    +0
    Local Time:
    3:48 AM
    Built-in caching significantly improves website speed.
    Look for providers offering LiteSpeed, Varnish, or other caching tools.
     
  11. Grombahen

    Grombahen New Member

    11
    0
    1
    Feb 11, 2026
    Ratings:
    +0
    Local Time:
    3:48 AM
    I think, attractive offers are not the only factor you should depend while selecting a host.
    You should check the reliability and the quality of service also. Read customer hosting reviews.
     
  12. Mctokens

    Mctokens New Member

    15
    0
    1
    Feb 16, 2026
    Ratings:
    +0
    Local Time:
    3:48 AM
    If you’re unsure: Start slightly higher than minimum. Monitor for 2–4 weeks. Scale based on real metrics.
    It’s much easier to scale down than recover from an underpowered production server.