Abstract
As the performance of distributed systems improves, workloads exhibit increasingly diverse characteristics across many server applications. The introduction of io_uring has replaced the native Linux asynchronous IO interface utilized by the applications, further increasing overall performance. However, despite its widespread adoption, the varying characteristics of io_uring's supported modes based on IO patterns make it impractical for users to manually switch modes to accommodate real-world workloads. This results in degraded performance and inefficient use of hardware resources and power. This paper introduces A2L, a user-transparent and workload adaptive asynchronous IO interface designed to address these issues. We developed communication layer, adaptive switch layer and uring monitor, enabling A2L to dynamically switch modes based on workloads without requiring developer intervention. Evaluations with real-world workloads show that A2L significantly improves both IOPS and latency while reducing CPU usage by more than half compared to existing asynchronous IO interfaces.