Skip to content
Snippets Groups Projects
  1. Mar 15, 2022
    • Florian Fischer's avatar
      IoContext: register the worker io_uring fds on Linux >= 5.18 · 8ae1f189
      Florian Fischer authored
      Linux 5.18 introduces IORING_REGISTER_RING_FDS with
      e7a6c00dc77aedf27a601738ea509f1caea6d673.
      
      Registering the io_uring's fd prevents having to look it up for each
      io_uring_enter call reducing contention on the process file table.
      Jens Axboe reports good results in his fio based benchmarks and
      I see no reason for EMPER to not register the io_uring fds, especially
      because we never pass or share rings.
      
      Do not register the global io_uring since it is shared in the SINGLE_URING
      case or it is passed by the main thread to the completer thread breaking the
      assumption liburing has about the registered io_uring fd.
      8ae1f189
    • Florian Fischer's avatar
      depend on liburing 2.2 · 171ae9d4
      Florian Fischer authored
      Liburing 2.2 and Linux 5.18 support IORING_REGISTER_RING_FDS, preventing
      the fget(ring_fd) overhead for each io_uring_enter call, as well as
      IORING_OP_MSG_RING, greatly simplifying the IO-based sleep strategy code.
      171ae9d4
  2. Feb 28, 2022
  3. Feb 27, 2022
  4. Feb 26, 2022
  5. Feb 25, 2022
  6. Feb 24, 2022
  7. Feb 23, 2022
  8. Feb 22, 2022
  9. Feb 21, 2022
  10. Feb 19, 2022
Loading