File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1616 connections : " {{ connstrs.results | map(attribute='ansible_facts.connstr') | join }}"
1717
1818 - name : copy transfers binary
19- copy : src=perf/perf.linux dest=~/perf mode=0755
19+ copy : src=./perf/{{item}} dest=~/{{item}} mode=0755
20+ with_items :
21+ - " perf.go"
22+ - " transfers.go"
2023
2124- hosts : clients[0]
2225 gather_facts : no
2326 tasks :
2427 - name : fill the databases
25- shell : " ~/perf {{connections}} -g -i"
28+ shell : " go run ~/perf.go ~/transfers.go {{connections}} -g -i"
2629 register : transfers_result
2730 - debug : " var=transfers_result"
2831
2932- hosts : clients[0]
3033 gather_facts : no
3134 tasks :
3235 - name : run transfers
33- shell : " ~/perf {{connections}} {{runkeys | d('-g -w 8 -r 1 -n 1000 -a 10000 ')}}"
36+ shell : " go run ~/perf.go ~/transfers.go {{connections}} {{runkeys | d('-g -w 400 -r 1 -n 1000 -a 100000 ')}}"
3437 register : transfers_result
3538 - debug : var=transfers_result
3639
You can’t perform that action at this time.
0 commit comments