vi /etc/rc.local
#For best performance for Oracle ASM
echo deadline > /sys/block/sdb/queue/scheduler
#read ahead into the filesystem buffer every time when there is a read process
blockdev --setra 8192 /dev/sdb
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
echo no > /sys/kernel/mm/redhat_transparent_hugepage/khugepaged/defrag
#Increase kernel memory by doubling the default (check your system first!)
#the value of this item will be related to the memory in your system
# sysctl -a | grep min_free : 90112
vm.min_free_kbytes=180224
vm.swappiness=0
沒有留言:
張貼留言