[PATCH 1/6] service: reduce statistics overhead for parallel services
David Marchand
david.marchand at redhat.com
Mon Oct 3 10:06:56 CEST 2022
On Tue, Sep 6, 2022 at 6:17 PM Mattias Rönnblom
<mattias.ronnblom at ericsson.com> wrote:
>
> Move the statistics from the service data structure to the per-lcore
> struct. This eliminates contention for the counter cache lines, which
> decreases the producer-side statistics overhead for services deployed
> across many lcores.
>
> Prior to this patch, enabling statistics for a service with a
> per-service function call latency of 1000 clock cycles deployed across
> 16 cores on a Intel Xeon 6230N @ 2,3 GHz would incur a cost of ~10000
> core clock cycles per service call. After this patch, the statistics
> overhead is reduce to 22 clock cycles per call.
>
> Signed-off-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
Re-reading the mail archive, I found that Morten acked the series
(replying on patch 4).
Mattias, such a series deserved a cover letter.
How does this series fit with other patches from Harry?
https://patchwork.dpdk.org/project/dpdk/list/?series=23959&state=*
Thanks.
--
David Marchand
More information about the dev
mailing list