2016년 4월 20일 수요일 오후 11시 49분 34초 UTC-7, ShaD Attarha 님의 말:
Hi, ShaD,
As Thomas and Satish mentioned, ONOS has some initial work on load balancing cross multiple instances. The underlying idea is to evenly assign the number of switch to each instance. If you press "E" button in topology view, you can trigger the equalizing mastership feature. The assumption of this feature is that 1) all instances are homogenous; 2) control traffic generated in each switch is homogenous.
However, if you take a look at real-world deployment, it is not always the case.
The idea of CPMan (located under apps/cpman) is to monitor various control plane metrics including instance spec, system load (CPU, memory, etc.), messages exchanged between instances, messages exchanged between control plane and data plane. With these monitored information, we can evenly distribute the control load across multiple instances.
By far, control plane monitoring part has been finished, and I am currently working on scheduling part. If you feel interested on this topic, we can work together.
I have documented some of the implementation details in wiki.
https://wiki.onosproject.org/display/ONOS/Control+Plane+Management+Application
https://wiki.onosproject.org/display/ONOS/Collecting+System+Metrics+from+CollectD+Agent
https://wiki.onosproject.org/display/ONOS/InfluxDB+Report+and+Query+Application
https://wiki.onosproject.org/display/ONOS/Integration+with+Grafana+Dashboard
// Jian