Be even more foolish, and set 16M for max AIO NR.

parent 31c9c285
...@@ -156,7 +156,7 @@ systemctl enable slapos-node.service ...@@ -156,7 +156,7 @@ systemctl enable slapos-node.service
systemctl start slapos-node.service systemctl start slapos-node.service
# Increase default aio-max-nr for sql servers # Increase default aio-max-nr for sql servers
sysctl -w fs.aio-max-nr=1048576 sysctl -w fs.aio-max-nr=16777216
# Enable noop scheduler for disk which have SLAPOS labeled partition # Enable noop scheduler for disk which have SLAPOS labeled partition
disk=`blkid -L SLAPOS | sed -r -e 's/(\/dev\/|[0-9]*$)//g'` disk=`blkid -L SLAPOS | sed -r -e 's/(\/dev\/|[0-9]*$)//g'`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment