commit | 28d67687d0712b2cc93f81442130c690277c95a6 | [log] [tgz] |
---|---|---|
author | kircaali <ali.kirca@argela.com.tr> | Mon Apr 11 15:08:14 2016 +0000 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Apr 22 17:07:23 2016 +0000 |
tree | a7064d0f671c08a033de78e5d64df31621ae201d | |
parent | f54c3e7ca1fea274608f8fc743bc321009cb0f7d [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
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.