From: Robin Jarry <rjarry@redhat.com>
To: dev@dpdk.org
Subject: [PATCH dpdk 0/2] Flexible graph nodes stats collection
Date: Tue, 9 Dec 2025 09:50:29 +0100 [thread overview]
Message-ID: <20251209085028.115203-4-rjarry@redhat.com> (raw)
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
next reply other threads:[~2025-12-09 8:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-09 8:50 Robin Jarry [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251209085028.115203-4-rjarry@redhat.com \
--to=rjarry@redhat.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).