• Nenhum resultado encontrado

Clonal selection algorithm for energy minimization in software defined networks

N/A
N/A
Protected

Academic year: 2023

Share "Clonal selection algorithm for energy minimization in software defined networks"

Copied!
18
0
0

Texto

(1)

M.W. Hussain, B. Pradhan, X.Z. Gao, K.H.K. Reddy, D.S. Roy

PII: S1568-4946(20)30555-X

DOI: https://doi.org/10.1016/j.asoc.2020.106617 Reference: ASOC 106617

To appear in: Applied Soft Computing Journal Received date : 31 January 2020

Revised date : 30 May 2020 Accepted date : 3 August 2020

Please cite this article as: M.W. Hussain, B. Pradhan, X.Z. Gao et al., Clonal selection algorithm for energy minimization in software defined networks,Applied Soft Computing Journal(2020), doi:https://doi.org/10.1016/j.asoc.2020.106617.

This is a PDF file of an article that has undergone enhancements after acceptance, such as the addition of a cover page and metadata, and formatting for readability, but it is not yet the definitive version of record. This version will undergo additional copyediting, typesetting and review before it is published in its final form, but we are providing this version to give early visibility of the article.

Please note that, during the production process, errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.

©

2020 Elsevier B.V. All rights reserved.

(2)

Clonal selection algorithm for energy minimization in software defined networks

M W Hussain

a

, B Pradhan

b

, X Z Gao

c

, K H K Reddy

d

and D S Roy

a,∗

aDepartment of Computer Science and Engineering, National Institute of Technology Meghalaya, Shillong, India

bDepartment of Computer Applications, National Institute of Technology Jamshedpur, Jamshedpur, India

cSchool of Computing, University of Eastern Finland, Kuopio, Finland

dDepartment of Computer Science and Engineering, National Institute of Science and Technology, Berhampur, India

A R T I C L E I N F O

Keywords:

Software-defined networking (SDN) Clonal Selection Algorithm(CSA) Load Balancing

Energy Optimization

A B S T R A C T

With the advancements of Information and Communication Technologies (ICT), large scale dis- tributed computing and massive data center infrastructures are becoming more common these days. Such trends have drastically put a lot of load on the volumes of data transferred over net- works, thus necessitating close to capacity link utilizations flexible forwarding decision-making.

Software-defined networking (SDN), with its inherent segregation of control and data planes, provides flexible decision making that can leverage the global network information available to the SDN controller for dynamic and accurate solutions. However, contemporary researchers have focused on the flexibility and security aspects of SDN, widely ignoring energy consump- tion strategies in next-generation IP networks, which otherwise is a crucial driver in any research field. The scanty existing energy minimization strategies are mostly based on aggregate traffic, which leads to imbalanced utilization of links and affects the quality of service (QoS) adversely.

In this paper, we leverage SDN’s key benefits for reducing energy network consumption while realizing dynamic load balance with a few QoS constraints. To this end, a multiobjective op- timization problem (MOOP) is formulated that attempts to minimize power consumption and link utilization. With different capacities of switches and links, finding optimal configurations and deciding best paths, even for relatively small networks, become computationally challenging and is, in fact, an NP-hard problem. In this paper, we propose to employ the Clonal Selection Algorithm(CSA), a discrete, metaheuristic solution to find out optimal solutions for this MOOP, namely a Clonal Selection based Energy Minimization (CSEM). Simulations have been carried out for testing the efficacy of the proposed CSEM using real-life network topologies and link- traffic data. The results obtained by the proposed CSEM prove to be efficacious, and the same have also been validated with three different benchmark functions to test the suitability of SDN for CSA.

1. Introduction

With the ever-increasing number of connected devices over the Internet, massive volumes of data are getting gen- erated from a myriad of applications. This has led to network requirements being very stringent, and network control policies more demanding. Traditional network devices with the juxtaposed decision and forwarding planes prove in- capable of meeting the desired Quality of Service (QoS), particularly for real-time constrained applications [23,4].

Software-defined networking (SDN) provides a novel network architecture that sets apart the control and forward- ing planes[10]. The separation of the control plane from the forwarding plane makes the network programmable by configuring it based on the specific network requirements [9]. With the southbound based Application Programming Interface (API), called OpenFlow, the controller communicates with the forwarding devices as shown in Figure1 and thus collects huge statistics from the devices [11]. Aggregation of massive volumes of network statistics at the controller and delivering control decisions based on analytics carried out on such huge data necessitates complex so- lutions. This implies exploring a huge solution space across multiple objectives. The controller thus faces scalability issues while customizing the network based on the specific application requirements [8]. Evolutionary algorithms (EA) are stochastic techniques that draw inspiration from natural biological evolution and social behavior of species

Corresponding author

mir.wajahat.hussain@gmail.com(M.W. Hussain);buddhadebpradhan@gmail.com(B. Pradhan);xiao.z.gao@gmail.com (X.Z. Gao);khemant.reddy@gmail.com(K.H.K. Reddy);diptendu.sr@nitm.ac.in(D.S. Roy)

ORCID(s):

Preprint submitted to Elsevier Page 1 of 14

Jour

nal

Pr e-pr

oof

(3)

Figure 1: Overview of software defined network and the logical planes

to provide solutions to problems involving massive solution space explorations, multiple objectives, and adaptation to any unknown environment [13]. EAs tend to find near optimum or close to optimum solutions in a diverse set of solutions. EAs have addressed several issues in SDN, such as routing, security, controller placement[21]. A critical issue that arises in a network is how to lower the cost of running a network and improvement in link utilization that is over-provisioned and redundant [31]. Networks are designed to be unnecessary, viz., having more than one path to reach from source to destination. The average utilization of links inside the network tends to be low at around 30-50

%. The lowering of operating costs involved in a network can be done by designing an energy optimization algorithm which turns off links with lesser utilization by splitting the flows onto other links. The improvement in the link utiliza- tion needs to be taken care of since splitting the flows from underutilized links to other links might degrade the QoS of an application running inside the network. With heterogeneous capacities of switches and links, finding optimal configurations and deciding best paths, even for relatively small networks, become computationally challenging and is, in fact, an NP-hard problem. This implies that no polynomial-time solutions can be obtained for such a problem.

Hence, we have to try for heuristic solutions in this regard. Several researchers have focused on designing energy optimization algorithms and load balancing inside the network. Most of the works have addressed energy optimization and load balancing in the network separately [7,6,18]. Although a few among these have addressed load balancing and energy optimization together yet the same has remained a core issue. Earlier works have used multi-objective particle swarm optimization (PSO) while designing solutions [31,24,2] . However, PSO based solutions suffer from partial optimization incurred by a lack of regulation in particle speed and direction. For this particular problem, PSO is not suitable since it has to be discretized first, whereas CSA is inherently a discrete optimization method. Thus it is more suited for this problem. This paper addresses both energy-saving and load balancing in a network by formulating a multi-objective clonal selection algorithm (CSA)[15]. The key contributions of our paper are as follows:

• Formulate a multi-objective optimization problem with energy minimization and load balancing as objective functions and pertinent constraints.

• Since the said the multi-objective problem is NP-hard; hence a novel multi-objective CSA, namely Clonal Selec- tion based Energy Minimization (CSEM) for solving optimum power-consumption and link-utilization simulta- neously is introduced.

• Simulations under different scenarios and real networks’ traffic data are carried out to obtain results that are

Jour

nal

Pr e-pr

oof

(4)

Figure 2: Conceptual depiction of the contributions made in this paper

further to test the suitability through three standard benchmark functions.

Figure2depicts the main contributions of this paper at the conceptual junction point of existing problems and available technologies with the shaded box. For instance, the top circle denotes the fact that optimization problems exist in the literature for the two objective functions used in this paper. However, the bottom circle implies that due to CSA’s discrete nature, it is suitable for application for the said problem. The other two blue circles depict the originality of this work vis-a-vis the other two circles. We believe our work is the first to address energy and load balancing with the use of CSA. The proposed algorithm has shown its capability to work with multiple objectives. However, the problem was mainly targeted as an energy minimization problem satisfying QoS constraints, and the said idea has successfully been implemented through the proposed algorithm. Experiments conclude that the proposed CSA performs better with improved accuracy, and the results are validated by running several benchmark functions.

The rest of this paper is organized as follows. Section 2 presents related work from recent literature that has had motivated in this research. The proposed multi-objective optimization problem using CSA with the problem formu- lation has been discussed in Section 3. Section 4 discusses the solution methodology with the proposed algorithm.

Section 5 presents the simulation experiments and analyses the results obtained. Also, benchmark tests were carried out to test the validity of the proposed problem. Finally, section 6 concludes this paper.

2. Related Work

This section presents the state of the art of energy savings and load balancing in a network. The works have been organized as those related, PSO based optimizations, Load balancing, and energy optimization.

Applications in the network can be optimized for power efficiency by routing flows to minimize the number of activating links. Energy-saving techniques on IP networks primarily focus only on aggregating traffic onto fewer links, which, on the other hand, might impact the QoS of an application adversely. Zhu et al. [31] addressed energy-saving and load balancing in networks by taking help from the global cognizance and centralized control of the controller.

Several QoS constraints were taken care of by formulating a fundamental maximum concurrent flow problem with a multi-objective mixed-integer programming model. The proposed model established the Mixed Integer Linear Pro- gramming as an NP-Hard problem, and a multi-objective PSO was used to solve both power savings and link utilization

Jour

nal

Pr e-pr

oof

(5)

simultaneously. Subbiah et al. [24] proposed an energy-aware PSO routing algorithm. The algorithm reduced the path energy consumption by finding out the best node connectors in the switches from the source to the destination host.

Awad et al. [2] considered several practical constraints for a routing optimization problem for energy saving with a discrete link rate and limited flow table capacity. The proposed algorithm employed a low-complexity heuristic that operated over varied phases, namely, initialization, merging, constraints satisfaction, and termination.

A major issue encountered by today’s enterprises is excessively high expenses towards energy consumption by the networks owing to higher availability and the network architecture. SDN is regarded as a vital solution for reducing the overall use of energy in the network [20]. Energy efficiency can be addressed either algorithmically or by hardware design [1]. Heller et al. [7] devised a power management solution for data center networks. Their idea was to turn off switches and links with the amount of load in the network. The solution is a set of three optimizers: formal model, greedy bin-packing, and topology-aware heuristic. The formal model had an objective function and a set of constraints. Greedy bin-packing optimizer evaluates the possible paths, and topology-aware heuristic optimizer split the flow and found the subset of links. Giroire et al. [6] utilized a redundancy removal (RE) model, which minimized the energy consumption inside the network. Networks are usually redundant due to more than one path from source to destination, which increases reliability and degrades performance. Instead of repeatedly sending data through several routes, it is considered independent to send it along with a single link for increased throughput. This, in effect, reduces the load in links. The links are then subsequently turned off with no loads. The authors addressed the problem of finding the number of RE enabled routers required to satisfy QoS parameters and reducing energy simultaneously. Rui et al. [28] proposed a bandwidth aware energy efficient technique for the data center where traffic was divided into three categories, namely, active, queued, and suspended. The energy formulation of the entire network was captured by a linear programming based model. The objective function increases the number of occupation ratio of ports per switch while minimizing the number of active switches. Due to the limitation on the network resources to meet the QoS, a noteworthy point to consider is load balancing that strives to distribute data traffic among multiple resources to maximize network resources’ reliability and efficiency. Since the SDN controller has a global view of the whole network, it can produce optimized load balancers [18].

Ye et al. [29] proposed a resource-consumption model that describes switches and controllers as resource con- sumers and providers. Due to imbalanced demands among the resources (CPU, bandwidth, and memory) in the data plane, load migration is decided based on how the model can obtain load balancing are decided among the varied re- sources for maximizing resource utilization. Weng et al. [26] proposed a solution to the dynamic controller assignment problem (DCAP), which minimized the total cost incurred for response time and controller maintenance. The variation in the network conditions results in the forwarding nodes reassigning in a timely fashion with the help of an offline two-phase algorithm. Also, Weng et al. [27] proposed a greedy algorithm for switch migration based decision making (SMDM), which minimized the migration cost in three phases. The phasers are: monitoring load diversity in each controller, calculating the migration cost and migration efficiency, and finally preparing migration planes for migrat- ing switches to a controller having higher migration efficiency. Hu et al. [13] proposed a mechanism to address switch migration in multiple sub-domains SDN. Migrating switches are decided according to the selection probability, and intended controllers for the target are considered based on several costs (switch migration, controller state including data collection).

