During the call earlier, we discussed turning off reevaluate_occupancy and seeing how things ran. TBH I'm not actually sure how to do this. Looking at the code in a few placed, it seems like reevaluate_occupancy gets added to the IOLoop (see below), but there doesn't appear to be a clear way to influence whether it is called either by disabling or delaying the frequency of the call. Is there one and I'm just overlooking things? Or should we add one? Related we can disable stealing, which we've played with before, but this only affects things after going through a fair bit of reevaluate_occupancy. So not sure if this is what we had in mind. Thoughts? 🙂
|
self.loop.add_callback(self.reevaluate_occupancy) |
|
self.loop.add_timeout( |
|
next_time, self.reevaluate_occupancy, worker_index=worker_index |
|
) |
cc @mrocklin @quasiben
During the call earlier, we discussed turning off
reevaluate_occupancyand seeing how things ran. TBH I'm not actually sure how to do this. Looking at the code in a few placed, it seems likereevaluate_occupancygets added to theIOLoop(see below), but there doesn't appear to be a clear way to influence whether it is called either by disabling or delaying the frequency of the call. Is there one and I'm just overlooking things? Or should we add one? Related we can disable stealing, which we've played with before, but this only affects things after going through a fair bit ofreevaluate_occupancy. So not sure if this is what we had in mind. Thoughts? 🙂distributed/distributed/scheduler.py
Line 3273 in 383ea03
distributed/distributed/scheduler.py
Lines 6490 to 6492 in 383ea03
cc @mrocklin @quasiben