commit | 82ee2f5288544df0e60698d7d42636ee5b505986 | [log] [tgz] |
---|---|---|
author | kircaali <ali.kirca@argela.com.tr> | Mon Apr 11 15:08:14 2016 +0000 |
committer | Jon Hall <jhall@onlab.us> | Wed Jun 01 14:17:42 2016 -0700 |
tree | b3d875531c296447c8ad654d39d7b62d7b8292dd | |
parent | 4983df9064f8fe5df0dc0a5797eb4bd4f9eba517 [diff] |
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 (cherry picked from commit 28d67687d0712b2cc93f81442130c690277c95a6)
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.