forked from haiwan/sledge
parent
73da853ad4
commit
eb79a6d497
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,34 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function usage {
|
||||||
|
echo "$0 [cpu-log]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#basepath=$(cd `dirname $0`; pwd)
|
||||||
|
#cpu_log=$1
|
||||||
|
|
||||||
|
#if [ -z $cpu_log ]
|
||||||
|
#then
|
||||||
|
# usage
|
||||||
|
#fi
|
||||||
|
|
||||||
|
|
||||||
|
#node1_cpu_file=$cpu_log"_node1_cpu.log"
|
||||||
|
path="/home/hai/sledge-old/runtime/tests"
|
||||||
|
|
||||||
|
#test c3
|
||||||
|
server_log_file="edf_15.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./hey_test_8c.sh 120 15
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test c5
|
||||||
|
server_log_file="edf_22.log"
|
||||||
|
$path/start.sh $server_log_file >/dev/null 2>&1 &
|
||||||
|
echo "sledge is running"
|
||||||
|
./hey_test_8c.sh 120 22
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
@ -1 +1 @@
|
|||||||
sudo chsh -s /bin/bash xiaosuGW
|
sudo chsh -s /bin/bash hai
|
||||||
|
@ -0,0 +1,184 @@
|
|||||||
|
{
|
||||||
|
"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
|
||||||
|
},
|
||||||
|
|
Loading…
Reference in new issue