Welcome to the first unified way to benchmark your hosting using simple Wordpress plugin.
A simple way to find out if your server is fast or needs an upgrade.
These suggestions are mostly based on my own experience as system administrator with 20+ years of experience. To apply them you in most cases should be administrator or owner of the server. If you run your Wordpress site on shared hosting - you might want to ask your hosting provider to look through them. I open to answer questions and might update these tips in the future.
10.july.2023: I have benchmarked several servers, mostly targeting CPU performance - sharing small overview and thoughts here in my blog.
You should understand, that PHP is not multi-core processes, that means, that one PHP request utilize one CPU core. That means that speed of processing of one request does not depend on number of CPU cores, but more on single core performance and clock speed. My tests on different CPUs (both AMD and Intel) show, that clock speed makes more difference - therefore I suggest choosing CPU with higher clock speed. Quite often expnsive server CPUs with 32-64 CPU cores are clocked with lower MHz, than more desktop-grade CPUs.
CPU performance will affect Wordpress speeed most of all, therefore always try to look for the fastest CPU with highers frequency. If you are interested, I can offer temporary hosting on a fast server with fast CPU, so you can see the difference yourself.
vm.dirty_ratio = 8 vm.dirty_background_ratio = 4
# CHANGED on 29.june.2023 innodb_flush_log_at_trx_commit=0 innodb_file_per_table=1 innodb_thread_concurrency=0 innodb_buffer_pool_size=4G innodb_buffer_pool_instances=8 innodb_log_file_size=512M # updated 29.june.2023, increased # only if you are using MariaDB # query cache is not available in MySQL8+ query_cache_type=1 query_cache_limit=128K query_cache_size=64M query_cache_min_res_unit=512 performance_schema=0 sql-mode="NO_ENGINE_SUBSTITUTION" # added on 29.Oct.2022 # especially for MySQL 8.0 innodb_redo_log_capacity=512M # ONLY if you have MySQL 8.0.30+ innodb_log_buffer_size=512M disable_log_bin # REMOVED FROM SUGGESTION, 29.june.2023 # innodb_log_write_ahead_size=128K # ADDED on 29.june.2023 innodb_io_capacity = 2000 innodb_io_capacity_max = 5000 innodb_checksum_algorithm = crc32 innodb_log_compressed_pages=OFF innodb_change_buffering=all