[ovs-git] [openvswitch/ovs] 62c5c3: bridge: Rate limit the statistics update.

GitHub noreply at github.com
Tue Sep 23 22:58:23 UTC 2014


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: 62c5c3e2036486765083a68c6d1f06f3c897c917
      https://github.com/openvswitch/ovs/commit/62c5c3e2036486765083a68c6d1f06f3c897c917
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: Rate limit the statistics update.

When ovs is running with large topology (e.g. large number of
interfaces), the stats update to ovsdb becomes huge and normally
requires multiple run of ovsdb jsonrpc message processing loop to
consume.

To prevent the periodic stats update from backlogging in the
jsonrpc sending queue, this commit adds rate limiting logic
which only allows new update if the previous one is done.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
Acked-by: Flavio Leitner <fbl at redhat.com>


  Commit: 8bd0553070b8a53f319b6526d082f2a68c995eda
      https://github.com/openvswitch/ovs/commit/8bd0553070b8a53f319b6526d082f2a68c995eda
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M lib/jsonrpc.c

  Log Message:
  -----------
  jsonrpc: Notify excessive sending backlog.

This commit adds a log message to notify the excessive backlog
for jsonrpc.  Expectedly, this message should never be printed.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/f97ee16ac05a...8bd0553070b8


More information about the git mailing list