I have been looking at things regarding iowait and stuff, and I have come across that in RHE there was a problem where iowait would hit 100% and the system would slow down and eventually crash, now there is a fix for this, of which is as followed, but I am having trouble understanding what the commands do:
# echo 30 > /proc/sys/vm/inactive_clean_percent
# echo 2 10 20 > /proc/sys/vm/pagecache
The first line changes the inactive clean percent value to 30%, so when input/output is inactive it will clean the % by 30%. So when the iowait is 100% but is not actually being used it will be cleaned by 30%, making it 70%, and if still not being used it will drop the percentage further
IS what I have, but I am not sure if the firt command is true in what it does, and same for the second, no idea what it does.
If anyone is able to post what they do, I would be greatly appreciative.
"You donít learn to hack, you hack to learn"