Date 1 - 1 of 1
Performance with sockhash in istio/k8s
Cilium has an idea to accelerate packet forward performance using sockops & sockhash when using istio service mesh, the code is here. But this function is heavily coupling with cilium codebase so I would like to extract the sockhash part from cilium. I find a demo code https://github.com/zachidan/ebpf-sockops and try to see if it really improve the performance. My test case is from https://github.com/istio/tools/tree/master/perf/benchmark . In this case, I setup two pods, fortio client and fortio server. And generate packet from client using
In addition, I also override the bpf_redir function which always return SK_PASS and not call
__section("sk_msg")and the qps also about 200+, so I think it is because the call to bpf_redir_proxy is expensive so the qps descrease sharply?
I also enter into the fortio server container and running test using
Why would this happen? How should I debug this? Need your help
|1 - 1 of 1|