Some testing profiles
This commit is contained in:
parent
62e22ac8c0
commit
3c460f5e22
3 changed files with 25 additions and 23 deletions
14
profiles/included/script.sh
Executable file
14
profiles/included/script.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
. /etc/tune-profiles/functions
|
||||
|
||||
start() {
|
||||
echo 1 > /tmp/test.txt
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
return 0
|
||||
}
|
||||
|
||||
process $@
|
||||
10
profiles/included/tuned.cfg
Normal file
10
profiles/included/tuned.cfg
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[main]
|
||||
|
||||
[m_sysctl]
|
||||
type=sysctl
|
||||
net.core.rmem_default = 262144
|
||||
|
||||
[script]
|
||||
type=script
|
||||
script=script.sh
|
||||
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
[main]
|
||||
include=included.cfg
|
||||
script=script.sh
|
||||
elevator=deadline
|
||||
include=included
|
||||
|
||||
[my_sysctl]
|
||||
replace=1
|
||||
|
|
@ -57,23 +55,3 @@ vm.dirty_ratio = 50
|
|||
# Doesn't exist for 2.6.30++ anymore
|
||||
# vm.pagecache = 90
|
||||
|
||||
[my_ktune_plugin]
|
||||
type=ktune
|
||||
script=test.sh
|
||||
elevator=deadline
|
||||
#
|
||||
[my_cpu_plugin]
|
||||
#type=cpu
|
||||
|
||||
#[my_test_plugin]
|
||||
#type=test
|
||||
#merge=1
|
||||
|
||||
#[my_broken_plugin]
|
||||
#type=broken
|
||||
|
||||
[my_disk_plugin]
|
||||
type=disk
|
||||
elevator=deadline
|
||||
|
||||
|
||||
Loading…
Reference in a new issue