[ovs-git] [ovn-org/ovn] 0ddb8b: controller: introduce stats counters for ovn-contr...

Lorenzo Bianconi noreply at github.com
Tue Mar 16 20:33:48 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 0ddb8b2c979c1102d206b4f855eb5fbe1566768e
      https://github.com/ovn-org/ovn/commit/0ddb8b2c979c1102d206b4f855eb5fbe1566768e
  Author: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M NEWS
    M controller/ovn-controller.8.xml
    M lib/inc-proc-eng.c
    M lib/inc-proc-eng.h

  Log Message:
  -----------
  controller: introduce stats counters for ovn-controller incremental processing

Introduce inc-engine/show-stats ovs-appctl command in order to dump
ovn-controller incremental processing engine statistics. So far for each
node a counter for run, abort and engine_handler have been added.
Counters are incremented when the node move to "updated" state.
In order to dump I-P stats we can can use the following commands:

$ovs-appctl -t ovn-controller inc-engine/show-stats
Node: SB_address_set
- recompute:           38
- compute:              0
- abort:                0
Node: addr_sets
- recompute:            2
- compute:              0
- abort:                1
Node: SB_port_group
- recompute:           37
- compute:              0
- abort:                0
....
Node: flow_output
- recompute:            2
- compute:             20
- abort:                0

Moreover introduce the inc-engine/clear-stats command to reset engine
statistics

$ovs-appctl -t ovn-controller inc-engine/clear-stats

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
Acked-by: Mark Gray <mark.d.gray at redhat.com>
Signed-off-by: Mark Michelson <mmichels at redhat.com>




More information about the git mailing list