1
0
Fork 0

Some testing profiles

This commit is contained in:
Jan Kaluza 2012-03-22 09:56:01 +01:00
parent 62e22ac8c0
commit 3c460f5e22
3 changed files with 25 additions and 23 deletions

14
profiles/included/script.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
. /etc/tune-profiles/functions
start() {
echo 1 > /tmp/test.txt
return 0
}
stop() {
return 0
}
process $@

View file

@ -0,0 +1,10 @@
[main]
[m_sysctl]
type=sysctl
net.core.rmem_default = 262144
[script]
type=script
script=script.sh

View file

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