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 -- 2.13.5 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
