Re: Measuring/Debugging XDP Performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Jesper and Matheus,

Thank you for the information and assistance! I really appreciate it!

Matheus, I was able to confirm that my POP servers (running as VPSs with the "virtio_net" driver) are indeed using XDP generic based off of the command you provided. I didn't realize it included "xdpgeneric" on the link list. This is definitely an easier way to tell if you're using XDP generic compared to looking at the 'perf' results.

Jesper, thank you for those two patches! I've recompiled the 4.19 kernel with those implemented and have it running on my POP server now. I've started announcing the POP server to the network again and I will let you know how it goes along with getting results from the 'perf' command. Do you think it would be worth trying to implement XDP support into the `igb` driver? I understand if it can't be supported officially, but once I gain more experience, etc. I might give it a try if it would increase performance.

I figured the physical NIC card used to host the VPSs would need to support XDP-native, but I just wanted to make sure. I tried asking my hosting provider if the NIC card uses a driver that is on the XDP-native supported list. They came back stating some nodes do and some do not, sadly. What type of offloads would need to be disabled in order to get it working (in the case the node's NIC driver does support XDP-native)?

Thank you for your time.


On 1/29/2020 8:26 AM, Jesper Dangaard Brouer wrote:
On Tue, 28 Jan 2020 12:42:21 -0600
Christian Deacon <gamemann@xxxxxxxxxxx> wrote:

With that said, it appears my other POP servers that are using the
"virtio_net" NIC driver are using XDP generic according to the 'perf'
results as well (they're similar to the above). They're also on
kernel 4.18.
First of all 'virtio_net' is tricky to get working with 'native-XDP',
because you need to disable a number of offloads.  This have gotten a
bit easier on newer kernels.

That said, it is important to understand that getting raw "fast" frames
into your "virtio_net" virtual netcard is a two-stage "rocket".   The
owner of the hardware box also need a native-XDP netcard that runs XDP
which XDP-redirect frames into your virtual NIC, else there is not
performance advantage.




[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux