There's not a one size fits all answer. Drive Fsync speed, available ram, database size, other programs, MySQL (or MariaDB) version, number of CPU cores, if Query cache is available what the cache's fragmentation rate is, whether full ACID compliance is needed or if they can live with a second or so of loss if a crash occurs, and so many more variables.
There are many items that need to be tested, and benchmarked to do it properly. I don't suggest tools like mysqltuner - it will often give very bad advice and I've seen outrageous settings it recommended that people used which hurt performance. Its okay for getting an idea of a few basic stats.