PF_RING icon indicating copy to clipboard operation
PF_RING copied to clipboard

Add ZC support for Amazon EC2 ENA driver

Open tianbaoluo opened this issue 1 year ago • 4 comments

I read the documentation and it seems that PF_RING ZC does not support Amazon's ENA driver. Can you add it?

tianbaoluo avatar May 27 '24 16:05 tianbaoluo

@tianbaoluo could you describe your use case please?

cardigliano avatar May 27 '24 16:05 cardigliano

@cardigliano one of the scenes, we need to implement cross-zone UDP broadcast on Amazon, and I hope to reduce the latency. I found that PF_RING ZC has best performance and is not expensive, but it does not seem to support the ENA driver (https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/ena). I hope PF_RING ZC can support ENA driver.

tianbaoluo avatar May 27 '24 17:05 tianbaoluo

@tianbaoluo please note that PF_RING ZC is a kernel-bypass technology, this means you cannot use for standard networking (e.g. sending receiving UDP traffic) unless you implement a small stack in userspace (e.g. you need at least to handle ARP traffic)

cardigliano avatar May 28 '24 07:05 cardigliano

@tianbaoluo please note that PF_RING ZC is a kernel-bypass technology, this means you cannot use for standard networking (e.g. sending receiving UDP traffic) unless you implement a small stack in userspace (e.g. you need at least to handle ARP traffic)

Understood, I have implemented the UDP protocol with raw socket, but it is relatively slow.

tianbaoluo avatar May 28 '24 12:05 tianbaoluo