3 ms·
Moving packet processing into userspace means adding latency, including TLB pressure, in order to do the context switch. This isn't the case because VPP polls
by wmf 3y ago
Moving packet processing into userspace means adding latency, including TLB pressure, in order to do the context switch.
This isn't the case because VPP polls the NIC from userspace and never enters the kernel. There are no context switches.
- vacuity 3y agoIs there something like an IOMMU to provide secure access to the NIC?
- ADSSDA 3y agoYes, DPDK (which VPP is built on) heavily utilizes IOMMU to provide host protection. https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html discusses it a bit.