0

i have question about waiting for HDD. I'm not sure what is optimal %wa.

Server running browser game, i know that there is a lot hdd writing but im not sure what is optimal %wa. Server running 8 cores processor with 16gb of RAM. Mysql uses 20-35% CPU, and running 3 MySql databases.

%wa is 5-15% when 150 players are online. Is that ok or i didn't configured mysql, php or something other ok?

MadHatter
  • 81,580

1 Answers1

1

Optimal wait is 1%. What Michael wanted to point out is that if you want to lower IO-wait, you have to optimize your disk-throughput.

From experience I can say that a system is still quite reactive with about 20% IO-wait.

You should propably change the focus of your question to "how do I optimize disk-IO".

In that case you have to provide more detailed data from iostat -d 5, iostat -dm 5 and about your setup. From what you wrote the write-requests seem to be the most problematic.

So enabling a write-chache or putting that write-area into a ram-disk may change - but that is just a shot into the blue from my side.

Nils
  • 7,815