Re: [dpdk-dev] [PATCH v3 1/3] packet_ordering: add statistics for each worker thread

2019-04-07 Thread Phil Yang (Arm Technology China)
t: Re: [dpdk-dev] [PATCH v3 1/3] packet_ordering: add statistics for > each worker thread > > Hi, > > 03/04/2019 08:59, Phil Yang: > > The current implementation using the '__sync' built-ins to synchronize > > statistics within worker threads. The '__syn

Re: [dpdk-dev] [PATCH v3 1/3] packet_ordering: add statistics for each worker thread

2019-04-04 Thread Thomas Monjalon
Hi, 03/04/2019 08:59, Phil Yang: > The current implementation using the '__sync' built-ins to synchronize > statistics within worker threads. The '__sync' built-ins functions are > full barriers which will affect the performance, so add a per worker > packets statistics to remove the synchronisati

[dpdk-dev] [PATCH v3 1/3] packet_ordering: add statistics for each worker thread

2019-04-03 Thread Phil Yang
The current implementation using the '__sync' built-ins to synchronize statistics within worker threads. The '__sync' built-ins functions are full barriers which will affect the performance, so add a per worker packets statistics to remove the synchronisation between worker threads. Since the maxi