Have questions? Stuck? Please check our FAQ for some common questions and answers.

Description

The purpose of the test is to measure the performance of OpenFlow controller channels with a single or cluster controllers. Multiple switches are setuped up by IxNetwork, and directly connected to controllers by TCP connection.   

There are two items we should measure:

      1、The establish time of these switches;

      2、The maximum number of OF channels can be support coinstantaneous by controllers.

We measure the establish time by the time interval between the first Hello Message and the last Hello Message of these switches.The maximum number of OF channels measure by a time interval  without any session flap, and the time interval is recommended as 5 minutes.

For single mode, we done the test repeated by different number of switches with the sequence of 500、1000、1500、2000 ……

For cluster mode, we done the test repeated by different number of switches with the sequence of 100、200、300、400 ……

Suggestions

  1. If the OF sessions are restricted to 1000 or 1024, please check the following points:

    a) DPID configured by IxNetwork, they should exclusive with each switch.

    b) File descriptor of the OS which running the controllers(default with 1024).

    c)  ARP tables volume of the OS which running the controllers(default with 1024).

  2. In order to test out the best performance of controllers, several ports of IxNetwork are suggested. In the test below, we used four ports to do the test, each ports with same number of switches, forexample, 500 switches test, we configed 125 switches each port.

Preparation

  • Cluster formed(Three nodes)

    $ $ONOS_INSTALL_DIR/bin/onos-form-cluster OC1 OC2 OC3
  • Features install

    onos> feature:install onos-drivers
    onos> feature:install onos-openflow
    onos> feature:install onos-openflow-base

                

Test steps

      1. Config IxNetwork with multiple switches equally by four ports (first time with 500(single mode) or 100(cluster mode)).

      2. Start the controller with the features install.

      3. Start the capture of IxNetwork ports.

      4. Start all of the OF protocol of the switches simultaneous.

      5. Wait until all of the channels are established and Echo message interaction started,then stop the capture.If all of the sessions can't be established in 5 minutes means the controller can't support those OF channels.

      6. If step 5 is successful, then wait for 5 minutes and check whether the established channels are stable without any flap, and the Echo messages sended are equal with received. 

      7. If step 6 has passed, analyse the establish time from the messages captured by four ports and write down the result.

      8. Clean the configuration of controllers and IxNetwork.

      9. Repeat the test with same switches for three times.

      10. Restart the test with another number of switches.

Test Results

  • Single Mode 

    DevicesFirstSecondThirdAverage(S)
    500s1.021.421.171.20
    1000s2.132.182.032.11
    1500s2.563.423.393.12
    2000s4.744.424.864.67
    2500s5.745.395.725.62
    3000s6.387.547.617.18
    3500s7.649.058.658.45

    After 3500 switches, the OF channels become unstable, the flap sessions come frequently with the increase of time. So the maximum number of OF Channel with single controller is 3500. 

    We can see from the histogram, the establish time is linear growth with the number of OF switches.

  • Cluster Mode(Three nodes)

    DevicesFirstSecondThridAverage(S)
    100s1.250.520.520.76
    200s1.70.850.811.12
    300s1.210.891.331.14
    400s1.231.271.191.23
    500s1.521.761.61.63
    600s2.312.081.451.95

     

     

     

     

 

 

 

 

 

 

 

  • No labels