diff --git a/README.md b/README.md index 0ac9f9b..3d2ca0f 100644 --- a/README.md +++ b/README.md @@ -175,5 +175,6 @@ The idea is to generate a sequence like the following: `orig naive rr rrh orig n ``` parallel -j 12 bash -c './xp-instance-runner $1 6000 100 100' -- `xp0=orig xp1=naive xp2=rr xp3=rrh; for i in {0..99}; do q='xp'$((i % 4)); echo ${!q}; done` +parallel.moreutils -j 16 bash -c './xp-instance-runner $0 6000 100 100' -- `xp0=orig xp1=naive xp2=rr xp3=rrh; for i in {0..219}; do q='xp'$((i % 4)); echo ${!q}; done` ``` diff --git a/scripts/xp-instance-runner b/scripts/xp-instance-runner index e5da46a..7e0a996 100755 --- a/scripts/xp-instance-runner +++ b/scripts/xp-instance-runner @@ -10,7 +10,7 @@ INTERVAL=$3 SIZE=$4 ALLOWED_BOOTSTRAP=190 ALLOWED_TIME=`expr $(expr ${COUNT} * ${INTERVAL}) / 1000 + ${ALLOWED_BOOTSTRAP}` -echo "Will run for ${ALLOWED_TIME} (count=$1, interval=$2)" +echo "Will run for ${ALLOWED_TIME} (count=$COUNT, interval=$INTERVAL)" # Create folders docker run \