Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions automated/linux/cyclictest/cyclictest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OUTPUT="$(pwd)/output"
LOGFILE="${OUTPUT}/cyclictest.json"
RESULT_FILE="${OUTPUT}/result.txt"

PRIORITY="98"
RT_PRIORITY="98"
INTERVAL="1000"
THREADS="1"
AFFINITY="0"
Expand All @@ -25,7 +25,7 @@ usage() {

while getopts ":p:i:t:a:D:h:w:" opt; do
case "${opt}" in
p) PRIORITY="${OPTARG}" ;;
p) RT_PRIORITY="${OPTARG}" ;;
i) INTERVAL="${OPTARG}" ;;
t) THREADS="${OPTARG}" ;;
a) AFFINITY="${OPTARG}" ;;
Expand Down Expand Up @@ -60,7 +60,7 @@ fi
background_process_start bgcmd --cmd "${BACKGROUND_CMD}"

# shellcheck disable=SC2086
"${binary}" -q -p "${PRIORITY}" -i "${INTERVAL}" -t "${THREADS}" -a "${AFFINITY}" \
"${binary}" -q -p "${RT_PRIORITY}" -i "${INTERVAL}" -t "${THREADS}" -a "${AFFINITY}" \
-D "${DURATION}" ${HISTOGRAM} -m --json="${LOGFILE}"

background_process_stop bgcmd
Expand Down
4 changes: 2 additions & 2 deletions automated/linux/cyclictest/cyclictest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ metadata:

params:
# Priority of highest prio thread.
PRIORITY: "98"
RT_PRIORITY: "98"
# Base interval of thread in us.
INTERVAL: "1000"
# Number of threads.
Expand All @@ -54,6 +54,6 @@ params:
run:
steps:
- cd ./automated/linux/cyclictest/
- ./cyclictest.sh -D "${DURATION}" -p "${PRIORITY}" -i "${INTERVAL}" -t "${THREADS}" -a "${AFFINITY}" -h "${HISTOGRAM}" -w "${BACKGROUND_CMD}"
- ./cyclictest.sh -D "${DURATION}" -p "${RT_PRIORITY}" -i "${INTERVAL}" -t "${THREADS}" -a "${AFFINITY}" -h "${HISTOGRAM}" -w "${BACKGROUND_CMD}"
- ../../utils/upload-to-artifactorial.sh -a "output/cyclictest.json" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"
- ../../utils/send-to-lava.sh ./output/result.txt
6 changes: 3 additions & 3 deletions automated/linux/rt-migrate-test/rt-migrate-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LOGFILE="${OUTPUT}/rt-migrate-test"
RESULT_FILE="${OUTPUT}/result.txt"
TMP_RESULT_FILE="${OUTPUT}/tmp_result.txt"

PRIORITY="51"
RT_PRIORITY="51"
DURATION="1m"
BACKGROUND_CMD=""
ITERATIONS=1
Expand All @@ -21,7 +21,7 @@ usage() {

while getopts ":l:p:D:w:i:" opt; do
case "${opt}" in
p) PRIORITY="${OPTARG}" ;;
p) RT_PRIORITY="${OPTARG}" ;;
D) DURATION="${OPTARG}" ;;
w) BACKGROUND_CMD="${OPTARG}" ;;
i) ITERATIONS="${OPTARG}" ;;
Expand All @@ -42,7 +42,7 @@ fi
background_process_start bgcmd --cmd "${BACKGROUND_CMD}"

for i in $(seq ${ITERATIONS}); do
"${binary}" -q -p "${PRIORITY}" -D "${DURATION}" -c --json="${LOGFILE}-${i}.json"
"${binary}" -q -p "${RT_PRIORITY}" -D "${DURATION}" -c --json="${LOGFILE}-${i}.json"
done


Expand Down
4 changes: 2 additions & 2 deletions automated/linux/rt-migrate-test/rt-migrate-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ metadata:

params:
# Priority of lowest prio thread (3 threads are created).
PRIORITY: "96"
RT_PRIORITY: "96"
# Execute rt-migrate-test for given time
DURATION: "5m"
# Background workload to be run during the meassurement
Expand All @@ -42,6 +42,6 @@ params:
run:
steps:
- cd ./automated/linux/rt-migrate-test/
- ./rt-migrate-test.sh -p "${PRIORITY}" -D "${DURATION}" -i "${ITERATIONS}" -w "${BACKGROUND_CMD}"
- ./rt-migrate-test.sh -p "${RT_PRIORITY}" -D "${DURATION}" -i "${ITERATIONS}" -w "${BACKGROUND_CMD}"
- ../../utils/upload-to-artifactorial.sh -a "output/rt-migrate-test.json" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"
- ../../utils/send-to-lava.sh ./output/result.txt
6 changes: 3 additions & 3 deletions automated/linux/signaltest/signaltest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LOGFILE="${OUTPUT}/signaltest"
RESULT_FILE="${OUTPUT}/result.txt"
TMP_RESULT_FILE="${OUTPUT}/tmp_result.txt"

PRIORITY="98"
RT_PRIORITY="98"
THREADS="2"
DURATION="1m"
BACKGROUND_CMD=""
Expand All @@ -22,7 +22,7 @@ usage() {

while getopts ":p:t:D:w:i:" opt; do
case "${opt}" in
p) PRIORITY="${OPTARG}" ;;
p) RT_PRIORITY="${OPTARG}" ;;
t) THREADS="${OPTARG}" ;;
D) DURATION="${OPTARG}" ;;
w) BACKGROUND_CMD="${OPTARG}" ;;
Expand All @@ -48,7 +48,7 @@ fi
background_process_start bgcmd --cmd "${BACKGROUND_CMD}"

for i in $(seq ${ITERATIONS}); do
"${binary}" -q -D "${DURATION}" -a -m -p "${PRIORITY}" -t "${THREADS}" --json="${LOGFILE}-${i}.json"
"${binary}" -q -D "${DURATION}" -a -m -p "${RT_PRIORITY}" -t "${THREADS}" --json="${LOGFILE}-${i}.json"
done

background_process_stop bgcmd
Expand Down
4 changes: 2 additions & 2 deletions automated/linux/signaltest/signaltest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:

params:
# Priority of highest prio thread.
PRIORITY: "98"
RT_PRIORITY: "98"
# Number of threads.
# A value of "0" will run a thread per available CPU.
THREADS: "2"
Expand All @@ -46,6 +46,6 @@ params:
run:
steps:
- cd ./automated/linux/signaltest
- ./signaltest.sh -D "${DURATION}" -p "${PRIORITY}" -t "${THREADS}" -i "${ITERATIONS}" -w "${BACKGROUND_CMD}"
- ./signaltest.sh -D "${DURATION}" -p "${RT_PRIORITY}" -t "${THREADS}" -i "${ITERATIONS}" -w "${BACKGROUND_CMD}"
- ../../utils/upload-to-artifactorial.sh -a "output/signaltest.json" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"
- ../../utils/send-to-lava.sh ./output/result.txt