Improve README

This commit is contained in:
Quentin Dufour 2019-03-28 17:35:48 +01:00
parent ed288dee38
commit 7a7aa4245b

View file

@ -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`
```