Enable opt-in io_uring support in Cilium proxy
Maintainer thường phản hồi trong vòng 1 ngày
@nezdolik đang làm issue này rồi.
Từ ngày 20/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Feature request
Add an opt-in configuration for using Envoy's io_uring socket backend in Cilium proxy, with documented requirements, supported tuning options and integration tests.
Motivation
Experiments with modified Cilium proxy builds showed throughput improvements for selected HTTP workloads:
| Workload | Observed throughput improvement |
|---|---|
| HTTP/1.1 GET, 512 B response | +24.8% |
| HTTP/1.1 POST, 64 KiB upload | +53.2% |
| HTTP/2 GET, 8 connections × 8 streams | +7.6% |
| HTTP/2 upload/echo, 8 connections × 8 streams | +11.0% |
These HTTP measurements used three matched repetitions, one traffic worker, and real Cilium HTTP policy through Kubernetes NodePort. Default sockets and io_uring used the same binary within each comparison.
The improvements depended on receive batching, buffer-pool sizing, backpressure handling and, for HTTP/2, deferred task work. Enabling io_uring alone did not consistently improve performance.
Proposed scope
- Ensure io_uring support is built and tested in Linux amd64 and arm64 proxy images.
- Provide an explicit enablement mechanism, coordinating bootstrap/configuration wiring with
cilium/ciliumwhere needed. - Support the relevant upstream Envoy receive-tuning options.
- Document kernel requirements, memory limits, per-worker buffer allocation and unsupported-configuration behavior.
- Validate HTTP/1.1, HTTP/2 and TCP traffic, including policy enforcement, backpressure, connection flushing and worker shutdown.
- Add reproducible benchmarks covering throughput, latency, CPU and memory usage.
Upstream dependencies
- envoyproxy/envoy#48065: shutdown cancellation fixes.
- envoyproxy/envoy#48282: receive backpressure, configurable provided-buffer pools, deferred task work and bounded receive batching.
Envoy umbrella issue: https://github.com/envoyproxy/envoy/issues/48467
Follow-up: zero-copy TCP transmit
A separate experimental implementation combining SENDMSG_ZC with queue and resource tuning showed approximately +38–46% bulk TCP throughput versus the fastest tested default configurations.
That result used standalone host-network TCP proxying. It requires additional Envoy changes, production notification cleanup and configuration API work, so it should be tracked as a follow-up to initial io_uring enablement.
Benchmark limitations
The results are specific to the measured configurations and hardware. HTTP used modified Envoy 1.39.1 builds; the later TCP experiment used 1.39.3. Receive remained copied in these comparisons.
Broader validation is needed for multiple workers, TLS and representative production traffic.
Benchmark reports and reproduction artifacts: TODO — attach or link before posting.
- Ngôn ngữ chính
- C++
- Star
- 192
- Fork
- 104
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 36
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cilium/proxy
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 12/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
cilium/proxy#1824 · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
http header origin name preserveĐang mởquestion
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
cilium/proxy#1742 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
cilium/proxy#1027 · 14 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ros-navigation/navigation2#6883 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`libdbgshim` crashes in `MachOModule::ReadSymbolTable` on macOS 27 when a Metal app is attachedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dotnet/diagnostics#6293 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
engaged enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
skeeto/prospero#118 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày