Move UVE Cache from map to tbb::concurrent_hash_map

Bug #1582078 reported by Anish Mehta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Anish Mehta

Bug Description

All UVE Cache operations currently acquire a global lock around the UVE Cache.
This makes it inefficient for multi-core use.
With the new DerivedStats feature, we would like to make updates more efficient.

Tags: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/20242
Submitter: Anish Mehta (<email address hidden>)

Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20242
Committed: http://github.org/Juniper/contrail-sandesh/commit/f0138151c54a73f72161d041aaf94050e64cc968
Submitter: Zuul
Branch: master

commit f0138151c54a73f72161d041aaf94050e64cc968
Author: Anish Mehta <email address hidden>
Date: Sun May 15 21:47:20 2016 -0700

Replace UVE Cache map with tbb::concurrent_hash_map.
Closes-Bug:1582078

Change-Id: I772c9210f02313a583e3597f4c777e628f620d46

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.