Commit 5189408
committed
ansible: copy GIL change from linear2 branch.
Reduces runtime by 25% given 100 25ms SSH targets:
ANSIBLE_STRATEGY=mitogen \
MITOGEN_POOL_SIZE=100 \
/usr/bin/time -l ansible k3-x100 -m shell -a hostname
Before:
39.56 real 35.29 user 17.24 sys
59600896 maximum resident set size
1784252 page reclaims
9016 messages sent
10382 messages received
18774 voluntary context switches
770070 involuntary context switches
After:
29.79 real 22.10 user 11.77 sys
59281408 maximum resident set size
1725268 page reclaims
8582 messages sent
9959 messages received
14582 voluntary context switches
75280 involuntary context switches1 parent e35d4cc commit 5189408
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
90 | 111 | | |
91 | 112 | | |
92 | 113 | | |
| |||
147 | 168 | | |
148 | 169 | | |
149 | 170 | | |
| 171 | + | |
150 | 172 | | |
151 | 173 | | |
152 | 174 | | |
| |||
0 commit comments