> -----Original Message-----
> From: Pattan, Reshma <reshma.pat...@intel.com>
> Sent: Saturday, March 30, 2019 12:40 AM
> To: Phil Yang (Arm Technology China) <phil.y...@arm.com>; dev@dpdk.org;
> tho...@monjalon.net
> Cc: Hunt, David <david.h...@intel.com>; Gavin Hu (Arm Technology China)
> <gavin...@arm.com>; Honnappa Nagarahalli
> <honnappa.nagaraha...@arm.com>; nd <n...@arm.com>
> Subject: RE: [PATCH v2 1/3] packet_ordering: add statistics for each worker
> thread
> 
> 
> 
> > -----Original Message-----
> > From: Phil Yang [mailto:phil.y...@arm.com]
> >
> > The current implementation using '__sync' built-ins to synchronize
> > statistics within worker threads. '__sync' built-ins functions are
> > full barriers which will affect the performance, so add a per worker packets
> statistics.
> >
> > Enable by option --insight-worker.
> >
> 
> I don't feel the need of this new option to print per core stats.  Any reason
> for this?

Hi Reshma,

Thanks for your comment. 
The per core stats aims at removing the '__sync' builtin full barrier in the 
worker thread. 
It records the workload of each core (It shows the bottleneck core as well).  
Since the maximum core number may be more than 128, so disable the print in 
default and add this new option for debugging use. 

Anyway, if you insist there is no need to print that info out, I can remove the 
option. But I think using per core stats will benefit performance.

Thanks,
Phil

> 
> Thanks,
> Reshma

Reply via email to