[dpdk-dev] Detecting memory leaks in PMD /testpmd

2020-07-30 Thread P Smith
Hi All, Is there a simple tool to track / detect memory used by the PMD especially since it uses hugepages and rte_*alloc() and friends so traditional app memory checkers may not be applicable here ?I see some tracepoints being enabled, but could someone please point to how to use that f

[dpdk-dev] Strange cache sync problem(?) with reading mbuf

2019-06-27 Thread P Smith
Hello all, I am aware that this is some caching/synchronization problem but for some reason despite using the barrier macros it does not seem to go away.What makes it go away though is to give a rte_delay of 100us and re-reading the value again like so: cons_rx_buf = &rxr

[dpdk-dev] Memory footprint of a PMD

2019-05-03 Thread P Smith
Hi, Given that a dpdk driver uses rte_malloc_xx() and friends to allocate/free its memory what is the best way to find out the runtime memory footprint of a PMD ? One can use 'malloc_info' to dump the malloc output in case of general 'malloc' ...but what is the way here since it's all hugepa