From the above research works, it is summarized that SDN’s energy minimization problem is still a challenging issue with respect to multi-objective formulation and soft computing techniques. Therefore, an attempt has been made to solve the issues by implementing an immune algorithm, namely the CSA(Clonal Selection Algorithm). The specific problem mainly focuses on the two issues: energy minimization of the networks and another is load balancing, which is elaborated in the next section.

3. Problem Formulation

Software-Defined Networking (SDN) offers the possibility to carry out a more direct control of network behavior and interact directly with the elements of the network. In this paper, optimizing the power consumption in SDN networks is addressed by looking for the most appropriate set of active switches and links, their associated rates, and the number of flow entries at each SDN switch. In this section, the research problem formulation is presented. Two important parts responsible for the power consumption of a switch are the chassis and line cards, and two-port line cards have been assumed in this paper. For a connection between two new links, the switch must turn on a new line card, and its chassis will be turned on if there is more than one link. There are many parameters involved in building

Jour

nal

Pr e-pr

oof

(6)

an energy model described in (1), and different notations are represented in Table 1. Our primary aim is to minimize energy consumption denoted by𝑃𝑡𝑜𝑡𝑎𝑙, and network load balancing𝑍 is another objective. The said two objectives are related to each other in that altering one affects the other. The main goal of load balancing is to minimize the maximum link utilization of a network. On the other hand, we have a plan to minimize energy. Now the simple idea is to implement load balancing in such a way so that we can minimize energy for the networks.

𝑃𝑡𝑜𝑡𝑎𝑙=∑𝑁

𝑖=1𝐶𝑡𝑜𝑡𝑎𝑙𝑆𝑖+∑𝑁

𝑖=1

[𝑁

𝑗=1

𝑘𝑖𝑗+𝑘𝑗𝑖 2

]

𝐿𝑡𝑜𝑡𝑎𝑙 (1)

The first and foremost objective is to minimize the total network power consumption in the network. The total power consumption in the network is the sum of the power consumed by the chassis when in on condition (𝐶𝑡𝑜𝑡𝑎𝑙) plus the energy consumed by the line card.

𝑀𝑖𝑛𝑖𝑚𝑖𝑧𝑒 (

𝑃𝑡𝑜𝑡𝑎𝑙, 𝑍)

(2) 𝑆𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜

Eq. (2) depicts that we have to minimize both the total energy consumed in the network as well as minimize link utilization. This equation handles the load balancing by minimizing the maximum link utilization in the network.

𝑁

𝑖=1𝑑𝑖𝑗𝑠𝑡−∑𝑁

𝑗=1𝑑𝑗𝑖𝑠𝑡=

⎧⎪

⎨⎪

𝛽𝑑𝑠𝑡𝑠, 𝑡, 𝑖=𝑠

𝛽𝑑𝑠𝑡𝑠, 𝑡, 𝑖=𝑡 0 ∀𝑠, 𝑡, 𝑖𝑠, 𝑡 ,

The constraints support the law of flow of conservation.𝛽is the upper limit of the passing rate that can be successfully fulfilled. To ensure QoS are met, the limit is no less than 80%.

𝑑𝑖𝑗 =∑𝑁

𝑠=1

𝑁

𝑡=1𝑑𝑠𝑡𝑖𝑗,𝑖, 𝑗,𝑠, 𝑡 (3)

Eq.(3) states that the flow routed in total on each link. The total capacity of the link is the sum of all the allocated capacities.

𝑑𝑖𝑗𝑍𝐶𝑖𝑗𝑘𝑖𝑗𝑖, 𝑗 (4)

Eq.(4) is the limiting constraint that means the total capacity of the link cannot exceed the maximum link utilization variable âĂŸZâĂŹ.

𝑁 𝑖=1

𝑁

𝑗=1𝑘𝑠𝑡𝑖𝑗𝑅𝑖𝑗𝐷𝑠𝑡,𝑖, 𝑗,𝑠, 𝑡 (5)

Eq.(5) ensures QoS are met and it states that the delay experienced in a link cannot exceed the total delay in the path.

𝑁

𝑗=1𝑅𝐻𝑖𝑗+∑𝑁

𝑖=1𝑅𝑅𝑗𝑖𝑀𝑆𝑖𝑖 (6)

Eq.(6) discusses about Chassis ID, and it states that the Chassis ID is to turned off if all the line cards are turned off.

𝑅𝑀𝑖𝑗𝑠𝑡𝐶𝑖𝑗𝑘𝑠𝑡𝑖𝑗,𝑖, 𝑗,𝑠, 𝑡 (7)

Eq.(7) demonstrates that the link is utilized only if the certain traffic demand is met.

𝑘𝑖𝑗∈ {0,1}, 𝑘𝑠𝑡𝑖𝑗∈ {0,1}, 𝑆𝑖 ∈ {0,1}, 𝐶𝑖𝑗>0, 𝑘𝑠𝑡𝑖𝑗>0, 𝑑𝑠𝑡>0

Jour

nal

Pr e-pr

oof

(7)

Table 1

List of symbols used in the optimization model Variables Meaning

𝑘𝑖𝑗 binary variable denoting link utilization 𝑘𝑠𝑡𝑖𝑗 1 binary variable under traffic demand 𝑆𝑖 binary variable denoting chassis power status

𝑃𝑡𝑜𝑡𝑎𝑙 Total network power consumption

𝐶𝑡𝑜𝑡𝑎𝑙 Chassis power consumption

𝐿𝑡𝑜𝑡𝑎𝑙 Line card power consumption

𝑑𝑠𝑡 Source and destination traffic demand 𝐷𝑠𝑡 Allowable delay constraint of traffic demand 𝐶𝑖𝑗 Capacity of link between i and j

Z Maximum link utilization in [0,1]

𝛽 Upper limit of passing rate of traffic demands, in [0,1]

