parent
1b4dec9a5f
commit
696dcba524
File diff suppressed because one or more lines are too long
@ -0,0 +1,60 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function usage {
|
||||||
|
echo "$0 [cpu-log]"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
chmod 400 ./id_rsa
|
||||||
|
path="/home/weihao/sledge/sledge_tree/runtime/tests"
|
||||||
|
|
||||||
|
#test single 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 &
|
||||||
|
pid5=$!
|
||||||
|
wait -f $pid5
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
|
||||||
|
#test single 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 30 60 5k.jpg 10006 2>&1 &
|
||||||
|
pid1=$!
|
||||||
|
wait -f $pid1
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 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 30 70 5k.jpg 10006 2>&1 &
|
||||||
|
pid2=$!
|
||||||
|
wait -f $pid2
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 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 30 80 5k.jpg 10006 2>&1 &
|
||||||
|
pid3=$!
|
||||||
|
wait -f $pid3
|
||||||
|
$path/kill_sledge.sh
|
||||||
|
|
||||||
|
#test single 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 30 90 5k.jpg 10006 2>&1 &
|
||||||
|
pid4=$!
|
||||||
|
wait -f $pid4
|
||||||
|
$path/kill_sledge.sh
|
@ -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