summaryrefslogtreecommitdiff
path: root/lib/db-ctl-base.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-02-23 13:03:07 -0800
committerBen Pfaff <blp@ovn.org>2018-02-26 12:10:25 -0800
commit2696bcb1205837b50cdf4f5402926efa8753f7f6 (patch)
tree9c371c42364fac7b002f38791cc75284727d20bd /lib/db-ctl-base.h
parentc635f687fd5922c27553924afe4878608ecf7440 (diff)
downloadopenvswitch-2696bcb1205837b50cdf4f5402926efa8753f7f6.tar.gz
ovn-northd: Consistently use Datapath_Binding UUID for hashing flows.
In one place, ovn-northd was hashing Logical_Switch or Logical_Router UUIDs for ovn_lflow, and in another place it was hashing Datapath_Binding UUIDs. This caused problems. This commit changes ovn-northd to always hash the Datapath_Binding UUID. Jacob Sitnicki reported the following performance improvement for a similar fix: Children Self Command Shared Object Symbol before: 76.19% 0.01% ovn-northd ovn-northd [.] ovnnb_db_run 11.04% 0.43% ovn-northd ovn-northd [.] ovn_lflow_find after: 75.16% 0.05% ovn-northd ovn-northd [.] ovnnb_db_run 2.49% 0.17% ovn-northd ovn-northd [.] ovn_lflow_find Fixes: 8bf332225d4a ("ovn-northd: Reduce amount of flow hashing.") Reported-by: Jakub Sitnicki <jkbs@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/db-ctl-base.h')
0 files changed, 0 insertions, 0 deletions