Commit eb3939e9 authored by aumgn's avatar aumgn
Browse files

Enable schedstats for experiments

parent cebba370
......@@ -94,7 +94,8 @@ prepare_directories() {
prepare_system() {
msg "# Preparing system"
sudo sysctl kernel.numa_balancing=0 >/dev/null
sudo sysctl kernel.numa_balancing=0 >/dev/null
sudo sysctl kernel.sched_schedstats=1 >/dev/null
}
dump_system() {
......@@ -258,6 +259,10 @@ move_results() {
echo " => Results written in $RESULTS_DIR"
}
cleanup_system() {
sudo sysctl kernel.sched_schedstats=0 >/dev/null
}
script=$0
verbose=''
......@@ -301,3 +306,4 @@ check_errors
move_results
cleanup_system
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment