Skip to content

Option to turn off reevaluate_occupancy #4523

@jakirkham

Description

@jakirkham

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions