1
0
Fork 0

profiles: converted remount with nobarriers from functions to tuned.conf

This commit is contained in:
Jaroslav Škarvada 2012-11-30 17:43:07 +01:00
parent 1900dec483
commit 6c36daaebf
7 changed files with 5 additions and 55 deletions

View file

@ -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 $@

View file

@ -5,8 +5,5 @@
[main]
include=throughput-performance
[script]
script=script.sh
[disk]
readahead_multiply=4

View file

@ -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
#

View file

@ -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 $@

View file

@ -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

View file

@ -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 $@

View file

@ -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