Changes between Version 33 and Version 34 of NuWa_Slave

Show
Ignore:
Timestamp:
04/18/11 19:42:04 (13 years ago)
Author:
blyth (IP: 140.112.102.77)
Comment:

document slv_factor_rss slv_factor_cpu usage

Legend:

Unmodified
Added
Removed
Modified
  • NuWa_Slave

    v33 v34  
    205205user=blyth 
    206206}}} 
     207 
     208 
     209== Slave maxtime and maxrss tuning == 
     210 
     211Some '''dybtest.Run''' based nosetests  impose '''maxtime''' and '''maxrss''' limits on test running. 
     212In 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 
     219To configure these per-slave settings add key value pairs to '''~/.dybinstrc''', for example: 
     220{{{ 
     221slv_factor_cpu=2.0 
     222}}} 
     223and stop and restart the slave (eg with {{{supervisorctl restart dybslv}}} ) 
     224 
    207225 
    208226