Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

      This This test case is designed to test cluster mode. It is used to test the time to complete the role assignment to the controller.

      The time contain two parts:

...

      2、The role calculation time of ONOS.

      We measure this time by the first hello message and the last role request message of the controllers and switches.

      The test was done with multiple switches with the sequence of 100、200、300、400 ... ...

...

  • Cluster formed(Three nodes)

     

    • 3 mode

      $ $ONOS_INSTALL_DIR/bin/onos-form-cluster OC1 OC2 OC3
    • 5 mode

      $ $ONOS_INSTALL_DIR/bin/onos-form-cluster OC1 OC2 OC3 OC4 OC5
    • 7 mode

      $ $ONOS_INSTALL_DIR/bin/onos-form-cluster OC1 OC2 OC3 OC4 OC5 OC6 OC7
  • Features install

     

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

...

      9. Restart the test with another number of switches.

Test Results

  • Three nodes

    DevicesFirstSecondThirdAverage(S)
    100s0.6820.7310.8610.76
    200s1.4081.4611.5101.46
    300s1.9442.1481.9382.01
    400s2.3533.0263.0392.81
    500s3.5783.2633.5763.47
    600s4.2374.2204.2434.23

    Image RemovedImage Added

    As shown in the histogram, the result is linear with the number of switches. When the number of switches after more than 600, the sessions is not support good enough, session flap occurs.

     

...