Change our experiment strategy
This commit is contained in:
parent
5c797b253d
commit
30c63ce603
1 changed files with 4 additions and 5 deletions
|
@ -29,7 +29,7 @@ docker run \
|
||||||
-v `pwd`/shared:/home/donar/shared \
|
-v `pwd`/shared:/home/donar/shared \
|
||||||
-v `pwd`/log:/home/donar/log \
|
-v `pwd`/log:/home/donar/log \
|
||||||
registry.gitlab.inria.fr/qdufour/donar \
|
registry.gitlab.inria.fr/qdufour/donar \
|
||||||
${XP_NAME}-server
|
${XP_NAME}-server >/dev/null
|
||||||
|
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
|
@ -37,16 +37,15 @@ sleep 10
|
||||||
docker run \
|
docker run \
|
||||||
--privileged \
|
--privileged \
|
||||||
--rm \
|
--rm \
|
||||||
-d \
|
|
||||||
--name "$XP_ID-client" \
|
--name "$XP_ID-client" \
|
||||||
-v `pwd`/res:/home/donar/res \
|
-v `pwd`/res:/home/donar/res \
|
||||||
-v `pwd`/shared:/home/donar/shared \
|
-v `pwd`/shared:/home/donar/shared \
|
||||||
-v `pwd`/log:/home/donar/log \
|
-v `pwd`/log:/home/donar/log \
|
||||||
registry.gitlab.inria.fr/qdufour/donar \
|
registry.gitlab.inria.fr/qdufour/donar \
|
||||||
${XP_NAME}-client $COUNT $INTERVAL $SIZE
|
${XP_NAME}-client $COUNT $INTERVAL $SIZE >/dev/null
|
||||||
|
|
||||||
sleep $ALLOWED_TIME
|
#sleep $ALLOWED_TIME
|
||||||
|
|
||||||
# Kill
|
# Kill
|
||||||
docker kill "$XP_ID-client" || true
|
#docker kill "$XP_ID-client" || true
|
||||||
docker kill "$XP_ID-server" || true
|
docker kill "$XP_ID-server" || true
|
||||||
|
|
Loading…
Reference in a new issue