[CONTROLLER-1398] Performance bottleneck Created: 31/Jul/15 Updated: 13/Nov/17 Resolved: 13/Nov/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Mina | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 4076 |
| Description |
|
Creating 10 services on 2 nodes. Running against the Helium release, I can see so many invocation calls to the md-sal while profiling. Please see attached for the profiling snapshots. |
| Comments |
| Comment by Mina [ 31/Jul/15 ] |
|
Attachment ODL_MDSAL.png has been added with description: MD-SAL |
| Comment by Martin Ciglan [ 03/Aug/15 ] |
|
Hi Mina Please refer to Lithium build. Thank you very much. Martin |
| Comment by Tony Tkacik [ 03/Aug/15 ] |
|
This time is spended creating and invoking change events on listeners, newer faster API is available in Lithium for Data Change Listeners. 25% of CPU time, during ten invocations is not bad, if you are doing profiling, |
| Comment by Robert Varga [ 13/Nov/15 ] |
|
The fix is to switch to DataTreeChangeListener – there is nothing we can optimize on DataChangeListeners, unfortunately. |