Re: Measuring/Debugging XDP Performance

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

 



Hey Jesper,


Thank you for the information and that makes a lot more sense! I didn't realize we had a NIC that doesn't support XDP-native. I will see if I can get a better NIC card for this dedicated server (I don't believe our current NIC card supports any other drivers besides `igb`).


In the meantime, I have stopped announcing my dedicated server to our Anycast network and have started announcing the four-core VPS that had similar issues before ordering the dedicated server (even though I feel this VPS should be able to handle the traffic load). The CPU is virtualized and running at 2.5 GHz per core. The VPS's OS is Ubuntu 18.10 and the kernel is '4.18.0-20'. The NIC driver is "virtio-pci", which I believe is supported (please correct me if I'm wrong, I do see 'virtio_net' in the list of supported XDP drivers which I'd assume is the same thing).


I will execute the 'perf' commands tonight when we have higher traffic load and reply with the output.


Thank you for your help!


On 1/23/2020 2:38 PM, Jesper Dangaard Brouer wrote:
On Thu, 23 Jan 2020 11:22:31 -0600
Christian Deacon <gamemann@xxxxxxxxxxx> wrote:

Thank you for the information and I will try these commands tonight when
there is higher traffic load! The 'perf' command seems interesting.
Thanks for the perf output in the private email thread. From the output
I can clearly see the problem (some copy pasted below signature).  You
are using the driver igb which does not support XDP-native, and is thus
using generic-XDP.

This driver only have 192 bytes headroom, where 256 is needed.  Thus,
running XDP-generic will be slower than running the normal network
stack, as every packet will get reallocated and copied.




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

  Powered by Linux