arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.04859cs.DB
收藏

基于io_uring的高性能数据库管理系统:何时以及如何使用

High-Performance DBMSs with io_uring: When and How to use it

Technische Universität Darmstadt(达姆施塔特工业大学);Technische Universität München(慕尼黑工业大学);TigerBeetle;DFKI(德国人工智能研究中心)

Matthias Jasny, Muhammad El-Hindi, Tobias Ziegler, Viktor Leis, Carsten Binnig

AI总结:

本文研究了io_uring在数据库系统中的应用,探讨了其性能优化方法及在存储和网络工作负载中的实际效果。

摘要:

我们研究现代数据库系统如何利用Linux io_uring接口实现高效的、低开销的I/O。io_uring是一个异步系统调用批处理接口,它统一了存储和网络操作,解决了现有Linux I/O接口的局限性。然而,简单地用io_uring替代传统I/O接口并不一定带来性能提升。为了展示io_uring何时能带来最大收益以及如何在现代数据库系统中有效使用,我们评估了两种使用场景:将io_uring集成到存储受限的缓冲管理器中,以及在网络受限的分析工作负载中使用它进行高吞吐量的数据洗牌。我们进一步分析了io_uring高级功能,如注册缓冲区和直通I/O,对端到端性能的影响。我们的研究显示低层次优化如何转化为系统层面的收益,以及架构选择如何影响这些收益。基于这些见解,我们推导出使用io_uring设计I/O密集型系统的实用指南,并在PostgreSQL最近的io_uring集成案例研究中验证了其有效性,其中应用我们的指南带来了14%的性能提升。

英文摘要:

We study how modern database systems can leverage the Linux io_uring interface for efficient, low-overhead I/O. io_uring is an asynchronous system call batching interface that unifies storage and network operations, addressing limitations of existing Linux I/O interfaces. However, naively replacing traditional I/O interfaces with io_uring does not necessarily yield performance benefits. To demonstrate when io_uring delivers the greatest benefits and how to use it effectively in modern database systems, we evaluate it in two use cases: Integrating io_uring into a storage-bound buffer manager and using it for high-throughput data shuffling in network-bound analytical workloads. We further analyze how advanced io_uring features, such as registered buffers and passthrough I/O, affect end-to-end performance. Our study shows when low-level optimizations translate into tangible system-wide gains and how architectural choices influence these benefits. Building on these insights, we derive practical guidelines for designing I/O-intensive systems using io_uring and validate their effectiveness in a case study of PostgreSQL's recent io_uring integration, where applying our guidelines yields a performance improvement of 14%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