𝑑𝑖𝑗𝑠𝑡 Allocated demand capacity between (i,j) within the scope of (s,t) 𝑑𝑖𝑗 Allocated capacity on link from i to j

𝐷𝑖𝑗 Link delay between i-j

4. Solution Methodology

In this section, we present the solution methodology for the mixed-integer linear programming problem as formu- lated in (1) along with the constraints presented in (2) to (7). As discussed before, as the network size increases, the number of switches and links increases. Hence, the combination of links for a feasible path also increases, thus finding the ’best’ path search intractable, the minimization problem being an NP-hard one.

Since there cannot be any polynomial-time solution hence some heuristic s used to be provided. In this paper, a bio-inspired meta-heuristic based on natural immune systems, namely the Clonal Selection Algorithm(CSA), has been employed. There have been other metaheuristics that have been applied in literature, such as PSO in [31]. Hence the choice of CSA over PSO is justified since CSA is a discrete solution that exactly fits this problem, unlike PSO, which is a continuous-valued scheme. In the following subsection, a brief introduction of CSA is provided.

4.1. Description of CSA

CSA is a nature-inspired metaheuristic which has gained its popularity since its inception in 2002 [5]. It has been employed to solve a wide variety of engineering optimizations ranging from load-dispatch problem, network intrusion detection, job scheduling problem etc.

CSA mimics the immunity systems of most vertebrates where vertebrates’ immune system constantly keeps vigil for identifying any intruders(pathogen) in its body [22]. In CSA, this functionality is executed by a detector that constantly improves its ability to detect new pathogens over time by iteratively running an affinity maturation scheme [25]. One such system is comprised of a number of such receptors,each receptor signifying a candidate solution [14,3].

The most fundamental step in applying CSA to any problem lies in defining receptor structure. Multiple such candidate solutions are generated as a set of initial solutions. R, initial population can be generated randomly by defining the mean and a distribution function or by more sophisticated heuristics [17]. Now with this set of initial candidates, a mechanism is employed for generating new solutions by means of an iterative evolution process and finally better solutions are retained at each iteration [16,12]. An affinity function(AF) is used to assess relative quality of solutions [30] and superior solutions are selected and the selected/shortlisted solutions is denoted as RH, which is in fact a sub set of R. CSA also defines mechanism for cloning elements of RH for expanding the set of candidate solutions and AF values of individual receptors can be employed to control the number of clones. CSA also allows defining mutation operations over RH to obtain a set of mutated receptors, RM.

Finally, CSA arrives at a set of optimal solutions by a AF driven selection of best candidate solutions over R, RR, RH and RM. The entire process continued in an iterative manner until termination criteria is arrived upon, which may be a static number of iterations or some fixed/minimum accuracy level.

Jour

nal

Pr e-pr

oof

(8)

4.2. Mapping the Energy Consumption Minimization problem to CSA

The process of clonal selection can be viewed as an affinity-induced random antibody mapping. Clones, in biolog- ical terms, refers to cells that bear a single, common ancestor and are in effect identical copies of each other. In CSA, the process of cloning is employed as an artificial immune system response. Antibodies are generated upon identify- ing a pathogen and in CSA, all antibodies are listed in decreasing order of their affinities. Superior antibodies (those with higher AF values) are cloned, replicated, mutated and finally reassessed for superiority again and this sequence is continued till iterations are terminated.

To map the energy consumption scenario with CSA, a few things need to be taken care of. As previously mentioned, the objective function is𝑃𝑡𝑜𝑡𝑎𝑙needs to be minimized. To formulate the same, chassis power consumption (𝐶𝑡𝑜𝑡𝑎𝑙) and source to destination(𝑑𝑠𝑡) route are the main focus. When traffic demands are high, power consumption will also increase. The same can be expressed in CSA. If𝑑𝑠𝑡and𝐶𝑡𝑜𝑡𝑎𝑙are assumed as antigen and antibody respectively, then it is intuitive that due to increase of𝑑𝑠𝑡, energy consumption𝑃𝑡𝑜𝑡𝑎𝑙will also be increased. To reduce the antigen level, superior antibodies need to be intelligently employed. In this problem formulation,𝐶𝑡𝑜𝑡𝑎𝑙is the parameter which can reduce𝑃𝑡𝑜𝑡𝑎𝑙. Hence, 𝐶𝑡𝑜𝑡𝑎𝑙 affects the AF by reducing antigen which is the main objective in this study. In next subsection, the parameter initialization and other constraints are discussed related to this mapping.

4.3. The proposed Clonal Selection based Energy Minimization (CSEM) Scheme

Four parameters namely: R, RH, RR, and RM are initialized at the beginning of the proposed scheme. Fifty iterations are considered in this study. After parameter initialization, parameter constraints like mutation probability, expected random number distributions are defined. Affinity values of the receptor and cloning number to the receptor are also initialized to start the mapping process. Details of parameter values set for the study are discussed in section 5. Antibody represents the variable vector whereas the optimization is denoted by antigen. Hence, the objective function’s fitness value is formulated as follows:

𝑂𝑏𝑗(𝐶𝑆𝐴) =∑4

𝑖=1

(𝑤𝑒𝑖𝑄𝑜𝑆𝑖) =𝜔𝑖

𝑛

𝑗=1𝑅𝑗+𝜔2Π𝑛𝑗=1𝑅𝐻𝑗+𝜔3

𝑛

𝑗=1𝑅𝑅𝑗+𝜔4

𝑛

𝑗=1𝑅𝑀𝑗 (8)

where𝑄𝑜𝑆𝑖 (i = 1,2,3,4) are the QoS attribute values (R, RH, RR, RM) of high-affinity respectively; n is the task number;𝑄𝑜𝑆𝑖𝑗 (i = 1; ... ; 4; j = 1; .... ;n) represents the𝑖𝑡ℎQoS attribute value of candidate service in the task j;

4

𝑖=1𝜔𝑖 = 1and0< 𝜔𝑖 <1Antibodies with higher affinity are more eminent; therefore, they should be reproduced more copies to sustain the superb properties of the antibody population. The following equation calculates the number of antibody cloning.

