[ovs-git] [ovn-org/ovn] 21fe5d: ovn-nbctl.8.xml: Fix section OVN_NBCTL_OPTIONS.

Han Zhou noreply at github.com
Tue Sep 8 05:53:24 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 21fe5d3587d96f93e8eb73451c5601b242fa0c8c
      https://github.com/ovn-org/ovn/commit/21fe5d3587d96f93e8eb73451c5601b242fa0c8c
  Author: Han Zhou <hzhou at ovn.org>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M utilities/ovn-nbctl.8.xml

  Log Message:
  -----------
  ovn-nbctl.8.xml: Fix section OVN_NBCTL_OPTIONS.

The section was placed at wrong postion. This patch fixes it.

Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>


  Commit: 50470d7c3e189303f1d122080d187ed5f245463c
      https://github.com/ovn-org/ovn/commit/50470d7c3e189303f1d122080d187ed5f245463c
  Author: Han Zhou <hzhou at ovn.org>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M controller/ovn-controller.c
    M northd/ovn-northd.c
    M ovn-nb.ovsschema
    M ovn-nb.xml
    M ovn-sb.ovsschema
    M ovn-sb.xml
    M tests/ovn.at

  Log Message:
  -----------
  Provide timestamp information for nb_cfg.

This change adds timestamp information for nb_cfg related processing of
ovn-northd and ovn-controller. It is useful for measuring end to end
control plane latency more accurately. The timestamps tell exactly when
ovn-northd starts processing a NB DB change, updates the changes to
SB DB, and when the slowest chassis finishes processing the changes.

Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>


  Commit: e78a164a4cf8516e2ed16731cbbf863d55fa1ad9
      https://github.com/ovn-org/ovn/commit/e78a164a4cf8516e2ed16731cbbf863d55fa1ad9
  Author: Han Zhou <hzhou at ovn.org>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M tests/ovn.at
    M utilities/ovn-nbctl.8.xml
    M utilities/ovn-nbctl.c

  Log Message:
  -----------
  ovn-nbctl: Support option --print-wait-time for latency measurement.

This patch adds option --print-wait-time, which can be used together
with --wait=sb/hv to print the time spent on respective processing.

For example:
$ ovn-nbctl --print-wait-time --wait=hv sync
Time spent on processing nb_cfg 392:
    ovn-northd delay before processing: 1ms
    ovn-northd completion:              32ms
    ovn-controller(s) completion:       39ms

Without this, we had to use "time" command to measure the total time
spent by the ovn-nbctl command. However, it doesn't refect the actual
control plane latency, because the nb_cfg updates from all hypervisors
to SB DB contributes a significant part to the time spent on waiting
by the ovn-nbctl command. This doesn't reflect the real production
scenario. With this option (and the timestamp support from the previous
commit), we can measure the exact time when hypervisors completed
SB DB change handling and enforcing to OVS.

Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>


Compare: https://github.com/ovn-org/ovn/compare/4ce955626d5c...e78a164a4cf8


More information about the git mailing list