Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rt: batch pop from injection queue when idle #5705

Merged
merged 14 commits into from
May 23, 2023
Merged

Commits on May 19, 2023

  1. rt: batch pop from injection queue when idle

    In the multi-threaded scheduler, when there are no tasks on the local
    queue, a worker will attempt to pull tasks from the injection queue.
    Previously, the worker would only attempt to poll one task from the
    injection queue then continue trying to find work from other sources.
    This can result in the injection queue backing up when there are many
    tasks being scheduled from outside of the runtime.
    
    This patch updates the worker to try to poll more than one task from the
    injection queue when it has no more local work. Note that we also don't
    want a single worker to poll **all** tasks on the injection queue as
    that would result in work becoming unbalanced.
    carllerche committed May 19, 2023
    Configuration menu
    Copy the full SHA
    2c266d0 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. Configuration menu
    Copy the full SHA
    f989344 View commit details
    Browse the repository at this point in the history
  2. fix loom tests

    carllerche committed May 20, 2023
    Configuration menu
    Copy the full SHA
    8aa109c View commit details
    Browse the repository at this point in the history
  3. fix clippy

    carllerche committed May 20, 2023
    Configuration menu
    Copy the full SHA
    97dd738 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2023

  1. Configuration menu
    Copy the full SHA
    b5ef43a View commit details
    Browse the repository at this point in the history
  2. fmt

    carllerche committed May 21, 2023
    Configuration menu
    Copy the full SHA
    19887a7 View commit details
    Browse the repository at this point in the history
  3. try again

    carllerche committed May 21, 2023
    Configuration menu
    Copy the full SHA
    e5d0b5e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d045f31 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Configuration menu
    Copy the full SHA
    0f9ae3f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15b0189 View commit details
    Browse the repository at this point in the history
  3. docs and fmt

    carllerche committed May 22, 2023
    Configuration menu
    Copy the full SHA
    7d7e10a View commit details
    Browse the repository at this point in the history
  4. fix clippy

    carllerche committed May 22, 2023
    Configuration menu
    Copy the full SHA
    a02de09 View commit details
    Browse the repository at this point in the history
  5. fix clippy again

    carllerche committed May 22, 2023
    Configuration menu
    Copy the full SHA
    c1d51ec View commit details
    Browse the repository at this point in the history
  6. apply feedback

    carllerche committed May 22, 2023
    Configuration menu
    Copy the full SHA
    fca2093 View commit details
    Browse the repository at this point in the history