Committed by
Gerrit Code Review
Fix for ONOS-3183
Stream processes by Lambda queries in collection objects has a known performance bottleneck. For each create and update link data operations, this kind of queries are frequently used and this causes inefficient topology discovery operation. For to solve that problem i analize thread dump during discovery process and i saw that especially getAllProviders method uses high cpu. than i change the provider search operation with additional map data which holds linkkey and its providers. by this way provider search operation not only gets faster but also uses minimum resource. Before that change, i can discover only 4XX number of switches at one controller, but later number grows to 15XX switches Change-Id: I65ed71b7f295917c818b2f9227d0fc070aa4a29b
Showing
1 changed file
with
53 additions
and
40 deletions
-
Please register or login to post a comment