Better barrier
This commit is contained in:
parent
f4f7f35e8a
commit
069db154e6
10 changed files with 21 additions and 18 deletions
|
@ -11,9 +11,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> $3/log/client-donar-stdout.log 2> $3/log/client-donar-stderr.log &
|
> $3/log/client-donar-stdout.log 2> $3/log/client-donar-stderr.log &
|
||||||
|
|
||||||
measlat -h 127.13.3.7 -p 5000 -c 1 \
|
sync_barrier_donar \
|
||||||
> $4/log/client-measboot-stdout.log 2> $4/log/client-measboot-stderr.log
|
> $4/log/client-measboot-stdout.log 2> $4/log/client-measboot-stderr.log
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -11,9 +11,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
|
|
||||||
measlat -l -h 127.0.0.1 -p 5000 -r -c 1 \
|
sync_barrier_donar \
|
||||||
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
|
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -12,9 +12,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
|
|
||||||
measlat -l -h 127.0.0.1 -p 5000 -r -c 1 \
|
sync_barrier_donar \
|
||||||
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log &
|
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log &
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -12,9 +12,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> $4/log/client-donar-stdout.log 2> $4/log/client-donar-stderr.log &
|
> $4/log/client-donar-stdout.log 2> $4/log/client-donar-stderr.log &
|
||||||
|
|
||||||
measlat -h 127.13.3.7 -p 5000 -c 1 \
|
sync_barrier_donar \
|
||||||
> $4/log/client-measboot-stdout.log 2> $4/log/client-measboot-stderr.log
|
> $4/log/client-measboot-stdout.log 2> $4/log/client-measboot-stderr.log
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -12,9 +12,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
|
|
||||||
measlat -l -h 127.0.0.1 -p 5000 -r -c 1 \
|
sync_barrier_donar \
|
||||||
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
|
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -13,9 +13,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
|
|
||||||
measlat -l -h 127.0.0.1 -p 5000 -r -c 1 \
|
sync_barrier_donar \
|
||||||
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log &
|
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log &
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -11,9 +11,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> $3/log/client-donar-stdout.log 2> $3/log/client-donar-stderr.log &
|
> $3/log/client-donar-stdout.log 2> $3/log/client-donar-stderr.log &
|
||||||
|
|
||||||
measlat -h 127.13.3.7 -p 5000 -c 1 \
|
sync_barrier_donar \
|
||||||
> $4/log/client-measboot-stdout.log 2> $4/log/client-measboot-stderr.log
|
> $4/log/client-measboot-stdout.log 2> $4/log/client-measboot-stderr.log
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -11,9 +11,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
|
|
||||||
measlat -l -h 127.0.0.1 -p 5000 -r -c 1 \
|
sync_barrier_donar \
|
||||||
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
|
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
|
@ -11,9 +11,8 @@ donar \
|
||||||
-r 5000 \
|
-r 5000 \
|
||||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
|
|
||||||
measlat -l -h 127.0.0.1 -p 5000 -r -c 1 \
|
sync_barrier_donar \
|
||||||
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log &
|
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log &
|
||||||
sleep 10
|
|
||||||
|
|
||||||
dcall \
|
dcall \
|
||||||
-t filesrc \
|
-t filesrc \
|
||||||
|
|
12
scripts/container/sync_barrier_donar
Executable file
12
scripts/container/sync_barrier_donar
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sleep 1
|
||||||
|
echo "sync_barrier_start"
|
||||||
|
nc -u 127.13.3.7 5000 --sh-exec 'while true; do sleep 1; echo a; done' &
|
||||||
|
CAPTURE=$!
|
||||||
|
nc -ul 127.0.0.1 5000 --exec /bin/true
|
||||||
|
echo "sync_barrier_release"
|
||||||
|
sleep 1
|
||||||
|
kill $CAPTURE
|
||||||
|
sleep 10
|
||||||
|
echo "sync_barrier_done"
|
Loading…
Reference in a new issue