Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
hwwang | 1ba27201a2 | 3 months ago |
hwwang | 696dcba524 | 3 months ago |
hwwang | 1b4dec9a5f | 3 months ago |
yanenshuo | 8db8516501 | 3 months ago |
hwwang | 364f474cb7 | 4 months ago |
hwwang | eb79a6d497 | 4 months ago |
hwwang | 73da853ad4 | 6 months ago |
@ -0,0 +1,22 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
def calculate_average(filename):
|
||||||
|
with open(filename, "r") as file:
|
||||||
|
values = file.readlines()
|
||||||
|
values = [int(value.strip()) for value in values]
|
||||||
|
average = sum(values) / len(values) if values else 0
|
||||||
|
return average
|
||||||
|
|
||||||
|
def main():
|
||||||
|
noop_functions = ["noop1", "noop2", "noop3", "noop4", "noop5"]
|
||||||
|
|
||||||
|
for noop in noop_functions:
|
||||||
|
filename = f"{noop}.txt"
|
||||||
|
if os.path.exists(filename):
|
||||||
|
average = calculate_average(filename)
|
||||||
|
print(f"Average for {filename}: {average}")
|
||||||
|
else:
|
||||||
|
print(f"{filename} does not exist.")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
@ -0,0 +1,26 @@
|
|||||||
|
import sys
|
||||||
|
|
||||||
|
def process_file(input_file, noop_functions):
|
||||||
|
data = {noop: [] for noop in noop_functions}
|
||||||
|
|
||||||
|
with open(input_file, "r") as infile:
|
||||||
|
for line in infile:
|
||||||
|
for noop in noop_functions:
|
||||||
|
if noop in line:
|
||||||
|
value = line.split(",")[6]
|
||||||
|
data[noop].append(value)
|
||||||
|
|
||||||
|
for noop, values in data.items():
|
||||||
|
with open(f"{noop}.txt", "w") as outfile:
|
||||||
|
outfile.write("\n".join(values))
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
noop_functions = ["noop1", "noop2", "noop3", "noop4", "noop5"]
|
||||||
|
|
||||||
|
argv = sys.argv[1:]
|
||||||
|
if len(argv) < 1:
|
||||||
|
print("usage:", sys.argv[0], "file_dir percentage")
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
|
input_file = argv[0]
|
||||||
|
process_file(input_file, noop_functions)
|
@ -0,0 +1,14 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
// 定义一个完全无操作的noop函数
|
||||||
|
void noop() {
|
||||||
|
// 此函数完全不执行任何操作
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
// 仅调用noop函数
|
||||||
|
noop();
|
||||||
|
|
||||||
|
// main函数也不进行任何输出
|
||||||
|
return 0;
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
sudo chsh -s /bin/bash xiaosuGW
|
sudo chsh -s /bin/bash hai
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function usage {
|
||||||
|
echo "$0 [perf output file, chain_function_perf.log or single_function_perf.log or opt_function_perf.log]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $# != 1 ] ; then
|
||||||
|
usage
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
output=$1
|
||||||
|
|
||||||
|
|
||||||
|
declare project_path="$(
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
pwd
|
||||||
|
)"
|
||||||
|
echo $project_path
|
||||||
|
path=`pwd`
|
||||||
|
#export SLEDGE_DISABLE_PREEMPTION=true
|
||||||
|
export SLEDGE_CPU_SPEED=2500
|
||||||
|
export SLEDGE_SCHEDULER=FIFO
|
||||||
|
#export SLEDGE_SIGALRM_HANDLER=BROADCAST
|
||||||
|
#export SLEDGE_SIGALRM_HANDLER=TRIAGED
|
||||||
|
export SLEDGE_NWORKERS=16
|
||||||
|
#export SLEDGE_SCHEDULER=EDF
|
||||||
|
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_noop1.json
|
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function usage {
|
||||||
|
echo "$0 [perf output file, chain_function_perf.log or single_function_perf.log or opt_function_perf.log]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $# != 1 ] ; then
|
||||||
|
usage
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
output=$1
|
||||||
|
|
||||||
|
|
||||||
|
declare project_path="$(
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
pwd
|
||||||
|
)"
|
||||||
|
echo $project_path
|
||||||
|
path=`pwd`
|
||||||
|
#export SLEDGE_DISABLE_PREEMPTION=true
|
||||||
|
export SLEDGE_CPU_SPEED=2500
|
||||||
|
export SLEDGE_SCHEDULER=FIFO
|
||||||
|
#export SLEDGE_SIGALRM_HANDLER=BROADCAST
|
||||||
|
#export SLEDGE_SIGALRM_HANDLER=TRIAGED
|
||||||
|
export SLEDGE_NWORKERS=16
|
||||||
|
#export SLEDGE_SCHEDULER=EDF
|
||||||
|
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_noop3.json
|
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function usage {
|
||||||
|
echo "$0 [perf output file, chain_function_perf.log or single_function_perf.log or opt_function_perf.log]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $# != 1 ] ; then
|
||||||
|
usage
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
output=$1
|
||||||
|
|
||||||
|
|
||||||
|
declare project_path="$(
|
||||||
|
cd "$(dirname "$0")/../.."
|
||||||
|
pwd
|
||||||
|
)"
|
||||||
|
echo $project_path
|
||||||
|
path=`pwd`
|
||||||
|
#export SLEDGE_DISABLE_PREEMPTION=true
|
||||||
|
export SLEDGE_CPU_SPEED=2500
|
||||||
|
export SLEDGE_SCHEDULER=FIFO
|
||||||
|
#export SLEDGE_SIGALRM_HANDLER=BROADCAST
|
||||||
|
#export SLEDGE_SIGALRM_HANDLER=TRIAGED
|
||||||
|
export SLEDGE_NWORKERS=16
|
||||||
|
#export SLEDGE_SCHEDULER=EDF
|
||||||
|
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_noop5.json
|
@ -0,0 +1,130 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function usage {
|
||||||
|
echo "$0 [cpu-log]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
chmod 400 ./id_rsa
|
||||||
|
path="/home/weihao/sledge/sledge_tree/runtime/tests"
|
||||||
|
|
||||||
|
#test single 5k c5 50% max RPS (500)
|
||||||
|
f1="5k_single_50.txt"
|
||||||
|
server_log_file="execution_single_5k_50.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_8c.sh $f1 120 50 5k.jpg 10006 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
|
||||||
|
#test single 5k c5 60% max RPS
|
||||||
|
f1="5k_single_60.txt"
|
||||||
|
server_log_file="execution_single_5k_60.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_rps.sh $f1 120 60 5k.jpg 10006 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 5k c5 70% max RPS
|
||||||
|
f1="5k_single_70.txt"
|
||||||
|
server_log_file="execution_single_5k_70.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_rps.sh $f1 120 70 5k.jpg 10006 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 5k c5 80% max RPS
|
||||||
|
f1="5k_single_80.txt"
|
||||||
|
server_log_file="execution_single_5k_80.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_rps.sh $f1 120 80 5k.jpg 10006 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 5k c5 90% max RPS
|
||||||
|
f1="5k_single_90.txt"
|
||||||
|
server_log_file="execution_single_5k_90.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_rps.sh $f1 120 90 5k.jpg 10006 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 5k c5 99% max RPS
|
||||||
|
f1="5k_single_99.txt"
|
||||||
|
server_log_file="execution_single_5k_99.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_rps.sh $f1 120 100 5k.jpg 10006 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 105k c5 50% max RPS (135)
|
||||||
|
f1="105k_single_50.txt"
|
||||||
|
server_log_file="execution_single_105k_50.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_8c.sh $f1 120 13 5k.jpg 10000 2>&1 &
|
||||||
|
pid2=$!
|
||||||
|
wait -f $pid2
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 105k c5 60% max RPS
|
||||||
|
f1="105k_single_60.txt"
|
||||||
|
server_log_file="execution_single_105k_60.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_8c.sh $f1 120 16 5k.jpg 10000 2>&1 &
|
||||||
|
pid2=$!
|
||||||
|
wait -f $pid2
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 105k c5 70% max RPS
|
||||||
|
f1="105k_single_70.txt"
|
||||||
|
server_log_file="execution_single_105k_70.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_8c.sh $f1 120 19 5k.jpg 10000 2>&1 &
|
||||||
|
pid2=$!
|
||||||
|
wait -f $pid2
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 105k c5 80% max RPS
|
||||||
|
f1="105k_single_80.txt"
|
||||||
|
server_log_file="execution_single_105k_80.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_8c.sh $f1 120 22 5k.jpg 10000 2>&1 &
|
||||||
|
pid2=$!
|
||||||
|
wait -f $pid2
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 105k c5 90% max RPS
|
||||||
|
f1="105k_single_90.txt"
|
||||||
|
server_log_file="execution_single_105k_90.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_8c.sh $f1 120 25 5k.jpg 10000 2>&1 &
|
||||||
|
pid2=$!
|
||||||
|
wait -f $pid2
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 105k c5 99% max RPS
|
||||||
|
f1="105k_single_99.txt"
|
||||||
|
server_log_file="execution_single_105k_99.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./test_8c.sh $f1 120 27 5k.jpg 10000 2>&1 &
|
||||||
|
pid2=$!
|
||||||
|
wait -f $pid2
|
||||||
|
$path/kill_sledge.sh
|
@ -0,0 +1,63 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function usage {
|
||||||
|
echo "$0 [aad step] [first_rps] [max_rps]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $# != 3 ] ; then
|
||||||
|
usage
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
step=$1
|
||||||
|
current_rps=$2
|
||||||
|
max_rps=$3
|
||||||
|
|
||||||
|
chmod 400 ./id_rsa
|
||||||
|
path="/home/weihao/sledge/sledge_tree/runtime/tests"
|
||||||
|
|
||||||
|
last_actual_rps=0
|
||||||
|
first_run=true
|
||||||
|
|
||||||
|
while [ $current_rps -le $max_rps ]
|
||||||
|
do
|
||||||
|
echo "Testing with RPS: $current_rps"
|
||||||
|
server_log_file="test_max_rps.log"
|
||||||
|
f1="105k_"$current_rps".txt"
|
||||||
|
f2="305k_"$current_rps".txt"
|
||||||
|
f3="5k_"$current_rps".txt"
|
||||||
|
f4="40k_"$current_rps".txt"
|
||||||
|
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
|
||||||
|
./test_rps.sh $f1 30 $current_rps 5k.jpg 10000 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
|
||||||
|
# read hey ouput max rps
|
||||||
|
actual_rps=$(grep "Requests/sec" "$f1" | awk '{print $2}')
|
||||||
|
# read loadtest max rps
|
||||||
|
# actual_rps=$(grep "Requests per second" "$f1" | awk '{print $4}')
|
||||||
|
echo "Actual RPS achieved: $actual_rps"
|
||||||
|
|
||||||
|
if [ "$first_run" = false ]; then
|
||||||
|
if (( $(echo "$actual_rps <= $last_actual_rps" | bc -l) )); then
|
||||||
|
echo "Actual RPS did not increase, stopping test."
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
last_actual_rps=$actual_rps
|
||||||
|
|
||||||
|
# ±ê¼ÇµÚÒ»´ÎÔËÐÐÒÑÍê³É
|
||||||
|
first_run=false
|
||||||
|
current_rps=$((current_rps + step))
|
||||||
|
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
echo "sledge has been stopped"
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Max RPS testing completed."
|
@ -0,0 +1,368 @@
|
|||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize1",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10000,
|
||||||
|
"relative-deadline-us": 78574,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp1",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10001,
|
||||||
|
"relative-deadline-us": 78574,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_1",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10002,
|
||||||
|
"relative-deadline-us": 78574,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize2",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10003,
|
||||||
|
"relative-deadline-us": 192762,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp2",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10004,
|
||||||
|
"relative-deadline-us": 192762,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_2",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10005,
|
||||||
|
"relative-deadline-us": 192762,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize3",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10006,
|
||||||
|
"relative-deadline-us": 16346,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp3",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10007,
|
||||||
|
"relative-deadline-us": 16346,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_3",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10008,
|
||||||
|
"relative-deadline-us": 16346,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize4",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10009,
|
||||||
|
"relative-deadline-us": 47824,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp4",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10010,
|
||||||
|
"relative-deadline-us": 47824,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_4",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10011,
|
||||||
|
"relative-deadline-us": 47824,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize5",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10012,
|
||||||
|
"relative-deadline-us": 392870,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp5",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10013,
|
||||||
|
"relative-deadline-us": 392870,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_5",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10014,
|
||||||
|
"relative-deadline-us": 392870,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize6",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10015,
|
||||||
|
"relative-deadline-us": 963810,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp6",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10016,
|
||||||
|
"relative-deadline-us": 963810,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_6",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10017,
|
||||||
|
"relative-deadline-us": 963810,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize7",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10018,
|
||||||
|
"relative-deadline-us": 81730,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp7",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10019,
|
||||||
|
"relative-deadline-us": 81730,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_7",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10020,
|
||||||
|
"relative-deadline-us": 81730,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "resize8",
|
||||||
|
"path": "resize_wasm.so",
|
||||||
|
"port": 10021,
|
||||||
|
"relative-deadline-us": 239120,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/jpeg",
|
||||||
|
"http-req-size": 1024000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024000,
|
||||||
|
"http-resp-content-type": "image/png"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "png2bmp8",
|
||||||
|
"path": "C-Image-Manip_wasm.so",
|
||||||
|
"port": 10022,
|
||||||
|
"relative-deadline-us": 239120,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/png",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 4096000,
|
||||||
|
"http-resp-content-type": "image/bmp"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "cifar10_8",
|
||||||
|
"path": "cifar10_wasm.so",
|
||||||
|
"port": 10023,
|
||||||
|
"relative-deadline-us": 239120,
|
||||||
|
"argsize": 1,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "image/bmp",
|
||||||
|
"http-req-size": 4096000,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 1024,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
},
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop1",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10000,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
}
|
@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop1",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10000,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop2",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10001,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop3",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10002,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop1",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10000,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop2",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10001,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop3",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10002,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop4",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10003,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"name": "noop5",
|
||||||
|
"path": "noop_wasm.so",
|
||||||
|
"port": 10004,
|
||||||
|
"relative-deadline-us": 0,
|
||||||
|
"argsize": 0,
|
||||||
|
"http-req-headers": [],
|
||||||
|
"http-req-content-type": "text/plain",
|
||||||
|
"http-req-size": 0,
|
||||||
|
"http-resp-headers": [],
|
||||||
|
"http-resp-size": 0,
|
||||||
|
"http-resp-content-type": "text/plain",
|
||||||
|
"tail-module": true
|
||||||
|
}
|
@ -1,36 +0,0 @@
|
|||||||
127.0.0.1:10002${ "module" : "bitcount", "args" : [ "bitcount1" , "16777216" ] }
|
|
||||||
127.0.0.1:10002${ "module" : "bitcount", "args" : [ "bitcount2" , "16777216" ] }
|
|
||||||
;127.0.0.1:10004${ "module" : "basic_math", "args" : [ "basic_math1" ] }
|
|
||||||
;127.0.0.1:10004${ "module" : "basic_math", "args" : [ "basic_math2" ] }
|
|
||||||
;127.0.0.1:10006${ "module" : "binarytrees", "args" : [ "binarytrees1", "16" ] }
|
|
||||||
;127.0.0.1:10006${ "module" : "binarytrees", "args" : [ "binarytrees2", "16" ] }
|
|
||||||
;127.0.0.1:10008${ "module" : "crc", "args" : [ "crc1", "crc/large.pcm" ] }
|
|
||||||
;127.0.0.1:10008${ "module" : "crc", "args" : [ "crc2", "crc/large.pcm" ] }
|
|
||||||
;127.0.0.1:10010${ "module" : "dijkstra", "args" : [ "dijkstra1", "dijkstra/input.dat" ] }
|
|
||||||
;127.0.0.1:10010${ "module" : "dijkstra", "args" : [ "dijkstra2", "dijkstra/input.dat" ] }
|
|
||||||
;127.0.0.1:10012${ "module" : "forever", "args" : [ "forever01" ] }
|
|
||||||
;127.0.0.1:10012${ "module" : "forever", "args" : [ "forever02" ] }
|
|
||||||
;127.0.0.1:10014${ "module" : "fornever", "args" : [ "fornever01", "10" ] }
|
|
||||||
;127.0.0.1:10014${ "module" : "fornever", "args" : [ "fornever02", "20" ] }
|
|
||||||
;127.0.0.1:10014${ "module" : "fornever", "args" : [ "fornever03", "30" ] }
|
|
||||||
;127.0.0.1:10014${ "module" : "fornever", "args" : [ "fornever04", "40" ] }
|
|
||||||
;127.0.0.1:10016${ "module" : "fft", "args" : [ "fft1" , "8", "32768" ] }
|
|
||||||
;127.0.0.1:10016${ "module" : "fft", "args" : [ "fft2" , "8", "32768" ] }
|
|
||||||
;127.0.0.1:10018${ "module" : "function_pointers", "args" : [ "function_pointers1" ] }
|
|
||||||
;127.0.0.1:10018${ "module" : "function_pointers", "args" : [ "function_pointers2" ] }
|
|
||||||
;127.0.0.1:10020${ "module" : "gsm", "args" : [ "gsm1" , "-fps" , "-c", "gsm/large.au" ] }
|
|
||||||
;127.0.0.1:10020${ "module" : "gsm", "args" : [ "gsm2" , "-fps" , "-c", "gsm/large.au" ] }
|
|
||||||
;127.0.0.1:10022${ "module" : "libjpeg", "args" : [ "libjpeg1" ] }
|
|
||||||
;127.0.0.1:10022${ "module" : "libjpeg", "args" : [ "libjpeg2" ] }
|
|
||||||
;127.0.0.1:10024${ "module" : "mandelbrot", "args" : [ "mandelbrot1", "5000" ] }
|
|
||||||
;127.0.0.1:10024${ "module" : "mandelbrot", "args" : [ "mandelbrot2", "5000" ] }
|
|
||||||
;127.0.0.1:10026${ "module" : "matrix_multiply", "args" : [ "matrix_multiply1" ] }
|
|
||||||
;127.0.0.1:10026${ "module" : "matrix_multiply", "args" : [ "matrix_multiply2" ] }
|
|
||||||
;127.0.0.1:10028${ "module" : "patricia", "args" : [ "patricia1" , "large.udp" ] }
|
|
||||||
;127.0.0.1:10030${ "module" : "sqlite", "args" : [ "sqlite1" ] }
|
|
||||||
;127.0.0.1:10030${ "module" : "sqlite", "args" : [ "sqlite2" ] }
|
|
||||||
127.0.0.1:10032${ "module" : "stringsearch", "args" : [ "strsearch1" ] }
|
|
||||||
127.0.0.1:10032${ "module" : "stringsearch", "args" : [ "strsearch2" ] }
|
|
||||||
;127.0.0.1:10034${ "module" : "filesys", "args" : [ "filesys1", "fs_in.txt", "fs_out.txt" ] }
|
|
||||||
;127.0.0.1:10036${ "module" : "sockserver", "args" : [ "sockserv1", "20000" ] }
|
|
||||||
;127.0.0.1:10038${ "module" : "sockclient", "args" : [ "sockcli1", "localhost", "20000" ] }
|
|
Loading…
Reference in new issue