Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E emper
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • i4i4
  • manycore
  • emper
  • Merge requests
  • !186

Tweak scheduling so the IO completer can use the laws priorityQueues

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Florian Fischer requested to merge aj46ezos/emper:specialize_schedule_from_anywhere into master May 01, 2021
  • Overview 1
  • Commits 3
  • Pipelines 4
  • Changes 13
  1. Switch from the STL iterator based to a C-style array batched schedule interface
    template<class Iterator> schedule(Iterator begin, Iterator finish) -> schedule(Fiber** fibers, unsigned count)
  2. Schedule Fibers from anywhere with set affinity to the AnywhereQueue and the hinted priorityQueue
  3. Introduce worker hints to the scheduleFromAnywhere functions to allow the completer to hint the origin IoContext

I want this to experiment with the IO completer and laws. To see if scheduling completions reaped by the completer also to the worker priorityQueue is beneficial. Maybe the benefit of faster dispatch from priorityQueue vs AnywhereQueue is worth the laws overhead especially in scenarios where the completer reaps a significant chunk of all completions (20 Worker eval).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: specialize_schedule_from_anywhere