| 207 | |
| 208 | |
| 209 | == Slave maxtime and maxrss tuning == |
| 210 | |
| 211 | Some '''dybtest.Run''' based nosetests impose '''maxtime''' and '''maxrss''' limits on test running. |
| 212 | In order to handle slaves with very different performance levels, per-slave factors are implemented (from r11671 and r11672) |
| 213 | |
| 214 | || '''.dybinstrc variable''' || '''action''' || |
| 215 | || slv_factor_cpu || scales maxtime, use greater than 1.0 for slow slaves || |
| 216 | || slv_factor_rss || scales maxrss || |
| 217 | |
| 218 | |
| 219 | To configure these per-slave settings add key value pairs to '''~/.dybinstrc''', for example: |
| 220 | {{{ |
| 221 | slv_factor_cpu=2.0 |
| 222 | }}} |
| 223 | and stop and restart the slave (eg with {{{supervisorctl restart dybslv}}} ) |
| 224 | |