AltraMayor / AltraMayor/gatekeeper
Explore new DPDK features that Gatekeeper may benefit from
- Ngôn ngữ chính
- C
- Star
- 1.6k
- Fork
- 252
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Gatekeeper may benefit from some new DPDK features:
1. [Fast mbuf free](https://doc.dpdk.org/guides/nics/features.html#fast-mbuf-free): This feature requires that per queue, all mbufs come from the same mempool and has refcnt = 1. Therefore, we expect most blocks except for the SOL blocks (which hold mbufs from different mempools) will benefit from this feature.
2. [Intel I/O Acceleration Technology](https://www.intel.com/content/www/us/en/wireless-network/accel-technology.html) for memory copy offloading, and DPDK support it with [IOAT rawdev driver](https://doc.dpdk.org/guides/rawdevs/ioat.html). For now, we don't expect this technology can bring significant improvement for Gatekeeper due to (1) DDIO technology injects the packets directly into the CPU's last level cache; (2) Gatekeeper doesn't have much memory copy workload.
3. Some rawdev drivers for DMA engines, thus DPDK applications can initiate DMA transactions internally from/to host without core intervention.
4. Devices with HW mempool support can complete the Ethdev Rx buffer allocation and Tx buffer recycling in HW to save CPU cycles. In DPDK 20.02, it added mbuf pool with pinned external memory. Gatekeeper may not see a significant improvement from this feature, as currently each block maintains its own thanks to our closed patch #377 , which allows Gatekeeper to create a mbuf pool for each lcore. The allocation/de-allocation overhead should be small.
5. DPDK 19.11 added support for dynamic fields and flags in mbuf, which is typically used for specific offload features. This feature combined with potential features merged in the near future will better enable the adoption of SmartNIC-based solutions.
Although we won't update our current DPDK to the latest version for the first deployment due to two facts: (1) our new patches need extra work to go upstream; (2) some APIs used by Gatekeeper have been deprecated and we need to replace them with the latest APIs. Any potential new DPDK features related to our 100+ Gbps deployment should be recorded/discussed in this thread.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.