mbox series

[ovs-dev,0/3] Add performance measurement library

Message ID 20171218225139.13789-1-mmichels@redhat.com
Headers show
Series Add performance measurement library | expand

Message

Mark Michelson Dec. 18, 2017, 10:51 p.m. UTC
This set of commits adds a new library for OVS that allows for measuring
the performance of operations in OVS and compiling statistics from these
measurements.

The aims of this addition are twofold:
1) For developers, this can provide a measurement of something that is
either finer or coarser-grained than what is easily measured with a
profiler.
2) For admins, the statistics in the database can serve as a method of
alerting that systems are under stress and action should be taken to
ease things.

Mark Michelson (3):
  Add performance measuring API
  Save performance stats to database.
  Measure performance of ovn-controller loop.

 lib/automake.mk                 |   2 +
 lib/performance.c               | 400 ++++++++++++++++++++++++++++++++++++++++
 lib/performance.h               |  45 +++++
 ovn/controller/ovn-controller.c |  53 ++++++
 vswitchd/vswitch.ovsschema      |  39 +++-
 vswitchd/vswitch.xml            |  81 ++++++++
 6 files changed, 618 insertions(+), 2 deletions(-)
 create mode 100644 lib/performance.c
 create mode 100644 lib/performance.h