[PATCH] mempool: add object usage counts for the telemetry api
Morten Brørup
mb at smartsharesystems.com
Tue Nov 15 17:28:57 CET 2022
+CC mempool maintainers
> From: Robin Jarry [mailto:rjarry at redhat.com]
> Sent: Tuesday, 15 November 2022 16.36
>
> rte_mempool_dump() already returns the number of objects available and
> in the cache. This information is missing from the telemetry API. Add
> it
> albeit with less granularity for cached counts (only report the
> total_cache_count).
>
> Signed-off-by: Robin Jarry <rjarry at redhat.com>
> ---
Please consider that the individual per-lcore cache lengths could be informative for some applications too.
Anyway, they could be provided in a later patch.
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list