RE: [bpf?] [net?] Questions about the impact of ebpf sockmap/redirection on socket performance improvement

From: John Fastabend
Date: Fri May 26 2023 - 02:51:05 EST


kongweibin wrote:
> I'm using ebpf sockmap/redirection to bypass the TCP/IP stack to improve
> socket communication performance (throughput, latency) between different
> PODs on the same machine. As concurrent connections or payloads increase,
> there may be unconspicuous performance improvement or even performance
> degradation compared to the TCP/IP stack. I have retrieved some performance
> data, but it does not seem to involve high concurrency and high payloads,
> I would like to know if community have conducted relevant tests on these
> scenarios and have any opinions on the poor performance improvement in these
> scenarios.

Not fully following above, what is your performance test/tools and what
were the numbers?