From 003df3910adcea1070f1c18eaef511b1df47c511 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Sat, 12 Dec 2020 12:38:57 -0500 Subject: [PATCH] chore: remove zombie scripts using wrk --- .../applications/fivebyeight/run.sh | 1 - .../applications/handwriting/run.sh | 1 - runtime/experiments/applications/hyde/run.sh | 1 - runtime/experiments/preemption/demo.sh | 34 ------------------- 4 files changed, 37 deletions(-) delete mode 100755 runtime/experiments/preemption/demo.sh diff --git a/runtime/experiments/applications/fivebyeight/run.sh b/runtime/experiments/applications/fivebyeight/run.sh index b702c23..3271539 100755 --- a/runtime/experiments/applications/fivebyeight/run.sh +++ b/runtime/experiments/applications/fivebyeight/run.sh @@ -42,6 +42,5 @@ if [ "$1" != "-d" ]; then sleep 5 echo -n "Running Cleanup: " pkill sledgert >/dev/null 2>/dev/null - pkill wrk >/dev/null 2>/dev/null echo "[DONE]" fi diff --git a/runtime/experiments/applications/handwriting/run.sh b/runtime/experiments/applications/handwriting/run.sh index 82fedd8..f6d2287 100755 --- a/runtime/experiments/applications/handwriting/run.sh +++ b/runtime/experiments/applications/handwriting/run.sh @@ -42,6 +42,5 @@ if [ "$1" != "-d" ]; then sleep 5 echo -n "Running Cleanup: " pkill sledgert >/dev/null 2>/dev/null - pkill wrk >/dev/null 2>/dev/null echo "[DONE]" fi diff --git a/runtime/experiments/applications/hyde/run.sh b/runtime/experiments/applications/hyde/run.sh index e014e9c..32a6d6d 100755 --- a/runtime/experiments/applications/hyde/run.sh +++ b/runtime/experiments/applications/hyde/run.sh @@ -41,6 +41,5 @@ if [ "$1" != "-d" ]; then sleep 5 echo -n "Running Cleanup: " pkill sledgert >/dev/null 2>/dev/null - pkill wrk >/dev/null 2>/dev/null echo "[DONE]" fi diff --git a/runtime/experiments/preemption/demo.sh b/runtime/experiments/preemption/demo.sh deleted file mode 100755 index 3fdb1e9..0000000 --- a/runtime/experiments/preemption/demo.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -cd ../../bin -LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/mixed_preemption/test_mixed_preemption.json & -cd ../tests/mixed_preemption/ - -# Run small samples on each port to let the runtime figure out the execution time -sleep 10 -echo "Running Samples" -wrk -d 20s -t1 -s post.lua http://localhost:10010 -- --delay 500 10\n -wrk -d 20s -t1 -s post.lua http://localhost:10020 -- --delay 500 20\n -wrk -d 20s -t1 -s post.lua http://localhost:10030 -- --delay 500 25\n - -# Run in Parallel -sleep 10 -echo "Running Experiments" -wrk -d 1m -t1 -s post.lua http://localhost:10010 -- --delay 125 10\n >./res/fib10.txt & -wrk -d 2m -t1 -s post.lua http://localhost:10020 -- --delay 250 20\n >./res/fib20.txt & -wrk -d 3m -t1 -s post.lua http://localhost:10025 -- --delay 500 25\n >./res/fib25.txt - -# Kill the Background Sledge processes -sleep 10 -echo "Running Cleanup" -pkill sledgert -pkill wrk - -# Extract the Latency CSV Data from the Log - -echo 'Fib10, Fib10' >./res/fib10.csv -grep -A200 -m1 -e 'Percentile, Latency' ./res/fib10.txt >>./res/fib10.csv -echo 'Fib20, Fib20' >./res/fib20.csv -grep -A200 -m1 -e 'Percentile, Latency' ./res/fib20.txt >>./res/fib20.csv -echo 'Fib25, Fib25' >./res/fib25.csv -grep -A200 -m1 -e 'Percentile, Latency' ./res/fib25.txt >>./res/fib25.csv -paste -d, ./res/fib10.csv ./res/fib20.csv ./res/fib25.csv >./res/merged.csv