Академический Документы
Профессиональный Документы
Культура Документы
Controller
Zuhran Khan Khattak, Muhammad Awais and Adnan Iqbal
Department of Computer Science
Namal College
Mianwali, Pakistan
Email: {zuhran2010,awais2010,adnan.iqbal}@namal.edu.pk
Abstract—Enourmous amount of data has resulted into large OpenFlow’s current design cannot meet the needs of high-
data centres. Virtual machines and virtual networks are an performance networks [11]. Recently - in April 2013 - Open-
integral part of large data centres. As a result, software defined Daylight consortium is launched with an objective of stan-
network controllers have emerged as viable solution to manage
such networks. The performance analysis of network controllers dardizing SDN development. OpenDaylight SDN Controller
is generally carried out through benchmarking. Although several (ODL) presents a new SDN controller architecture based on
benchmarking studies exist, recently launched OpenDaylight Services Abstraction Layer (SAL) concept such that it supports
SDN Controller is not considered in any benchmarking study yet. protocols other than OpenFlow.
In this paper, we present initial results of benchmarking of Open-
SDN controllers are primarily deployed in large scale net-
Daylight SDN Controller with well known Floodlight controller.
We present latency and throughput results of OpenDaylight SDN works where performance is a critical issue. Controller bench-
Controller and Floodlight under different scenarios. We find marking is a commonly used procedure for the performance
that OpenDaylight SDN Controller has low average responses analysis of SDN controllers. Several studies have been per-
as compared to Floodlight. We also note that the standard formed regarding benchmarking of commonly available SDN
benchmarking tool - Cbench - has no support for real traffic
controllers [6], [3], [4]. However, to the best of our knowledge,
patterns in a data centre, since data centre traffic is considerably
complex. In addition to benchmarking of OpenDaylight SDN no such study is available which covers OpenDaylight SDN
Controller, we propose modifications in Cbench to accommodate Controller.
models of real traffic in data centres. We also discuss our initial We have performed performance analysis of ODL and
implementation. Floodlight using Cbench. In this paper, we present initial
Keywords-Software Defined Networking, Benchmarking, results in the benchmarking of OpenDaylight controller using
Cbench, OpenDaylight, OpenFlow. latency and througput mode in Cbench. Initial experiments
suggest that OpenDaylight SDN Controller (ODL) is not
I. I NTRODUCTION mature enough to be deployed in the industry. 1
Enourmous amount of data has resulted into large data Cbench [6] is the most commonly used tool for SDN
centres. Availability of large compute and storage through controller benchmarking. It is a stress testing tool which
these data centres has further resulted into new business operates in either latency or in throughput mode. Cbench is
models. Increase in the complexity of compute and storage has also a blind tool. If multiple instances of Cbench are connected
also resulted into more complex computer networks. In a data with a single controller, Cbench instances are unaware of each
centre, virtual networks are now common along with virtual other.
machines. Managing networking in data centres is a daunting Since SDN controllers are likely to be deployed in a
task which requires innovation. As a result, Software Defined data centre, it is important that these controllers are tested
Networking (SDN) has emerged. according to the potential data centre traffic. Data centre traffic
Software Defined Networking (SDN) advocates separation is different from other networks because of several reasons.
of control and data plane. This paradigm shift in networking Data centres may have large East-West traffic along with Nort-
architecture has the promise of resolving several problems in South traffic. For instance, virtual machines migrations occur
large scale networks, data centers in particular. frequently. Characteristics of data centre traffic are captured in
An SDN controller has complete view of the network. The several studies and models of datacentre traffic already exist
controller also has the ability to change the network structure [1], [2]. However, there is no tool which makes use of these
and services at run time. Several SDN controllers have been models for testing and benchmarking SDN controllers.
developed and deployed. As of now, almost all the SDN In this paper, we also propose modifications to Cbench
controllers are based on OpenFlow protocol such as NOX [9] such that it also supports stochastic models of traffic for data
and Beacon [5]. centers. We also present our initial prototype which is capable
One of the basic ideas of SDN is to avoid vendor locking.
However, dependance on one protocol - OpenFlow - is not 1 By the time this work is submitted, OpenDaylight has released a new
serving the purpose. Prior studies have also emaphasied that version -Hydrogen - not considered in this study.
B. Latency Tests
Latency of the controller means that how much time it takes
to process a single packet. We tested the controller for latency
performance. For this purpose, we ran Cbench in latency mode
which sends a packet In to the controller and waits for response
before sending another packet. We evaluated the controllers
with different number of virtual OpenFlow switches emulated
by Cbench. Each latency test was run for a minimum of 10
minutes and repeated 10 times.
From the results, we observed that Floodlight controller pro-
vides results pretty much consistent with previously con-
ducted studies. With 8 switches, Floodlight produces 1214
Fig. 2. Testbed Setting responses/sec per switch on average. Increasing the number
of switches resulted into slight increase in the number of re-
We used different PCs for Cbench instances and the Con- sponses, from 1214 with 8 switches to 1239 with 16 switches,
troller in order to reduce the interference and also it would and to 1335 with 32 switches.
better stress the controllers to be tested as all the instances These results are internally consistent as well. For all the
would be sending packet Ins at the same time. We tested the evaluated configurations, the minimum number of responses
controllers throughput and latency with different number of per second per switch is recorded to be 1208 whereas the
switches. We ran the controllers with typical learning switch maximum is recorded to be 1404. However, we noted that
application. The learning switch application performs MAC variability in tests results increases with an increase in number
address learning by storing the output port against each MAC of switches. The average standard deviation per switch is
address. Then for each packet In, it finds the destination port recorded to be 3.22, 7.74 and 8.51 for 8, 16 and 32 switch
by looking up the map and sends the packet on that port. Oth- scenarios respectively. Floodlight latency test results are sum-
erwise, the packets are flooded. In all previous benchmarking marized in Figure 3.
studies, learning switch application is used [6], [3], [4], as it As compared to Floodlight, the numbers of responses on
has reasonable memory requirements for a defined number of ODL were unexpectedly very low. The responses recorded
switches. This application allows to test the I/O throughput or were 55/sec, 27/sec and 15/sec on average with 8, 16 and 32
latency of the controllers. switches respectively for a single switch in the network. We
We tested the controllers with 8, 16 and 32 switches, each also noticed that while the latency performance of Floodlight
switch having 100,000 unique source MACs. For the 8 and increases when the number of switches are increased but
16 switch scenario, each Cbench instance emulated only one ODL shows unexpected behavior as the numbers of responses
switch. Each Cbench instance was assigned to a unique core. decrease when the number of switches are increased. ODL
For the 32 switch scenario, we maintained the condition of latency mode results are summarized in Figure 4.
assigning a Cbench instance to unique core. However, each We also noticed that for ODL, Cbench failed to produce
Fig. 1. OpenDayligyt SDN Controller architecture [13].
TABLE II
FAILED L ATENCY T ESTS IN ODL
ACKNOWLEDGMENT
The authors would like to thank Syed Ali Khayam for useful
discussions in the early phase of this study.
R EFERENCES
[1] Theophilus Benson , Ashok Anand, Aditya Akella, and Ming Zhang.
“Understanding data center traffic characteristics.” ACM SIGCOMM
Computer Communication Review 40, no. 1 (2010): 92-99.
[2] Christina Delimitrou, Sriram Sankar, Aman Kansal, and Christos
Kozyrakis. “ECHO: Recreating network traffic maps for datacenters with
tens of thousands of servers.” In Workload Characterization (IISWC),
2012 IEEE International Symposium on, pp. 14-24. IEEE, 2012.
[3] Syed Abdullah Shah, Jannet Faiz, Maham Farooq, Aamir Shafi, and
Syed Akbar Mehdi. ”An architectural evaluation of SDN controllers.”
In Communications (ICC), 2013 IEEE International Conference on, pp.
3504-3508. IEEE, 2013.
[4] Marcial Fernandez. “Evaluating OpenFlow Controller Paradigms.” In ICN
2013, The Twelfth International Conference on Networks, pp. 151-157.
2013.