Commit b2c89035 authored by Florian Fischer's avatar Florian Fischer
Browse files

use an absoulte path as out dir and call plot.py only once

Using the absolute path fixes the energy measurements because perf was
called in $HOME with a relative path inside emper-io-eval which did
break.
And using only a single eval.py call means we only hav one desc.yml file
containing everything for that run.
parent 05d64905
......@@ -15,7 +15,7 @@ RUNS=${RUNS:-${DEFAULT_RUNS}}
SSH_PORT=${SSH_PORT:-${DEFAULT_SSH_PORT}}
TIME=${TIME:-${DEFAULT_TIME}}
OUT="results/ma"
OUT="${HOME}/emper-io-eval/results/ma"
# move old results
if [ -d "$OUT" ]; then
ctime="$(date --date=@"$(stat -c '%Y' "${OUT}")" '+%Y-%m-%dT%H_%M_%S')"
......@@ -120,14 +120,12 @@ eval_latency() {
mkdir -p "${OUT}"/latency
./eval.py "${COMMON_ARGS_LATENCY[@]}" -f {no-sleep,vanilla}-{200us,${COMP}} \
-- emper go-200us tokio-200us
./eval.py "${COMMON_ARGS_LATENCY[@]}" -f \
{no-sleep,vanilla}-{200us,${COMP}} \
{pipe,waitfd}{,-no-comp}-{200us,${COMP}} \
io-stealing-{pipe,waitfd}-no-comp-{200us,${COMP}} \
io-notification-{waitfree,waitfd}-no-comp-{200us,${COMP}} \
-- emper
-- emper go-200us tokio-200us
}
[[ "${EVAL_THROUGHPUT:=true}" != "false" ]] && eval_throughput
......
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