𝑛𝑢𝑚𝑏𝑡 =𝜎𝑃 𝑜𝑝𝑎𝑓𝑓𝑖𝑛𝑖𝑡𝑦𝑡

𝑃 𝑜𝑝

𝑡=1𝑎𝑓𝑓𝑖𝑛𝑖𝑡𝑦𝑡 (9)

where𝜎is a constant that an antibody population is multiple cloned and𝑎𝑓𝑓𝑖𝑛𝑖𝑡𝑦𝑡 =𝑂𝑏𝑗𝑡.𝜌𝑡+𝛿]−1is the Euclidean distance between the t-th composite service and the optimal service scheme found so far,𝛿 is a positive non-zero constant.𝜎𝑃 𝑜𝑝antibodies are cloned with Equation9on the basis of the present antibody population. The proposed algorithm has been presented in Algorithm1

5. Simulation Results & Discussions

The energy minimization and load balancing problem has been modeled in a multi-objective way in this paper. In this section, we have carried out simulation experiments to test the efficacy of the proposed algorithm over the multi- objective problem. Several QoS constraints are taken into account to fit with CSA. The network has been modeled by a directed graph𝐺𝑟= (𝑉𝑒, 𝐸𝑑), where𝑉𝑒denotes the set of nodes for switches, whereas𝐸𝑑is the notation for the set of links. In this network, switches take key roles as they are connected with servers, and traffic demands transmission is done via switches. The parameter setting and simulation environment for the said problem has been discussed in the

next subsection.

Jour

nal

Pr e-pr

oof

(9)

(a)

0 10 20 30 40 50

Iterations 10-4

10-3 10-2 10-1 100 101

Best f(x,y)

Minimization

F Best: 0 F Found: 0.00075001

(b) Figure 3: Minimal values of (𝑃𝑡𝑜𝑡𝑎𝑙, 𝑍) obtained using CSEM

5.1. Simulation Environment

To carry out the simulation experiments, required topology data and traffic demand information have been extracted from SDNLIB [19]. 8-port switches are used for the experiment, whereas the power of the chassis and line cards have been taken as 100W and 20W, respectively. The dataset extracted from the source was in .csv format and not properly fit with the MATLAB program. The main challenge was to map the dataset with the proposed algorithm as the used parameters were not the same. As there were a variety of data, so we have calculated mean and standard deviation to test the dataset’s variation after obtaining the min and max values. The entire calculation was required to check the suitability of the dataset, whether it will properly fit with the MATLAB program or not. The proposed CSEM algorithm is coded using MATLAB R2016b, and the developed Matlab code runs on an Intel Core i5-9300T with 4 GB memory running Windows 10. We have deployed CSA algorithms with the other three benchmark functions in the following subsections. The network scale assumed in this paper is 20%. The links and traffic data have been generated from SDNLIB.

5.2. Determination of Optimal Power Consumption

In this experiment, the structure of an energy optimization objective function was designed. The optimization process is performed using the final cloned Antibodies obtained using CSEM, the proposed algorithm in this paper.

Considering the proposed algorithm, it basically delves a computational deployment of the clonal-selection and affinity- maturation principles that describe the behavior of the B cells at the time of adaptive immune response. Figure 5 depicts the optimal solution determined by the CSEM algorithm, which harmonizes to the global-optimum after 50 generations. In simulation experiments, the population size has been taken𝑁= 100with𝑑= 0.1which corresponds 20% network traffic rate. Figure 5(b) represents the said discussion. Here, low-affinity individuals are replaced after completing 20 generations each. The affinity-measure correlates to evaluating the respective functions after decoding and (if applicable), as described above. Figure 5 presents a typical result produced by CSEM after 50 generations. It is envisioned that the solution reaches the minimization point after 50 iterations. However, there are stochastic steps in the algorithm, and the respective results are presented in Figure 5, not varying too much from one trial to another one.

We have compared the PSO algorithm [31] and the proposed CSEM for the SDNLIB dataset. It was found that our proposed CSEM performs 10-17% better. The running parameters adopted were: Population size(N)=100, Number of generations(gen) = 50, Mutation probability(𝑝𝑚)= 0.1, Proportion of clones(beta) = 0.1.

5.3. Validating the results obtained using standard Benchmark Functions

In this work, our aim was to apply Clonal Selection Algorithm. Since SDN applications problems are completely new to CSA, so it is essential to validate the proposed model otherwise obtained optimized solution might look infea- sible. Hence certain benchmark functions are used to cross examine the performances obtained. The performances are evaluated by comparing convergence to the optimum value and number of iterations required to obtain a solution to our problem. Three benchmark function optimization tasks were used to evaluate the CSA’s potential to perform validation of the algorithm. These combinatorial optimization functions were used to test the efficacy of CSA. The

Jour

nal

Pr e-pr

oof

(10)

(a)

0 10 20 30 40 50

Iterations -2.06

-2.05 -2.04 -2.03 -2.02 -2.01 -2 -1.99 -1.98 -1.97

Best f(x,y)

Minimization

F Best: 0 F Found: -2.0626

(b) Figure 4: Minimal values of (𝑃𝑡𝑜𝑡𝑎𝑙, 𝑍) using CSEM with Cross-in-Tray Function

(a)

0 10 20 30 40 50

Iterations 10-5

10-4 10-3 10-2 10-1 100 101 102

Best f(x,y)

Minimization

F Best: 0 F Found: 1.6876e-05

(b) Figure 5: Minimal values of (𝑃𝑡𝑜𝑡𝑎𝑙, 𝑍) using CSEM with Rosenbrock Function

three benchmark functions are Cross-in-Tray,Rosenbrock and De Jong’s respectively and the following subsections present the overview of them with respect to results obtained.

5.3.1. Cross-in-Tray Function

Cross-in-Tray function is continuous,not convex and multi-modal function and its objective function has been suc- cessfully minimized by CSA. Hence it is corroborated that multi-modal continuous function is fit for CSA algorithm.

Figure4delves the optimization results of Cross-in-Tray benchmark function where CSA algorithm applied success- fully.

𝑓(𝑥, 𝑦) = −0.0001(|𝑠𝑖𝑛(𝑥)𝑠𝑖𝑛(𝑦)𝑒𝑥𝑝(|100 −

𝑥2+𝑦2

𝜋 |)|+ 1)0.1 (10)

