DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH dpdk 0/2] Flexible graph nodes stats collection
@ 2025-12-09  8:50 Robin Jarry
  2025-12-09  8:50 ` [PATCH dpdk 1/2] graph: always count objects and calls Robin Jarry
  2025-12-09  8:50 ` [PATCH dpdk 2/2] graph: allow enabling/disabling node visit cycles collection Robin Jarry
  0 siblings, 2 replies; 11+ messages in thread
From: Robin Jarry @ 2025-12-09  8:50 UTC (permalink / raw)
  To: dev

Currently, the collection of statistics is fixed at compile time and
encompasses the number of cycles and number of node visits/calls and
processed objects.

While having fine grained statistics is a useful tool, calling accessing
rte_rdtsc() twice per node can be costly.

This series brings more flexibility and allows to always collect the
number of objects and node visits regardless of the compile time
constants. Node cycles collection can be enabled at runtime per-graph.

Robin Jarry (2):
  graph: always count objects and calls
  graph: allow enabling/disabling node visit cycles collection

 lib/graph/graph_populate.c          |  1 +
 lib/graph/rte_graph_worker_common.h | 24 +++++++++++++++++++-----
 2 files changed, 20 insertions(+), 5 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-12-09 14:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-09  8:50 [PATCH dpdk 0/2] Flexible graph nodes stats collection Robin Jarry
2025-12-09  8:50 ` [PATCH dpdk 1/2] graph: always count objects and calls Robin Jarry
2025-12-09  9:09   ` Jerin Jacob
2025-12-09  9:12     ` Robin Jarry
2025-12-09 11:13       ` Morten Brørup
2025-12-09 11:47         ` Robin Jarry
2025-12-09 12:11           ` Morten Brørup
2025-12-09 12:45             ` Robin Jarry
2025-12-09 13:45               ` Morten Brørup
2025-12-09 14:47                 ` Robin Jarry
2025-12-09  8:50 ` [PATCH dpdk 2/2] graph: allow enabling/disabling node visit cycles collection Robin Jarry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).