Improve parallelism between bgp/xmpp state machine and io tasks
Highlights:
- Set task_instance for xmpp::StateMachine based on remote ip address
- Set task_instance for xmpp io::Reader to be same as xmpp::StateMachine
- Remove blanket exclusion between io::Reader and xmpp::StateMachine
- Make io::Reader and xmpp::StateMachine exclusive for same task_instance
- Remove blanket exclusion between io::Reader and bgp::StateMachine
- Make io::Reader and bgp::StateMachine exclusive for same task_instance
- Limit max task_instance for above tasks to scheduler's thread count
- Add concurrency annotations to PeerRibMembershipManager
- Fix concurrency issues in PeerRibMembershipManager
- Fix concurrency issues in BgpXmppChannelManager
Reviewed: https:/ /review. opencontrail. org/19168 github. org/Juniper/ contrail- controller/ commit/ 42551a2e6124f11 2d941f9f18e90f8 cf67054392
Committed: http://
Submitter: Zuul
Branch: master
commit 42551a2e6124f11 2d941f9f18e90f8 cf67054392
Author: Nischal Sheth <email address hidden>
Date: Mon Mar 28 10:48:30 2016 -0700
Improve parallelism between bgp/xmpp state machine and io tasks
Highlights:
- Set task_instance for xmpp::StateMachine based on remote ip address ipManager ipManager anager
- Set task_instance for xmpp io::Reader to be same as xmpp::StateMachine
- Remove blanket exclusion between io::Reader and xmpp::StateMachine
- Make io::Reader and xmpp::StateMachine exclusive for same task_instance
- Remove blanket exclusion between io::Reader and bgp::StateMachine
- Make io::Reader and bgp::StateMachine exclusive for same task_instance
- Limit max task_instance for above tasks to scheduler's thread count
- Add concurrency annotations to PeerRibMembersh
- Fix concurrency issues in PeerRibMembersh
- Fix concurrency issues in BgpXmppChannelM
Change-Id: I96ff21fe7da06c d37a057d53712f8 5511dd8ff2a
Closes-Bug: 1566149