calico
DOK 提供了安装 Calico 网络的必要镜像,用户可以从默认的 Flannel 切换成 Calico,私有化场景下,一般建议都是 ipip
模式。
因为 ipip
也是一种 Overlay 模式的网络方案,从性能上看跟 Flannel 的 vxlan
相近。
=========================================================
Benchmark Results
=========================================================
Name : knb-21161
Date : 2022-08-26 08:40:34 UTC
Generator : knb
Version : 1.5.0
Server : node2
Client : node3
UDP Socket size : auto
=========================================================
Discovered CPU : Intel Xeon Processor (Skylake, IBRS)
Discovered Kernel : 5.4.127-1.el7.elrepo.x86_64
Discovered k8s version : v1.21.7
Discovered MTU : 1480
Idle :
bandwidth = 0 Mbit/s
client cpu = total 8.86% (user 3.62%, nice 0.02%, system 4.92%, iowait 0.14%, steal 0.16%)
server cpu = total 8.67% (user 3.33%, nice 0.00%, system 5.06%, iowait 0.03%, steal 0.25%)
client ram = 1373 MB
server ram = 1206 MB
Pod to pod :
TCP :
bandwidth = 891 Mbit/s
client cpu = total 13.43% (user 2.32%, nice 0.02%, system 10.96%, iowait 0.08%, steal 0.05%)
server cpu = total 15.27% (user 2.33%, nice 0.02%, system 12.80%, iowait 0.02%, steal 0.10%)
client ram = 1307 MB
server ram = 1203 MB
UDP :
bandwidth = 852 Mbit/s
client cpu = total 29.86% (user 2.91%, nice 0.07%, system 26.81%, iowait 0.02%, steal 0.05%)
server cpu = total 15.11% (user 4.35%, nice 0.03%, system 10.68%, iowait 0.00%, steal 0.05%)
client ram = 1300 MB
server ram = 1200 MB
Pod to Service :
TCP :
bandwidth = 901 Mbit/s
client cpu = total 9.89% (user 2.94%, nice 0.05%, system 6.76%, iowait 0.12%, steal 0.02%)
server cpu = total 13.35% (user 2.21%, nice 0.08%, system 10.95%, iowait 0.03%, steal 0.08%)
client ram = 1301 MB
server ram = 1200 MB
UDP :
bandwidth = 651 Mbit/s
client cpu = total 33.04% (user 4.61%, nice 0.02%, system 28.16%, iowait 0.02%, steal 0.23%)
server cpu = total 18.11% (user 5.14%, nice 0.00%, system 12.39%, iowait 0.00%, steal 0.58%)
client ram = 1298 MB
server ram = 1200 MB
=========================================================