1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

Added check for missed steps at source side

This is not completed yet and does not make complete sense yet. There
must be a way to check how many samples got lost at the send side, and
how many samples were lost on the channel.
This commit is contained in:
Dennis Potter 2018-08-01 00:24:14 +02:00
parent 1972d801f3
commit 22dac2d0ae

View file

@ -46,12 +46,15 @@ INPUT_FILE=$(mktemp)
LOG_DIR=benchmarks_$(date +%Y%m%d_%H-%M-%S)
mkdir ${LOG_DIR}
NUM_VALUES=(3 5 10 25 50)
RATE_SAMPLES=(10 100 1000 10000 100000 200000)
TIME_TO_RUN=30
#NUM_VALUES=(3 5 10 25 50)
#RATE_SAMPLES=(10 100 1000 10000 100000 200000)
NUM_VALUES=(3)
RATE_SAMPLES=(100000)
TIME_TO_RUN=10
# Declare modes
MODES=("TCP" "UDP")
#MODES=("TCP" "UDP")
MODES=("TCP")
# Initialize counter
COUNT=0
@ -176,7 +179,7 @@ do
# Start receiving node
VILLAS_LOG_PREFIX=$(colorize "[Target Node] ") \
villas-node ${CONFIG_FILE_TARGET} &
villas-node ${CONFIG_FILE_TARGET} &
target_node_proc=$!
# Wait for node to complete init