profiles: converted remount with nobarriers from functions to tuned.conf
This commit is contained in:
parent
1900dec483
commit
6c36daaebf
7 changed files with 5 additions and 55 deletions
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
start() {
|
||||
remount_all_no_rootboot_partitions nobarrier
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
remount_all_no_rootboot_partitions barrier
|
||||
return 0
|
||||
}
|
||||
|
||||
process $@
|
||||
|
|
@ -5,8 +5,5 @@
|
|||
[main]
|
||||
include=throughput-performance
|
||||
|
||||
[script]
|
||||
script=script.sh
|
||||
|
||||
[disk]
|
||||
readahead_multiply=4
|
||||
|
|
|
|||
|
|
@ -13,6 +13,11 @@ transparent_hugepages=always
|
|||
devices=sd*,cciss*,dm-*,vd*
|
||||
elevator=deadline
|
||||
|
||||
# Disable barriers on non root and boot mounts
|
||||
[mounts]
|
||||
devices=!/,!/boot
|
||||
disable_barriers=true
|
||||
|
||||
[sysctl]
|
||||
# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
start() {
|
||||
remount_all_no_rootboot_partitions nobarrier
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
remount_all_no_rootboot_partitions barrier
|
||||
return 0
|
||||
}
|
||||
|
||||
process $@
|
||||
|
|
@ -13,6 +13,3 @@ readahead_multiply=4
|
|||
# swapping low. It's usually safe to go even lower than this on systems with
|
||||
# server-grade storage.
|
||||
vm.swappiness = 30
|
||||
|
||||
[script]
|
||||
script=script.sh
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
start() {
|
||||
remount_all_no_rootboot_partitions nobarrier
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
remount_all_no_rootboot_partitions barrier
|
||||
return 0
|
||||
}
|
||||
|
||||
process $@
|
||||
|
|
@ -28,7 +28,3 @@ vm.dirty_ratio = 10
|
|||
# Start background writeback (via writeback threads) at this percentage (system
|
||||
# default is 10%)
|
||||
vm.dirty_background_ratio = 5
|
||||
|
||||
[script]
|
||||
replace=1
|
||||
script=script.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue