Re: [RFC PATCH v2 bpf-next 00/15] xdp_flow: Flow offload to XDP
From: David Miller <davem@davemloft.net>
Date: 2019-10-27 19:17:30
Also in:
bpf
From: David Miller <davem@davemloft.net>
Date: 2019-10-27 19:17:30
Also in:
bpf
From: Toke Høiland-Jørgensen <redacted> Date: Sun, 27 Oct 2019 16:24:24 +0100
The results in the paper also shows somewhat disappointing performance for the eBPF implementation, but that is not too surprising given that it's implemented as a TC eBPF hook, not an XDP program. I seem to recall that this was also one of the things puzzling to me back when this was presented...
Also, no attempt was made to dyanamically optimize the data structures and code generated in response to features actually used. That's the big error. The full OVS key is huge, OVS is really quite a monster. But people don't use the entire key, nor do they use the totality of the data paths. So just doing a 1-to-1 translation of the OVS datapath into BPF makes absolutely no sense whatsoever and it is guaranteed to have worse performance.