Skip to content

Pollers unpark w pending searching is unconditional #120

Description

@franz1981

Native pinned pollers can often have lower I/O or VTs activity, which can lead them to decide to park.
If the carrier is recruited as a searcher but I/O happen as well, it would awake handling I/O before calling unpark, which means it would accumulate a backlog of its own VTs, while adding on top the one stolen as a searcher, after them, likely increasing its latency!
We should guard the stealing activity by checking if the current scheduler has no tasks, before thinking to help others - but we should still try to propagate the chain, if still needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions