io_uring
Linux asynchronous I/O interface built on shared submission and completion rings, now covering storage, networking and more.
- Kind
- interface
- Since
- Linux 5.1 (2019)
Recent proposals
All 7- RFCtpm: Do not allow io_uring for /dev/tpm0 and /dev/tpmrm0
- RFC
- v1
- Accepted
- In reviewio_uring/rsrc: pass import flags to io_import_reg_buf()
- RFC
- v4
- Accepted
- RFCscsi: target: Add target_core_uring, an io_uring based user backstore
- RFC
- v1
- Accepted
- RFCio_uring: add IORING_OP_UTIMENSAT
- RFC
- v3
- Accepted
- In reviewio_uring: avoid req->flags store-to-load forwarding failures
- RFC
- v1
- Accepted
Opportunities
Review
All 6- Open RFCblock: cgroup-based and explicit write stream placement for NVMe FDP
RFC v1, 3 patches on io-uring by Suho Son. Design feedback and testing are welcome.
- Open RFCtpm: Do not allow io_uring for /dev/tpm0 and /dev/tpmrm0
RFC v1, 1 patch on linux-kselftest by Rustam Mustafin. Design feedback and testing are welcome.
- Open RFCIntroduce a classic BPF filter cache for seccomp
RFC v1, 3 patches on io-uring by Xu Kuohai. Design feedback and testing are welcome.
Build
All 4- HypothesisReproducible io_uring vs epoll/libaio benchmark suite
Claims about io_uring speedups conflict because setups differ (SQPOLL, registered buffers, queue depth, kernel version); a published, versioned suite with raw results would settle recurring questions.
- Evidence of need
- 4/5
- Feasibility
- 4/5
- Accessibility
- 5/5
- Unmet need
- 3/5
- HypothesisProfiler for io_uring-based applications
Engineers adopting io_uring struggle to explain its performance (unexpected CPU use, slow small writes) because profilers show syscalls and stacks, not the flow of submissions and completions.
- Evidence of need
- 4/5
- Feasibility
- 3/5
- Accessibility
- 4/5
- Unmet need
- 4/5
- HypothesisFUSE-over-io_uring support in Rust FUSE libraries
The kernel and libfuse support FUSE over io_uring, but Rust filesystem authors using fuser cannot use it yet.
- Evidence of need
- 3/5
- Feasibility
- 4/5
- Accessibility
- 3/5
- Unmet need
- 4/5
Implementations
2- liburingProject
Userspace library for io_uring, maintained with the kernel side.
- Linux io_uringSubsystem
The io_uring subsystem.
Used by
12C++ asynchronous I/O library.
Distributed object, block and file storage.
Completion-based async runtime for Rust (io_uring, IOCP).
Flexible I/O tester.
Meta's C++ library: futures, coroutines, concurrent data structures, io_uring backend.
Thread-per-core Rust runtime built on io_uring.
Reference FUSE library.
Cross-platform async I/O library behind Node.js.
Thread-per-core Rust runtime with io_uring.
Thread-per-core C++ framework for high-performance servers.
Userspace server for ublk block devices.
Cross-platform NVMe library over io_uring, SPDK and others.
Related technologies
2Verified programs loaded into the kernel for networking, tracing, security and scheduling.
Avoiding payload copies on transmit and receive, including device-memory TCP and io_uring zero-copy receive.
Related technologies
3Filesystems in userspace, including FUSE over io_uring and virtiofs.
Userspace block devices served over io_uring.
Avoiding payload copies on transmit and receive, including device-memory TCP and io_uring zero-copy receive.
Papers & events
2Annual conference where kernel and userspace developers work through open problems and proposals in microconferences.
Invitation-only summit of Linux storage, filesystem, memory-management and BPF developers; LWN covers the sessions.