From 01643e6d70d9dd4b8832d9c5325f71fe52574b95 Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Fri, 6 Aug 2021 23:48:51 -0400 Subject: [PATCH] update start.sh and my_fibonacci.json --- runtime/tests/my_fibonacci.json | 8 ++++---- runtime/tests/start.sh | 9 +++++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/runtime/tests/my_fibonacci.json b/runtime/tests/my_fibonacci.json index 4f9e556..4e31c63 100644 --- a/runtime/tests/my_fibonacci.json +++ b/runtime/tests/my_fibonacci.json @@ -15,8 +15,8 @@ }, { "active": true, - "name": "fibonacci", - "path": "fibonacci_wasm.so", + "name": "fibonacci2", + "path": "fibonacci2_wasm.so", "port": 10001, "expected-execution-us": 600, "relative-deadline-us": 2000, @@ -30,8 +30,8 @@ }, { "active": true, - "name": "fibonacci", - "path": "fibonacci_wasm.so", + "name": "fibonacci3", + "path": "fibonacci3_wasm.so", "port": 10002, "expected-execution-us": 600, "relative-deadline-us": 2000, diff --git a/runtime/tests/start.sh b/runtime/tests/start.sh index 90854ed..ae15ea6 100755 --- a/runtime/tests/start.sh +++ b/runtime/tests/start.sh @@ -17,12 +17,17 @@ declare project_path="$( )" echo $project_path path=`pwd` -export SLEDGE_DISABLE_PREEMPTION=true +#export SLEDGE_DISABLE_PREEMPTION=true +export SLEDGE_SCHEDULER=SRTF export SLEDGE_SANDBOX_PERF_LOG=$path/$output echo $SLEDGE_SANDBOX_PERF_LOG cd $project_path/runtime/bin #LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/test_fibonacci.json -LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/test_big_fibonacci.json +#LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/test_big_fibonacci.json +#LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/test_armcifar10.json +#LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/test_png2bmp.json +#LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/test_image_processing.json +LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/mulitple_linear_chain.json #LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/my_fibonacci.json #LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/test_sodresize.json #LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../tests/my_sodresize.json