|SUCCESS|dpdk|981e8d946a| Intel-Testing
sys_stv at intel.com
sys_stv at intel.com
Thu Nov 12 14:22:34 CET 2026
Test-Label: intel-Testing
Test-Status: SUCCESS
_Testing PASS_
DPDK git repo: dpdk
commit 981e8d946a6d8103ae9a111dd33fcc3c8f2fb443
Author: Robert Sanford <rsanford at akamai.com>
Date: Fri Oct 30 12:19:26 2026 -0400
rib: reduce node mempool memory footprint
RIB nodes are allocated from a mempool created with no flags, so each
object is cache-line aligned and padded for memory-channel spreading.
On x86-64, an object takes 192 bytes for a 40-byte rte_rib_node or a
56-byte rte_rib6_node. Nodes are small and only accessed by the CPU,
so the padding is wasted. The whole pool is reserved up front, and
rte_fib and rte_fib6 size it at twice max_routes nodes.
Create the node pools with RTE_MEMPOOL_F_NO_CACHE_ALIGN,
RTE_MEMPOOL_F_NO_SPREAD and RTE_MEMPOOL_F_NO_IOVA_CONTIG.
RTE_MEMPOOL_F_NO_SPREAD is implied by RTE_MEMPOOL_F_NO_CACHE_ALIGN,
but is passed explicitly to document the intent. Nodes remain 8-byte
aligned, which is all the node structures need. The extension area
returned by rte_rib_get_ext() and rte_rib6_get_ext() was only 8-byte
aligned before as well.
With 2M nodes (1M routes), the pool shrinks from 390 MiB to 128 MiB
for IPv4 and to 160 MiB for IPv6. On an AMD EPYC 7643 with 1 GiB
hugepages, fib_perf_autotest (about 1M IPv4 routes) shows average add
and delete times 13 and 29 percent lower. Lookup times, and the add
and delete times in fib6_perf_autotest, which uses 1000 routes, are
unchanged.
Signed-off-by: Robert Sanford <rsanford at akamai.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Testing Summary : 18 Case Done, 18 Successful, 0 Failures
TestPlan:
pf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/pf_smoke_test_plan.rst
vf_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/vf_smoke_test_plan.rst
virtio_smoke: http://git.dpdk.org/tools/dts/tree/test_plans/virtio_smoke_test_plan.rst
TestSuite:
pf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_pf_smoke.py
vf_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_vf_smoke.py
virtio_smoke: http://git.dpdk.org/tools/dts/tree/tests/TestSuite_virtio_smoke.py
OS : Ubuntu 24.04.4 LTS
Kernel : 6.8.0-71-generic
GCC : 13.3.0-6ubuntu2~24.04.1
NIC : Ethernet Controller XL710 for 40GbE QSFP+
Target : x86_64-native-linuxapp-gcc
Test result details:
+-------------+---------------------------+-------+
| suite | case | status|
+-------------+---------------------------+-------+
| asan_smoke | test_rxtx_with_ASan_enable| passed|
| pf_smoke | test_pf_jumbo_frames | passed|
| pf_smoke | test_pf_rss | passed|
| pf_smoke | test_pf_tx_rx_queue | passed|
| vf_smoke | test_vf_rss | passed|
| vf_smoke | test_vf_tx_rx_queue | passed|
| vf_smoke | test_vf_jumbo_frames | n/a |
| virtio_smoke| test_virtio_loopback | passed|
| virtio_smoke| test_virtio_pvp | passed|
+-------------+---------------------------+-------+
OS : Ubuntu 24.04.4 LTS
Kernel : 6.8.0-87-generic
GCC : 13.3.0-6ubuntu2~24.04.1
NIC : Ethernet Controller E810-C for SFP
Target : x86_64-native-linuxapp-gcc
Test result details:
+-------------+---------------------------+-------+
| suite | case | status|
+-------------+---------------------------+-------+
| asan_smoke | test_rxtx_with_ASan_enable| passed|
| pf_smoke | test_pf_jumbo_frames | passed|
| pf_smoke | test_pf_rss | passed|
| pf_smoke | test_pf_tx_rx_queue | passed|
| vf_smoke | test_vf_jumbo_frames | passed|
| vf_smoke | test_vf_rss | passed|
| vf_smoke | test_vf_tx_rx_queue | passed|
| virtio_smoke| test_virtio_loopback | passed|
| virtio_smoke| test_virtio_pvp | passed|
+-------------+---------------------------+-------+
DPDK STV team
More information about the test-report
mailing list