5.3.2. Rosenbrock Function

In this function, the parameters𝑎and𝑏are constants and are generally set to𝑎= 1and𝑏= 100. The function can be defined on any input domain but it is usually evaluated on𝑥𝑖∈ [−5,10]for𝑖= 1,∨̀‥, 𝑛.

𝑓(𝑥, 𝑦) =∑𝑛

𝑖=1[𝑏(𝑥𝑖+1

Jour

𝑥2𝑖)2+ (𝑎𝑥𝑖)2] (11)

nal

Pr e-pr

oof

(11)

(a)

0 10 20 30 40 50

Iterations 10-6

10-4 10-2 100 102

Best f(x,y)

Minimization

F Best: 0 F Found: 5.1966e-06

(b) Figure 6: Minimal values of (𝑃𝑡𝑜𝑡𝑎𝑙, 𝑍) using CSEM with De Jong’s function 1

Figure 7: Responses for Cross-in-Tray Function

5.3.3. De Jong’s function 1

The simplest test function is De Jong’s function 1. It is also known as sphere model. It is continuous, convex and unimodal with values set as follows: Search domain:[−5.12,5.12]and Global minimum:𝑓(𝑥) = 0|𝑥= (0, ...,0)

𝑓1(𝑥) =∑𝑛

𝑖=1𝑥2𝑖, 𝑖= 1 ∶𝑛,−5.12<=𝑥𝑖<= 5.12 (12)

5.4. Comparison with Genetic Algorithm

A comparison is made between the CSA and Genetic Algorithm(GA) to test the benchmark functions’ efficacy. For simulation experiments, all the problems have similar search space consisting of 200 columns and 40 rows of either 0 or 1 (i.e., as bits). Two parameters, namely: cloning rate and mutation rate, are changed for every iteration while testing the used benchmark functions for CSA and GA. The performances of two different approaches are visualized through Fig.7 to Fig.9 for each benchmark function.

Different mutation rates are practiced, while the simulation experiments were performed for CSA. On the other hand, both mutation and crossover operators are the main driving forces for GA. The cloning rate plays an important role in both algorithms. Normally, GA uses the Roulette Wheel Selection. However, in this study, different cloning rates are used rather than common Roulette Wheel Selection to get a higher probability of better fitness values in GA.

Three different cloning and mutation rates are enacted in CSA and GA. In CSA, four best affinity values are con- sidered and cloned with a pre-defined ratio. After that, antibodies are mutated with respective rates. The cloning rate determination is a tactful process where better matching antibodies are cloned heavily rather than weakly match- ing cloned antibodies. Similarly, the weakly matching antibodies need to mutate more, whereas the better matching

Jour

nal

Pr e-pr

oof

(12)

Figure 8: Responses for Rosenbrock Function

Figure 9: Responses for De Jong’s Function

antibodies are mutated less. The same technique is also applied to GA.

Jour

nal

Pr e-pr

oof

(13)

Algorithm 1Clonal Selection based Energy Minimization (CSEM) Set𝑃𝑠𝑖𝑧𝑒, 𝑆𝑠𝑖𝑧𝑒, 𝑀𝑟𝑎𝑡𝑒&𝑟𝑎𝑛𝑑𝑜𝑚(𝑀𝑎𝑥, 𝑀𝑖𝑛)

Set𝑁𝐸𝑠𝑖𝑧𝑒, 𝑁𝑛𝑜𝑑𝑒, 𝑁𝑙𝑖𝑛𝑘𝑟𝑎𝑛𝑑𝑜𝑚(𝑀𝑎𝑥1, 𝑀𝑖𝑛1) Set𝐶𝑖𝑗, 𝐿𝑡𝑜𝑡𝑎𝑙, 𝐷𝑖𝑗, 𝛽, 𝑍𝑟𝑎𝑛𝑑𝑜𝑚(𝑀𝑎𝑥2, 𝑀𝑖𝑛2) Step-1.Generate Flow Demand:

𝑐𝑜𝑢𝑛𝑡→0

𝑐𝑜𝑢𝑛𝑡 < 𝑁𝐹𝑑𝑒𝑚𝑎𝑛𝑑, Set𝐹𝐷𝐺𝑒𝑛𝑒𝑟𝑎𝑡𝑒𝐹 𝑙𝑜𝑤() Set𝐹𝐷𝐺𝑒𝑡_𝐹 𝑙𝑜𝑤() Next For

Step-2.Set𝑐𝑜𝑢𝑛𝑡→0, Step-3.Generate Poplulation : 𝑐𝑜𝑢𝑛𝑡 < 𝑃𝑠𝑖𝑧𝑒

Generate Antibodies:

𝑐𝑜𝑢𝑛𝑡1→0

𝑐𝑜𝑢𝑛𝑡1 < 𝑁𝐹𝑑𝑒𝑚𝑎𝑛𝑑,

𝑃 𝑂𝑃 𝐿𝑖𝑠𝑡.𝐴𝑑𝑑(𝐺𝑒𝑛𝑒𝑟𝑎𝑡𝑒_𝐴𝑛𝑡𝑖𝑏𝑜𝑑𝑦(𝑠, 𝑑, 𝑑𝑖𝑗𝑠𝑡)) Next For

Next For

Step-4.Calculate Affinity:

𝑐𝑜𝑢𝑛𝑡→0, 𝑇 𝑜𝑡𝐸 𝑐𝑜𝑢𝑛𝑡 < 𝑃𝑠𝑖𝑧𝑒

𝑇 𝑜𝑡𝐸=𝑇 𝑜𝑡𝐸+𝑃𝑡𝑜𝑡𝑎𝑙(𝑐𝑜𝑢𝑛𝑡, 𝑃 𝑜𝑃 𝐿𝑖𝑠𝑡) Next For

Step-5.Sorting Antibodies Starting from lower affinity;

𝑆𝑜𝑟𝑡_𝐿𝑖𝑠𝑡=𝑆𝑜𝑟𝑡(𝑃 𝑂𝑃 𝐿𝑖𝑠𝑡, 𝑃𝑠𝑖𝑧𝑒, 𝐴𝑠𝑐) Step-6.Clonal Selection with better Antibodies:

