paper_comparing_loadbalancing_algorithms
paper_comparing_loadbalancing_algorithms
9
International Journal of Computer Applications (0975 – 8887)
Volume 104 – No 17, October 2014
with the categorization of tasks to contain the fairness of the of the best policy among them and finding out one optimal
resources in matching process. The second constraint is to algorithm which is most profitable to the user as well as
define fair resource providence justified with some functions provider.
of the resource allocation.
2. ARCHITECTURE OF CLOUD
There are a number of simulation tools available in the market
such as CloudSim [10], GridSim [11], CloudReports [12] and ANALYST
CloudAnalyst [13]. Cloudsim and Gridsim are programming CloudAnalyst [13] a cloud simulation tool which takes apart
based simulation tools. One can make changes in these and the simulation, experimental set up exercise from a
get outputs of simulated values such as no. of VMs, DCs, programming exercise and enables a modeler to concentrate
PEs, MIPSs, BWs, etc. but due to the programming on the simulation parameters rather than the technicalities of
complexities it is hard to implement. In CloudLabs, programming. It also provides the facility of repeated and
Melbourne, Australia GUI based simulation tools quick experiments of simulations with different parameter
CloudReports and CloudAnalyst were developed. values in a very easy way. The advantage of the CloudAnalyst
CloudAnalyst is used in the current study to simulate the is the graphical output of the simulations which can be easily
internet based incoming cloudlets and applications flow. and efficiently analyzed by the users. It also helps to detect
any problem in simulation logic with the performance and
CloudAnalyst tool have three types of service broker policies accuracy.
namely Closest Data Center, Optimize Response Time and
Configure Dynamically with Load. In the advanced CloudAnalyst is a technique which extends its environment to
configuration, one can select any one of the given three Load study the behavior of large scaled Internet applications such
Balancing Policies namely Round Robin (RR), Equally as Facebook, Google Scholar, and other social sites in a cloud
Spread Current Execution Load (ESCEL) and Throttled. The computing environment. This simulation tool can also be
present work compares the load balancing policy in different extended with some novel approach of load balancing
service broker policy on one or more Data Centers with algorithms which could be tried to improve the behavior of
various configurations. The aim of this comparative study is simulation for large scaled. The CloudAnalyst is built by
to select the optimal service broker policy robustly tested on using the framework of CloudSim with some additional
different parameters. The impact of this work is in selection features. [13]
Fig 1: CloudAnalyst built on top of CloudSim Toolkits Fig 2: Graphical Output of Simulation with Colored Regions
10
International Journal of Computer Applications (0975 – 8887)
Volume 104 – No 17, October 2014
Maximum
Minimum
in cloud computing using Stochastic Hill Climbing approach
Average
Load Balancing Policy Across
(ms.)
(ms.)
(ms.)
and compared with the given load balancing policy in VM’s in a Single Data
CloudAnalyst. A comparative study is also done with Round Centers
Robin (RR) algorithm and First Come First Serve (FCFS) and
results are found to be encouraging.
Overall
In this paper, a comparison was done among given load Response 303.36 53.26 641.72
balancing policy and service broker policy with different Round Robin Time
configuration parameters. The analysis of the simulation result (RR) Data Center
can help to infer the best approach to calculate and select Processing 10.25 7.21 13.51
profitable vendors/ providers and in which regions one should Time
select to deploy for applications and data. Overall
Equally Spread Response 303.38 53.26 641.72
4. EXPERIMENTAL SETUP Current Time
This section presents the experiments and evaluations of three Execution Data Center
dynamic load-balancing policies for fixed set of parameters in Load (ESCEL) Processing 10.25 7.21 13.51
CloudAnalyst simulation tool. These experiments were Time
conducted on a Intel (R) Core (TM) i5-3210M CPU having Overall
configurations like : 2.50 GHz processor speed, 4 GB RAM, Response 303.33 53.26 641.72
64-bit OS Windows 7 Ultimate, JDK 1.7 and 500 GB HDD. Time
Simulation was set with One Data Center with two physical Throttled
Data Center
hardware units and six User Bases (UBs) with six different Processing 10.25 7.21 13.51
regions. VM policy is selected as TIME_SHARED with one Time
Data Center having five Virtual Machines. Simulation duration Data Transfer Total
was set to 60.0 in minutes (we can select hours and days also). Data Center VM Cost $
Cost $ Cost $
Advanced simulation configuration chosen as 100,000 users DC1 0.50 0.35 0.85
grouping factor in UBs and 100,000 request grouping factor
per Data Center. The power of DCs set as executable
Table 3. Simulation Result in Respect of Service Broker
instructions length 1000 Bytes per request. Internet
Policy: Reconfigure Dynamically with Load
characteristics configures as well as defined in the simulation
tool, there are specified Delay Matrix and Bandwidth Matrix
Maximum
Minimum
Average
Region by Region for six Regions.
(ms.)
(ms.)
(ms.)
Load Balancing Policy Across
Table 1. Simulation Result in Respect of Service Broker VM’s in a Single Data Centers
Policy: Closest Data Center
Maximum
Minimum
Overall
Average
(ms.)
(ms.)
(ms.)
11
International Journal of Computer Applications (0975 – 8887)
Volume 104 – No 17, October 2014
After simulation, one can see that Round Robin load policy is
producing best result in average case of overall Response
Time. If no. of DCs, no. of VMs, etc. are increasing then its
overall response time, data center processing time and costs Graph 2: Data Center Processing Time
also increases.
Case 2:
When selected service broker policy is “Optimize Response
Time”, it is producing same results for overall response time
(minimum/maximum) as well as for Data Center processing
time (average/minimum/maximum). It is generating same costs
of the VM and data transfer for all load balancing policies.
12
International Journal of Computer Applications (0975 – 8887)
Volume 104 – No 17, October 2014
[7] R. R.Buyya, R.Ranjan, Intercloud: Utility-oriented [11] Anthony Sulistio, Uros Cibej, Srikumar Venugopal,Borut
federation of cloud computing environments for scaling of Robic and Rajkumar Buyya, A toolkit for modelling and
application services, in: ICA3PP 2010, Part I, LNCS simulating Data Grids: An extension to GridSim,
6081, 2010, pp. 13–31. Concurrency And Computation: Practice And Experience,
0123; 34:1, Version: 2002/09/19 v2.02.
[8] Kapil Bakshi, Cisco Cloud Computing -Data Center
Strategy, Architecture, and Solutions , Point of View [12] B.Wickremasinghe, R.N.Calheiros, R. Buyya,
White Paper for U.S. Public Sector 1st Edition 2009 Cisco Cloudanalyst: A cloudsim-based visual modeller for
Systems, Inc. analysing cloud computing environments and
applications, in: Proceedings of the 24th International
[9] Peter Mell, Timothy Grance, The NIST Definition of Conference on Advanced Information Networking and
Cloud Computing, NIST Special Publication, 800- 145, Applications (AINA 2010), Perth, Australia, 2010.
September 2011.
[13] Bhathiya Wickremasinghe, “CloudAnalyst: A CloudSim-
[10] R.N.Calheiros, R. Ranjan, A. Beloglazov, C. Rose, R. based Tool for Modelling and Analysis of Large Scale
Buyya, Cloudsim: A toolkit for modeling and simulation Cloud Computing Environments” MEDC Project Report,
of cloud computing environments and evaluation of 2009, 44 p.
resource provisioning algorithms, in: Software: Practice
and Experience (SPE), Volume 41, Number 1, ISSN: [14] Brototi Mondal, Kousik Dasgupta, Paramartha Dutta,
0038-0644, Wiley Press, New York, USA., 2011, pp. 23– Load Balancing in Cloud Computing using Stochastic
50. Hill Climbing-A Soft Computing Approach. Procedia
Technology, vol. 4, pp.783-789, 2012.
IJCATM : www.ijcaonline.org
13