File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ int main (int argc, char* argv[])
383
383
cfg.nReaders ,
384
384
cfg.nWriters ,
385
385
nAborts,
386
- (int )(nAborts*100 /nWrites),
386
+ (int )(nAborts*100 /( nWrites + 0.0001 ) ),
387
387
maxReadDuration, maxWriteDuration,
388
388
cfg.nAccounts ,
389
389
cfg.nIterations ,
Original file line number Diff line number Diff line change 45
45
- name : run transfers
46
46
shell : >
47
47
~/pg_cluster/install/bin/dtmbench {{connections}}
48
- -w {{ (nconns | d(100)| int)*(nnodes | d(2) | int)/(2*( groups['clients'] | count)) }}
49
- -s {{offset}} -d 100000 -r 1 -n 10000 -a 1000000 |
48
+ -w {{ writers | d(100) }}
49
+ -s {{ offset }} -d 100000 -r {{ readers | d(1) }} -n 10000 -a 1000000 |
50
50
tee -a perf.results |
51
51
sed "s/^/`hostname`:/"
52
52
register : transfers_result
You can’t perform that action at this time.
0 commit comments