𝑐𝑜𝑢𝑛𝑡→0, 𝑃 𝑂𝑃 𝐿𝑖𝑠𝑡_𝐷𝑒𝑙𝑒𝑡𝑒𝐴𝑙𝑙() 𝑐𝑜𝑢𝑛𝑡 < 𝑆𝑠𝑖𝑧𝑒

𝑃 𝑂𝑃 𝐿𝑖𝑠𝑡.𝐴𝑑𝑑(𝑆𝑜𝑟𝑡_𝐿𝑖𝑠𝑡(𝑐𝑜𝑢𝑛𝑡)) Next For

Step-7.Hyper Mutate Antibodies:

𝑀𝑢𝑡𝑎𝑡𝑒(𝑃 𝑂𝑃 𝐿𝑖𝑠𝑡, 𝑀𝑟𝑎𝑡𝑒) Step-8.Calculate new Affinites : 𝑐𝑜𝑢𝑛𝑡→0, 𝑇 𝑜𝑡𝐸 →0,

𝑐𝑜𝑢𝑛𝑡𝑃𝑠𝑖𝑧𝑒

𝑇 𝑜𝑡𝐸=𝑇 𝑜𝑡𝐸+𝑃𝑡𝑜𝑡𝑎𝑙(𝑐𝑜𝑢𝑛𝑡, 𝑃 𝑂𝑃 𝑙𝑖𝑠𝑡) Next For

Repeat step-5 to 8 if, Minimum Error Criteria not Satisfied

Jour nal

Pr e-pr

oof

(14)

6. Conclusions

This paper presented a joint power consumption and load balancing in the SDN problem as a multi-objective op- timization problem that is, in effect, an NP-hard one. The two objectives have been optimized simultaneously by a CSA metaheuristic based CSEM solution. The results of this have been obtained using real-life SDN data from the SDNLIB dataset. The results have been compared to the same problem with the same dataset using another meta- heuristic, namely PSO, and the proposed CSEM was found to outperform the PSO in terms of energy saving by around 10 - 17 % on an average. Since previously, CSA has not been applied to such SDN problems, hence three benchmark- ing functions, namely, Cross-in-Tray, Rosenbrock, and De Jong’s function, have been used along with CSA a GA to ascertain that the obtained results can be substantiated with such tests. Although the scheme seems promising, yet in this work, the effect of different network topologies on the energy could not be ascertained since, in the SDNLIB dataset, it was difficult to find such information. In the future, the authors intend to develop a similar dataset with real-life test runs such that such a study can be carried out. Such work would go a long way in leveraging datacenter level energy optimization designs for next-generation networking.

References

[1] Assefa, B.G., Özkasap, Ö., 2019. A survey of energy efficiency in sdn: Software-based methods and optimization models. Journal of Network and Computer Applications 137, 127–143.

[2] Awad, M.K., El-Shafei, M., Dimitriou, T., Rafique, Y., Baidas, M., Alhusaini, A., 2017. Power-efficient routing for sdn with discrete link rates and size-limited flow tables: A tree-based particle swarm optimization approach. International Journal of Network Management 27, e1972.

[3] Benbouzid-SiTayeb, F., Bessedik, M., Keddar, M.R., Kiouche, A.E., 2019. An effective multi-objective hybrid immune algorithm for the frequency assignment problem. Applied Soft Computing 85, 105797. URL:http://www.sciencedirect.com/science/article/

pii/S1568494619305782, doi:https://doi.org/10.1016/j.asoc.2019.105797.

[4] Cui, L., Yu, F.R., Yan, Q., 2016. When big data meets software-defined networking: Sdn for big data and big data for sdn. IEEE Network 30, 58–65. doi:10.1109/MNET.2016.7389832.

[5] de Castro, L.N., Von Zuben, F.J., 2002. Learning and optimization using the clonal selection principle. IEEE Transactions on Evolutionary Computation 6, 239–251. doi:10.1109/TEVC.2002.1011539.

[6] Giroire, F., Moulierac, J., Phan, T.K., Roudaut, F., 2015. Minimization of network power consumption with redundancy elimination. Computer communications 59, 98–105.

[7] Heller, B., Seetharaman, S., Mahadevan, P., Yiakoumis, Y., Sharma, P., Banerjee, S., McKeown, N., 2010. Elastictree: Saving energy in data center networks., in: Nsdi, pp. 249–264.

[8] Hohlfeld, O., Kempf, J., Reisslein, M., Schmid, S., Shah, N., 2019. Scalability issues and solutions for software defined networks . [9] Hussain, M.W., Reddy, K.H.K., Roy, D.S., 2019. Resource aware execution of speculated tasks in hadoop with sdn. International Journal of

Advanced Science and Technology 28, 72–84. URL:http://sersc.org/journals/index.php/IJAST/article/view/1282/1032.

[10] Karakus, M., Durresi, A., 2017. A survey: Control plane scalability issues and approaches in software-defined networking (sdn). Computer Networks 112, 279 – 293. URL:http://www.sciencedirect.com/science/article/pii/S138912861630411X, doi:https://doi.

org/10.1016/j.comnet.2016.11.017.

[11] Kreutz, D., Ramos, F., Verissimo, P., Rothenberg, C.E., Azodolmolky, S., Uhlig, S., 2014. Software-defined networking: A comprehensive survey. arXiv preprint arXiv:1406.0440 .

[12] Li, L., Lin, Q., Liu, S., Gong, D., Coello, C.A.C., Ming, Z., 2019. A novel multi-objective immune algorithm with a decomposition- based clonal selection. Applied Soft Computing 81, 105490. URL: http://www.sciencedirect.com/science/article/pii/

S1568494619302601, doi:https://doi.org/10.1016/j.asoc.2019.105490.

[13] LIAO, L., Leung, V.C., LAI, C.F., 2017. Evolutionary algorithms in software defined networks: techniques, applications, and issues. ZTE Communications , 5.

[14] Liu, R., Zhang, X., Yang, N., Lei, Q., Jiao, L., 2012. Immunodomaince based clonal selection clustering algorithm. Applied Soft Computing 12, 302 – 312. URL:http://www.sciencedirect.com/science/article/pii/S1568494611003255, doi:https://doi.org/10.

