#!/bin/bash # cd into the directory containing this script (from the bash faq 028) if [[ $BASH_SOURCE = */* ]]; then cd -- "${BASH_SOURCE%/*}/" || exit fi ./start-docker if [ "$1" == "" ]; then niters=1 else niters="$1" fi if [ "$2" == "" ]; then num_send_rounds=1 else num_send_rounds="$2" fi # Use up to 16 cores ncores=`nproc` if [ $ncores -ge 16 ]; then ncores=16 fi for iter in $(seq 1 $niters); do for expon in 15 16 17 18 19 20; do sends=$((1<