From 9195a7d0c80a299dc3c9d45bdab0726c4a791b00 Mon Sep 17 00:00:00 2001 From: choelzl Date: Wed, 4 Nov 2020 14:57:46 +0100 Subject: [PATCH] stress --- bnr_stress.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 bnr_stress.sh diff --git a/bnr_stress.sh b/bnr_stress.sh new file mode 100755 index 0000000..2d74480 --- /dev/null +++ b/bnr_stress.sh @@ -0,0 +1,22 @@ +#!/bin/sh + + +export _JAVA_OPTIONS="-Xmx16G" +./257844/build.sh +sudo echo 1 +echo "Running with" $1 "Messages !" +echo "2P" +echo "\n\n\n" | ./validate.py -r 257844/run.sh -b fifo -l 257844/bin/logs -p 2 -m $1 | grep "finished broadcasting "$1" messages" + +echo "4P" +echo "\n\n\n" | ./validate.py -r 257844/run.sh -b fifo -l 257844/bin/logs -p 4 -m $1 | grep "finished broadcasting "$1" messages" + +echo "8P" +echo "\n\n\n" | ./validate.py -r 257844/run.sh -b fifo -l 257844/bin/logs -p 8 -m $1 | grep "finished broadcasting "$1" messages" + +echo "16P" +echo "\n\n\n" | ./validate.py -r 257844/run.sh -b fifo -l 257844/bin/logs -p 16 -m $1 | grep "finished broadcasting "$1" messages" + +echo "32P" +echo "\n\n\n" | ./validate.py -r 257844/run.sh -b fifo -l 257844/bin/logs -p 32 -m $1 | grep "finished broadcasting "$1" messages" +