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.
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.
vm.dirty_ratio = 8 vm.dirty_background_ratio = 4
innodb_flush_log_at_trx_commit=2 innodb_file_per_table=1 innodb_thread_concurrency=0 innodb_buffer_pool_size=4G innodb_buffer_pool_instances=8 innodb_log_file_size=256M 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 innodb_log_write_ahead_size=128K disable_log_bin