Acked-by: Billy O'Mahony
> -Original Message-
> From: Jan Scheurich [mailto:jan.scheur...@ericsson.com]
> Sent: Sunday, March 18, 2018 5:55 PM
> To: d...@openvswitch.org
> Cc: ktray...@redhat.com; Stokes, Ian ;
> i.maxim...@samsung.com; O
Acked-by: Billy O'Mahony
> -Original Message-
> From: Jan Scheurich [mailto:jan.scheur...@ericsson.com]
> Sent: Sunday, March 18, 2018 5:55 PM
> To: d...@openvswitch.org
> Cc: ktray...@redhat.com; Stokes, Ian ;
> i.maxim...@samsung.com; O
Acked-by: Billy O'Mahony
> -Original Message-
> From: Jan Scheurich [mailto:jan.scheur...@ericsson.com]
> Sent: Sunday, March 18, 2018 5:55 PM
> To: d...@openvswitch.org
> Cc: ktray...@redhat.com; Stokes, Ian ;
> i.maxim...@samsung.com; O
This patch instruments the dpif-netdev datapath to record detailed
statistics of what is happening in every iteration of a PMD thread.
The collection of detailed statistics can be controlled by a new
Open_vSwitch configuration parameter "other_config:pmd-perf-metrics".
By default it is disabled.
This patch enhances dpif-netdev-perf to detect iterations with
suspicious statistics according to the following criteria:
- iteration lasts longer than US_THR microseconds (default 250).
This can be used to capture events where a PMD is blocked or
interrupted for such a period of time that
If the caller provides a non-NULL qfill pointer and the netdev
implemementation supports reading the rx queue fill level, the rxq_recv()
function returns the remaining number of packets in the rx queue after
reception of the packet burst to the caller. If the implementation does
not support this,
The run-time performance of PMDs is often difficult to understand and
trouble-shoot. The existing PMD statistics counters only provide a coarse
grained average picture. At packet rates of several Mpps sporadic drops of
packet bursts happen at sub-millisecond time scales and are impossible to
> Checkpatch reports the following:
>
> WARNING: Line lacks whitespace around operator
> #560 FILE: lib/dpif-netdev-perf.h:113:
> uint64_t cycles;/* Number of TSC cycles spent in it/ms. */
>
> WARNING: Line lacks whitespace around operator
> #563 FILE: lib/dpif-netdev-perf.h:116:
Hi Darrell,
Sorry for delay.
During the last week, I have tried sveral live migration script, and found that
1. sctipt1: Tcp stream will stop only 2 seconds, then the stream is ok. (
8Gbps… 0Gbps .<- 0Gbps for 2 seconds ->….0Gbps … 8Gbps)
#Migrate VM to the destination
#Then flush all