[ovs-git] [openvswitch/ovs] 6bef3c: bridge: Fix high cpu utilization.

GitHub noreply at github.com
Wed Oct 1 00:34:41 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6bef3c7ca859f208239ca61ec3b25c09a3571553
      https://github.com/openvswitch/ovs/commit/6bef3c7ca859f208239ca61ec3b25c09a3571553
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-30 (Tue, 30 Sep 2014)

  Changed paths:
    M tests/ovs-vswitchd.at
    M vswitchd/bridge.c

  Log Message:
  -----------
  bridge: Fix high cpu utilization.

When there are more than one ovs-vswitchd processes started,
only one process is enabled.  The disabled processes should
just sleep.  However, a bug in ovs makes the disabled processes
keep waking up on global connectivity sequence number which is
never sync'ed.  Consequently, those processes use 100% cpu.

This commit fixes the bug by always sync up the connectivity
sequence number for disabled processes.

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




More information about the git mailing list