Improve README
This commit is contained in:
parent
ed288dee38
commit
7a7aa4245b
1 changed files with 4 additions and 2 deletions
|
@ -170,8 +170,10 @@ sudo ./scripts/xp1 1000 100 100
|
||||||
|
|
||||||
## Run instances in parallel
|
## 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 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 -j 10 bash -c "./xp1 6000 100 100" -- `seq 1 100`
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue