Building Proxy with New Asynchronous I/O API: Exploring Envoy's Io_uring In... Hejie Xu & Zhihao Xie
使用新的异步I/O API构建代理:探索Envoy的Io_uring集成 | Building Proxy with New Asynchronous I/O API: Exploring Envoy's Io_uring Integration - Hejie Xu & Zhihao Xie, Intel
io_uring是Linux中最新的异步I/O接口,通过减少系统调用和用户空间与内核空间之间的缓冲区复制,提供高效的操作。为了使异步io_uring能够与Envoy在基于事件的I/O模型中协同工作,引入了一个中间层,所有的I/O操作都可以异步执行,而不会中断任何原始的核心或扩展Envoy进程。只需更改配置文件中的几行代码,就可以启用io_uring套接字接口。这种无缝集成为在服务网格中使用Envoy进行高性能网络提供了新的可能性,并且在边车代理仿真中可能将延迟降低近10%。本演示将介绍如何将io_uring实现到Envoy中,并介绍调优io_uring的方法以及我们将来准备的所有其他优化措施。
io_uring is the newest asynchronous I/O interface in Linux which provides efficient operations by reducing system calls and buffer copying between user and kernel space. An intermediate layer is introduced to enable asynchronous io_uring to work with Envoy in an event-based I/O model, and all the I/O operations can be performed asynchronously without interrupting any original core or extensions Envoy process. The io_uring socket interface can be enabled simply by changing lines of configuration. The seamless integration unlocks new possibilities for high-performance networking with Envoy in Service Mesh and may reduce latency by nearly 10% in a sidecar proxy emulation. The presentation will deliver the way to implement io_uring into Envoy and introduce the approach to tuning io_uring and all the other optimizations we will prepare in the future.
CNCF概况(幻灯片)
扫描二维码联系我们!
CNCF (Cloud Native Computing Foundation)成立于2015年12月,隶属于Linux Foundation,是非营利性组织。
CNCF(云原生计算基金会)致力于培育和维护一个厂商中立的开源生态系统,来推广云原生技术。我们通过将最前沿的模式民主化,让这些创新为大众所用。请关注CNCF微信公众号。