2011年8月18日 星期四

sysctl

-a Display all values currently available.

修改值 /etc/sysctl.conf file.

fs.aio-max-nr = 1048576

After you have done so you can activate your settings by executing the following command:

sysctl -p /etc/sysctl.conf


The current aio pending operations shows on /proc/sys/fs/aio-nr, the maximum is on /proc/sys/fs/aio-max-nr, if you are hitting the maximum AIO try to increase it, we set this to 1000000 here on /etc/sysctl.conf (fs.aio-max-nr = 1000000).

沒有留言:

張貼留言