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

2019-04-01 Thread Phil Yang (Arm Technology China)
> -Original Message- > From: Pattan, Reshma > Sent: Monday, April 1, 2019 8:58 PM > To: Phil Yang (Arm Technology China) ; dev@dpdk.org; > tho...@monjalon.net > Cc: Hunt, David ; Gavin Hu (Arm Technology China) > ; Honnappa Nagarahalli > ; nd ; nd > Subject: RE: [PATCH v2 1/3] packet_orde

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

2019-04-01 Thread Pattan, Reshma
> -Original Message- > From: Phil Yang (Arm Technology China) [mailto:phil.y...@arm.com] > Sent: Saturday, March 30, 2019 4:55 PM > To: Pattan, Reshma ; dev@dpdk.org; > tho...@monjalon.net > Cc: Hunt, David ; Gavin Hu (Arm Technology China) > ; Honnappa Nagarahalli > ; nd ; nd > Subject

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

2019-03-30 Thread Phil Yang (Arm Technology China)
> -Original Message- > From: Pattan, Reshma > Sent: Saturday, March 30, 2019 12:40 AM > To: Phil Yang (Arm Technology China) ; dev@dpdk.org; > tho...@monjalon.net > Cc: Hunt, David ; Gavin Hu (Arm Technology China) > ; Honnappa Nagarahalli > ; nd > Subject: RE: [PATCH v2 1/3] packet_order

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

2019-03-29 Thread Pattan, Reshma
> -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

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

2019-03-29 Thread Phil Yang
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. For example: sudo examples/packet_order