Versions Compared

Key

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

...

In this test, we set up a linear topology, and create two hosts in the first and the last two switches, and then analyze the datapath build time between this two hosts.If the time is more than 5 minutes,  then it was deemed to can't support so many switches.

This test will create multiple switches connected to one controller. Datapath depends on the flow tables needed, through some triggering means (such as ping) will trigger the flows download, when all the switches have these flow table entries, datapath can be setup successfully.

There's two content should measure:By capture, the time can be caculated by the packets below

      1、The maximum first packet_out ratein packet

      2、The latency of packet_out

We configure one million packet_in packets on the IxNetwork and send them to the controller through different rates to analyze the packet_out rate and latency.

last flow_mod packet

The test was done by different number of switches with the sequence of 100、200、300、400 The rate is in accordance with the sequence 5000、10000、15000、20000 ... ...

Suggestions

  1. The transmission frequency of packet_in
    We suggest the packet_in interval is 50ms, that is 20 copies of packet_in messages are send in one second, every copy contains numbers of packet_in packets, and this can be configured in IxNetwork.topo of the switches
    Linear topology can show the datapath performance best. Mabe there's no linear topology in your IXIA tester version, create a ring topology first and then transformed into a linear topology.
  2. The trigger mode
    Through the topology in the first and last two hosts to do the operation of ping can trigger the flow downloadEnvironment
    This test result depends on the test environment, the results measured in different environments will be very different, in the VM environment and the physical environment the results of the test difference of nearly 10 times.

Preparation

  • Features install

    onos> feature:install onos-drivers
    onos> feature:install onos-openflow
    onos> feature:install onos-openflow-base
    onos> featureonos> feature:install onos-app-fwd
    onos> feature:install onos-lldp-provider
    onos> feature:install onos-host-provider



Test steps

      1. Config IxNetwork with one switch with switches (first with 100) with linear topology and two hosts . Set the packet_ in messages of the switch, the interval is 50ms, total 1000000 packets, using ICMP or ARP packetsfirst and last switch.

      2. Start the controller with the features install.

      3. Start the OF protocol of the switch.

      4. Wait until the channel is established and Echo message interaction started.

      5. Start the capture of IxNetwork.

      6. Enable packet_inthe traffic between this two hosts, wait until all of the packet_in messages are sent and  no packet_out messages receivethe hosts can ping through each other.

      7. Stop the capture, analyse the messages captured. First verify Write down the number of packet_out message N, N should be equal to 1 million, if N is less than 1 million, restart this test with smaller packet_in rate. Second, calculate the time difference between the time of the first packet_out in message T1 and the last packet_out message T, the packet_out rate can be calculated by N/T. Third, calculate the time delay of each packet_in-packet_out pair as t1、t2、t3 ... ... , of course this can be caculate by decentralized way(select ten sets of pairs), at last calculate the latency by t1+t2+t3 ... ... /N.time of the last flow mod message T2. Caculate the time of Datapath seted up T=T2-T1

      8. Clean the configuration of controllers and IxNetwork.

      9. Repeat test step 1-9 8 for five three times.

      10. Restart the test with another packet_in ratenumber of switches.

Test Results

 

  • Datapath Setup Time

    switchesFirst (ms)Second (ms)Third (ms)Avg (ms)
    1001200116911641178
    2001809174516591738
    3003100336333573273
    4005478717171776609
    50010983129461062411518
    60030633326034693236723
    70069950686735876065794
    800131691122576142910132392

After 800 switches, datapath can't setup in 5 minutes so we conclude that the maximum number is 800 switches.

  • Histogram of Datapath Setup Time

    Image Added

As the histogram shown, the time increases significantly with the number of switches.