Data Infrastructure & Analytics
Missing Manuals - io_uring worker pool

Missing Manuals - io_uring worker pool

2/4/2022 · Jakub Sitnicki

What this post added

This post delves into the intricacies of `io_uring`, a high-performance asynchronous I/O API in Linux, specifically focusing on its worker pool management. It clarifies how `io_uring` classifies I/O requests into bounded and unbounded work, and how it manages thread creation for each category. The post details how to monitor and control the unbounded worker pool size, which is crucial for network I/O operations that are central to Cloudflare's infrastructure. It provides practical examples using in-kernel tracing to observe `io_uring`'s behavior and offers solutions for developers to effectively utilize this powerful I/O runtime.

Read the original post ↗