1016/j.asoc.2011.08.042.

[15] Luo, W., Lin, X., 2017. Recent advances in clonal selection algorithms and applications, in: 2017 IEEE Symposium Series on Computational Intelligence (SSCI), pp. 1–8. doi:10.1109/SSCI.2017.8285340.

[16] Luo, W., Lin, X., Zhu, T., Xu, P., 2019. A clonal selection algorithm for dynamic multimodal function optimization. Swarm and Evolutionary Computation 50, 100459. URL:http://www.sciencedirect.com/science/article/pii/S2210650218300919, doi:https://doi.

org/10.1016/j.swevo.2018.10.010.

[17] Nalluri, M.S.R., Kannan, K., Gao, X.Z., Roy, D.S., 2019. An efficient hybrid meta-heuristic approach for cell formation problem. Soft Computing 23, 9189–9213. URL:https://doi.org/10.1007/s00500-019-03798-7, doi:10.1007/s00500-019-03798-7.

[18] Neghabi, A.A., Navimipour, N.J., Hosseinzadeh, M., Rezaee, A., 2018. Load balancing mechanisms in the software defined networks: a systematic and comprehensive review of the literature. IEEE Access 6, 14159–14178.

[19] Orlowski, S., WessÃďly, R., PiÃşro, M., Tomaszewski, A., 2010. Sndlib 1.0âĂŤsurvivable network design library. Net- works 55, 276–286. URL: https://onlinelibrary.wiley.com/doi/abs/10.1002/net.20371, doi:10.1002/net.20371, arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1002/net.20371.

Jour

nal

Pr e-pr

oof

(15)

[20] Rawat, D.B., Reddy, S.R., 2016. Software defined networking architecture, security and energy efficiency: A survey. IEEE Communications Surveys & Tutorials 19, 325–346.

[21] Ros, F.J., Ruiz, P.M., 2016. On reliable controller placements in software-defined networks. Computer Communications 77, 41 – 51. URL: http://www.sciencedirect.com/science/article/pii/S0140366415003424, doi:https://doi.org/10.1016/j.

comcom.2015.09.008.

[22] Shang, R., Du, B., Ma, H., Jiao, L., Xue, Y., Stolkin, R., 2016. Immune clonal algorithm based on directed evolution for multi-objective capacitated arc routing problem. Applied Soft Computing 49, 748 – 758. URL:http://www.sciencedirect.com/science/article/

pii/S1568494616304641, doi:https://doi.org/10.1016/j.asoc.2016.09.005.

[23] Sinha, Y., Haribabu, K., et al., 2017. A survey: Hybrid sdn. Journal of Network and Computer Applications 100, 35–55.

[24] Subbiah, S., Perumal, V., 2016. Energy-aware network resource allocation in sdn, in: 2016 International Conference on Wireless Communi- cations, Signal Processing and Networking (WiSPNET), IEEE. pp. 2071–2075.

[25] Timmis, J., Knight, T., de Castro, L.N., Hart, E., 2004. An Overview of Artificial Immune Systems. Springer Berlin Heidelberg, Berlin, Heidelberg. pp. 51–91. URL:https://doi.org/10.1007/978-3-662-06369-9_4, doi:10.1007/978-3-662-06369-9_4.

[26] Wang, C., Hu, B., Chen, S., Li, D., Liu, B., 2017a. A switch migration-based decision-making scheme for balancing load in sdn. IEEE Access 5, 4537–4544.

[27] Wang, T., Liu, F., Xu, H., 2017b. An efficient online algorithm for dynamic sdn controller assignment in data center networks. IEEE/ACM Transactions on Networking 25, 2788–2801.

[28] Xu, G., Dai, B., Huang, B., Yang, J., 2015. Bandwidth-aware energy efficient routing with sdn in data center networks, in: 2015 IEEE 17th International Conference on High Performance Computing and Communications, 2015 IEEE 7th International Symposium on Cyberspace Safety and Security, and 2015 IEEE 12th International Conference on Embedded Software and Systems, IEEE. pp. 766–771.

[29] Ye, X., Cheng, G., Luo, X., 2017. Maximizing sdn control resource utilization via switch migration. Computer Networks 126, 69–80.

[30] Zhang, Y., Luo, W., Zhang, Z., Li, B., Wang, X., 2008. A hardware/software partitioning algorithm based on artificial immune princi- ples. Applied Soft Computing 8, 383 – 391. URL:http://www.sciencedirect.com/science/article/pii/S1568494607000257, doi:https://doi.org/10.1016/j.asoc.2007.03.003.

[31] Zhu, R., Wang, H., Gao, Y., Yi, S., Zhu, F., 2015. Energy saving and load balancing for sdn based on multi-objective particle swarm optimization, in: International Conference on Algorithms and Architectures for Parallel Processing, Springer. pp. 176–189.

Jour

nal

Pr e-pr

oof

(16)

 Developing a multi-objective optimization problem for software defined network

 Applying Clonal Selection Algorithm (CSA) for solving the said optimization problem

 Validating the proposed solution with standard benchmark functions

Jour

nal

Pr e-pr

oof

(17)

preparation.

B Pradhan: Investigation, Data Curation, Methodology, Software, Writing- Original

draft preparation.

X Z Gao: Project administration, Supervision, Writing- Reviewing and Editing K H K Reddy: Conceptualization, Methodology, Validation

D S Roy: Conceptualization, Supervision, Project administration, Writing- Reviewing

and Editing

All the above descriptions are accurate and agreed by all authors.

Dr. Diptendu Sinha Roy (Corresponding Author)

Jour

nal

Pr e-pr

oof

(18)

√☐The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

√☐The authors declare the following financial interests/personal relationships which may be considered as potential competing interests:

Dr. Diptendu Sinha Roy Corresponding Author On behalf of all authors

Jour

nal

Pr e-pr

oof

Referências

Documentos relacionados

Resumo: Esse trabalho relata a experiência do projeto de construção da curadoria do Museo de La Coca, na Colômbia, tomando como base conceitos e ideias abordados no