ONOS

393 views
Skip to first unread message

ShaD Attarha

unread,
Apr 21, 2016, 2:49:34 AM4/21/16
to onos...@onosproject.org
Hello
i am student of  master degree in network engineering
i want to improve load balancing of controller to switch masterships on the network control plane in ONOS controller
when i read the software architecture page i understood no load balancing policy has implemented yet
can i have your kind assistance to explain me how i can find specific code /app that is about load balancing therefor i can  improve it    
Best Regards

satish karunanithi

unread,
Apr 21, 2016, 7:09:23 AM4/21/16
to ShaD Attarha, onos-dev
Hi,

Couple of days back Thomas replied to you in this aspect to refer to cpman app and collaborate with JianLi.

In case if you have missed his mail below it is:

Just to clarify, do you want to:

a) improve load-balancing of controller-to-switch mastership relationships on the network control-plane?
b) improve load-balancing of traffic over the network data-plane?


In this case, I recommend you take a look at the apps/cpman (control plane management) application and perhaps get in touch with Jian Li (on this list) to see if you can collaborate. The idea behind this app is to collect various metrics pertaining to observed system load as well as the number of control-plane interactions each cluster node is engaged in and then to use this information (together with other info, such as regions defined by the user) to help determine the optimal balanced load.


Regards,
Satish.


--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CANH7vgN3QKKw%3Dm9qMsye%3DyRiNZQn-Ywab6K%3Do6X%3DOvd6DySamQ%40mail.gmail.com.

Jian Li

unread,
Apr 21, 2016, 12:27:01 PM4/21/16
to ONOS Developers
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

lravh...@gmail.com

unread,
Oct 23, 2018, 10:23:50 AM10/23/18
to ONOS Developers
Hi Jian,

I am fairly new to SDN and recently started working on ONOS load balancing. I have been trying to reproduce the work you published on CPMan all in vain.May you kindly assist on how to run this app, specifically the following:
  • How do I configure the setpoints on the PID controller?
  • How do I set the soft idle timeouts?
Regards,
Lue
Reply all
Reply to author
Forward
0 new messages