1. 30 Jun, 2021 3 commits
  2. 24 Jun, 2021 2 commits
  3. 18 Jun, 2021 12 commits
  4. 17 Jun, 2021 2 commits
    • Jens Axboe's avatar
      io_uring: allow user configurable IO thread CPU affinity · fe76421d
      Jens Axboe authored
      io-wq defaults to per-node masks for IO workers. This works fine by
      default, but isn't particularly handy for workloads that prefer more
      specific affinities, for either performance or isolation reasons.
      
      This adds IORING_REGISTER_IOWQ_AFF that allows the user to pass in a CPU
      mask that is then applied to IO thread workers, and an
      IORING_UNREGISTER_IOWQ_AFF that simply resets the masks back to the
      default of per-node.
      
      Note that no care is given to existing IO threads, they will need to go
      through a reschedule before the affinity is correct if they are already
      running or sleeping.
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      fe76421d
    • Jens Axboe's avatar
      io-wq: use private CPU mask · 0e03496d
      Jens Axboe authored
      In preparation for allowing user specific CPU masks for IO thread
      creation, switch to using a mask embedded in the per-node wqe
      structure.
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      0e03496d
  5. 16 Jun, 2021 3 commits
  6. 15 Jun, 2021 18 commits