Cilium的网络加速秘诀
数,极大提高网络性能 • 相比传统 iptables 等 技术,降低了访 问延时。例如在相同环境下,service 数量达到3K,kube-proxy iptables下 的的延时为0.6ms,而cilium的延时为 0.3ms XDP 加速南北向 nodePort 访问 cilium 借助 eBPF 程序 ,能快速完 成 nodePort 、 LoadBalancer service 的解析和转发,其转发性能能比肩 少了网络转发的跳数,极大提升了 nodePort的转发性能,降低访问延时。 相关测试表明: • kube proxy iptables模式下,请求完 成时间 1.6ms ,connect 时间 0.9 ms • Cilium DSR模式下,请求完成时间 1ms,connect时间0.4ms node2 pod2 process kernel network stack node1 kernel0 码力 | 14 页 | 11.97 MB | 1 年前3Cilium v1.7 Documentation
grains['node_mgnt_device'] }}" { min rx interval 100 ms; min tx interval 100 ms; idle tx interval 300 ms; multiplier 10; password {{ NEIGHBOR_PWD DELETE /endpoint/{id} 4 4 True 200ms GET /endpoint/{id}/* 4/s 4 4 2 10s True 200ms PATCH /endpoint/{id}* 0.5/s 4 4 15s True 1s GET /endpoint 1/s 4 2 2 True 300ms Configuration Note Before version/ . rate-burst 4 None Burst of API requests allowed by rate limiter. min-wait- duration 10ms 0 Minimum wait duration each API call has to wait before being processed. max-wait- duration 15s 0 0 码力 | 885 页 | 12.41 MB | 1 年前3Cilium v1.8 Documentation
grains['node_mgnt_device'] }}" { min rx interval 100 ms; min tx interval 100 ms; idle tx interval 300 ms; multiplier 10; password {{ NEIGHBOR_PWD c84-8wvng:80 default/tiefighter:52568 http-response FORWARDED HTTP/1.1 200 0ms (POST http://deathstar.default.svc.cluster.local/v1/request-landing) Jun 18 13:52:31.019 default/tiefighter:52628 DELETE /endpoint/{id} 4 4 True 200ms GET /endpoint/{id}/* 4/s 4 4 2 10s True 200ms PATCH /endpoint/{id}* 0.5/s 4 4 15s True 1s GET /endpoint 1/s 4 2 2 True 300ms Configuration Note Before version0 码力 | 1124 页 | 21.33 MB | 1 年前3Cilium v1.10 Documentation
either AKS BYO CNI as described in Quick Installation or Azure CNI Powered by Cilium [https://aka.ms/aks/cilium-dataplane]. This guide provides alternative instructions to run Cilium with Azure CNI in default/tiefighter:42690 <- default/deathstar- c74d84667-cx5kp:80 http-response FORWARDED (HTTP/1.1 200 0ms (POST http://deathstar.default.svc.cluster.local/v1/request-landing)) May 4 13:23:43.791: default/tiefighter:42742 grains['node_mgnt_device'] }}" { min rx interval 100 ms; min tx interval 100 ms; idle tx interval 300 ms; multiplier 10; password {{ NEIGHBOR_PWD0 码力 | 1307 页 | 19.26 MB | 1 年前3Cilium v1.9 Documentation
grains['node_mgnt_device'] }}" { min rx interval 100 ms; min tx interval 100 ms; idle tx interval 300 ms; multiplier 10; password {{ NEIGHBOR_PWD c84-8wvng:80 default/tiefighter:52568 http-response FORWARDED HTTP/1.1 200 0ms (POST http://deathstar.default.svc.cluster.local/v1/request-landing) Jun 18 13:52:31.019 default/tiefighter:52628 DELETE /endpoint/{id} 4 4 True 200ms GET /endpoint/{id}/* 4/s 4 4 2 10s True 200ms PATCH /endpoint/{id}* 0.5/s 4 4 15s True 1s GET /endpoint 1/s 4 2 2 True 300ms Configuration The api-rate-limit0 码力 | 1263 页 | 18.62 MB | 1 年前3Cilium v1.11 Documentation
either AKS BYO CNI as described in Quick Installation or Azure CNI Powered by Cilium [https://aka.ms/aks/cilium-dataplane]. This guide provides alternative instructions to run Cilium with Azure CNI in default/tiefighter:42690 <- default/deathstar- c74d84667-cx5kp:80 http-response FORWARDED (HTTP/1.1 200 0ms (POST http://deathstar.default.svc.cluster.local/v1/request-landing)) May 4 13:23:43.791: default/tiefighter:42742 grains['node_mgnt_device'] }}" { min rx interval 100 ms; min tx interval 100 ms; idle tx interval 300 ms; multiplier 10; password {{ NEIGHBOR_PWD0 码力 | 1373 页 | 19.37 MB | 1 年前3Cilium v1.6 Documentation
stack: OK, RTT=1.009679ms HTTP to agent: OK, RTT=1.808628ms Endpoint connectivity to 10.2.1.234: ICMP to stack: OK, RTT=1.016365ms HTTP to agent: OK, RTT=2.29877ms For each node, the connectivity along. Responses are sent as soon as the datapath is updated with the new IP information. (default 50ms) --trace-payloadlen int Length of payload to capture when0 码力 | 734 页 | 11.45 MB | 1 年前3Cilium v1.5 Documentation
stack: OK, RTT=1.009679ms HTTP to agent: OK, RTT=1.808628ms Endpoint connectivity to 10.2.1.234: ICMP to stack: OK, RTT=1.016365ms HTTP to agent: OK, RTT=2.29877ms For each node, the0 码力 | 740 页 | 12.52 MB | 1 年前3
共 8 条
- 1