Commit fc6f9875 authored by aumgn's avatar aumgn
Browse files

[exp] Remove lb_bias parameter

parent 9ddce1b6
...@@ -26,7 +26,7 @@ msg() { ...@@ -26,7 +26,7 @@ msg() {
usage() { usage() {
cat <<HD cat <<HD
Usage: $script [-v] <programs> <pinning> <nodes> <use_perf> <autogroup> <lb_bias> <repeat> Usage: $script [-v] <programs> <pinning> <nodes> <use_perf> <autogroup> <repeat>
-v toggle verbose mode -v toggle verbose mode
<programs> list of programs to run <programs> list of programs to run
...@@ -34,7 +34,6 @@ Usage: $script [-v] <programs> <pinning> <nodes> <use_perf> <autogroup> <lb_bias ...@@ -34,7 +34,6 @@ Usage: $script [-v] <programs> <pinning> <nodes> <use_perf> <autogroup> <lb_bias
<nodes> list of numbers of nodes <nodes> list of numbers of nodes
<use_perf> whether ('y') or not ('n') perf should be used <use_perf> whether ('y') or not ('n') perf should be used
<autogroup> whether ('y') or not ('n') autogroup should be enabled <autogroup> whether ('y') or not ('n') autogroup should be enabled
<lb_bias> whether ('y') or not ('n') load_balancing should be biased with exponential smoothing
<repeat> the number of time to run the application for each parameter combinations <repeat> the number of time to run the application for each parameter combinations
Run volrend on 64 cores with and without pinning one time each: Run volrend on 64 cores with and without pinning one time each:
...@@ -44,9 +43,8 @@ with pinning and without pinning, ...@@ -44,9 +43,8 @@ with pinning and without pinning,
on 2,3,4,5,6,7,8 nodes on 2,3,4,5,6,7,8 nodes
with and without perf, with and without perf,
with and without autogroup, with and without autogroup,
with and without lb_bias,
five times each: five times each:
>> $0 "volrend word_count" "cores none" "\$(seq 2 8)" "y n" "y n" "y n" 5 >> $0 "volrend word_count" "cores none" "\$(seq 2 8)" "y n" "y n" 5
HD HD
} }
...@@ -151,7 +149,6 @@ dump_args() { ...@@ -151,7 +149,6 @@ dump_args() {
echo "NODES = $nodes_list" >>$args_file echo "NODES = $nodes_list" >>$args_file
echo "USE_PERF = $use_perfs" >>$args_file echo "USE_PERF = $use_perfs" >>$args_file
echo "AUTOGROUP = $autogroups" >>$args_file echo "AUTOGROUP = $autogroups" >>$args_file
echo "LB_BIAS = $lb_biases" >>$args_file
echo "REPEAT = $repeat" >>$args_file echo "REPEAT = $repeat" >>$args_file
} }
...@@ -172,7 +169,6 @@ run_iterations() { ...@@ -172,7 +169,6 @@ run_iterations() {
local nodes=$1; shift local nodes=$1; shift
local use_perf=$1; shift local use_perf=$1; shift
local autogroup=$1; shift local autogroup=$1; shift
local lb_bias=$1; shift
local threads=$(($nodes * 8)) local threads=$(($nodes * 8))
if [[ $pinning == 'cores' ]]; then if [[ $pinning == 'cores' ]]; then
...@@ -199,18 +195,9 @@ run_iterations() { ...@@ -199,18 +195,9 @@ run_iterations() {
exit 35 exit 35
fi fi
if [[ $lb_bias == "y" ]]; then printf '[%14s][%6s][%2d][%s][%s] ' $program $pinning $nodes $use_perf $autogroup
echo 'LB_BIAS' | sudo tee /sys/kernel/debug/sched_features >/dev/null
elif [[ $lb_bias == "n" ]]; then
echo 'NO_LB_BIAS' | sudo tee /sys/kernel/debug/sched_features >/dev/null
else
echo "Unknown lb_bias $lb_bias (y/n)"
exit 35
fi
printf '[%14s][%6s][%2d][%s][%s][%s] ' $program $pinning $nodes $use_perf $autogroup $lb_bias local exp_dir=$TMP_RESULTS_DIR/outputs/$program-$pinning-$nodes-$use_perf-$autogroup
local exp_dir=$TMP_RESULTS_DIR/outputs/$program-$pinning-$nodes-$use_perf-$autogroup-$lb_bias
for iteration in $(seq 1 $repeat); do for iteration in $(seq 1 $repeat); do
local iteration_dir=$exp_dir/$iteration local iteration_dir=$exp_dir/$iteration
...@@ -254,9 +241,7 @@ run_all() { ...@@ -254,9 +241,7 @@ run_all() {
for nodes in $nodes_list; do for nodes in $nodes_list; do
for use_perf in $use_perfs; do for use_perf in $use_perfs; do
for autogroup in $autogroups; do for autogroup in $autogroups; do
for lb_bias in $lb_biases; do run_iterations $program $pinning $nodes $use_perf $autogroup
run_iterations $program $pinning $nodes $use_perf $autogroup $lb_bias
done
done done
done done
done done
...@@ -316,7 +301,6 @@ pinnings=$1; shift ...@@ -316,7 +301,6 @@ pinnings=$1; shift
nodes_list=$1; shift nodes_list=$1; shift
use_perfs=$1; shift use_perfs=$1; shift
autogroups=$1; shift autogroups=$1; shift
lb_biases=$1; shift
repeat=$1; shift repeat=$1; shift
prepare_bench prepare_bench
......
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