From 7a7aa4245bbc2594cea89eb780be8cffc515b38f Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 28 Mar 2019 17:35:48 +0100 Subject: [PATCH] Improve README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b7ba45..0ac9f9b 100644 --- a/README.md +++ b/README.md @@ -170,8 +170,10 @@ sudo ./scripts/xp1 1000 100 100 ## Run instances in parallel +We generate the name of the algorithm to run on the right side of the parallel command. +The idea is to generate a sequence like the following: `orig naive rr rrh orig naive rr rrh orig...`. + ``` -parallel -j 30 bash -c "./scripts/xp1 1000 100 100" -- `seq 1 1000` -parallel -j 10 bash -c "./xp1 6000 100 100" -- `seq 1 100` +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` ```