The purpose of the test is to measure the performance of OpenFlow controller messages performance with a single controller. Multiple switches are setuped up by IxNetwork, and directly connected to controllers by TCP connection.
The performance is measured by the time of the controller handles different types of messages, such as Echo Request and Packet_in.
When the sessions of the controller and switches are stable, we started collecting data, and the result can be statistics by discrete method.
We done the test repeated by different number of switches with the sequence of 100、500、1000、1500、2000 ……
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).
Features install
onos> feature:install onos-drivers onos> feature:install onos-openflow onos> feature:install onos-openflow-base onos> feature:install onos-app-fwd |
1. Config IxNetwork with multiple switches equally by four ports (first time with 100), set the packet_in messages of the switch 20 packets per switch per second, using ICMP or ARP packets.
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. Enable packet_in, wait until the packet_in messages and packet_out messages stable.
6. Start the capture of IxNetwork for 2-5 minutes.
7. Stop the capture, analyse the messages captured. First of all, select N1 numbers of switch from those of switches through discrete way, then select N2 sets of packets of each switch by discrete way, third calculate the average of all of those packets pairs.
8. Clean the configuration of controllers and IxNetwork.
10. Restart the test with another number of switches.
Echo Request and Packet_in latency
Number of Switches | Echo Request Latency(ms) | Packet_in Latency(ms) |
---|---|---|
100 | 0.768 | 0.714 |
500 | 0.598 | 0.912 |
1000 | 0.950 | 4.310 |
1500 | 0.682 | 1.676 |
2000 | 0.604 | 6.410 |
2500 | 1.732 | 3.008 |
3000 | 0.722 | 2.666 |
Histogram of Echo Request and Packet_in latency