GSJ: VOLUME 6, ISSUE 6, August ISSN

Similar documents
A Survey on CloudSim Toolkit for Implementing Cloud Infrastructure

Computer Life (CPL) ISSN: Simulation and Implementation of Cloud Computing Based on CloudSim

Simulation of Cloud Computing Environments with CloudSim

Simulation of Cloud Computing Environment using CloudSim

Double Threshold Based Load Balancing Approach by Using VM Migration for the Cloud Computing Environment

Figure 1: Virtualization

Online Optimization of VM Deployment in IaaS Cloud

LOAD BALANCING ALGORITHM TO IMPROVE RESPONSE TIME ON CLOUD COMPUTING

CloudSim: A Toolkit for Modeling and Simulation of Cloud Computing Environments

A formal framework for the management of any digital resource in the cloud - Simulation

Load Balancing in Cloud Computing System

Association of Cloud Computing in IOT

Cloud Computing and the Cloud Simulation

An EMUSIM Technique and its Components in Cloud Computing- A Review

A Load Balancing Approach to Minimize the Resource Wastage in Cloud Computing

ENERGY EFFICIENT VIRTUAL MACHINE INTEGRATION IN CLOUD COMPUTING

Global Journal of Engineering Science and Research Management

STUDY THE EFFECT OF PARAMETERS TO LOAD BALANCING IN CLOUD COMPUTING

Chapter 5. Minimization of Average Completion Time and Waiting Time in Cloud Computing Environment

Efficient Technique for Allocation of Processing Elements to Virtual Machines in Cloud Environment

PriDynSim: A Simulator for Dynamic Priority Based I/O Scheduling for Cloud Applications

Elastic Resource Provisioning for Cloud Data Center

RIAL: Resource Intensity Aware Load Balancing in Clouds

Cloud Load Balancing Based on Ant Colony Optimization Algorithm

PriDynSim: A Simulator for Dynamic Priority Based I/O Scheduling for Cloud Applications

Efficient Task Scheduling Algorithms for Cloud Computing Environment

Cloud Computing and Service-Oriented Architectures

Chapter 3 Virtualization Model for Cloud Computing Environment

Energy Efficient Live Virtual Machine Provisioning at Cloud Data Centers - A Comparative Study

Experimental Model for Load Balancing in Cloud Computing Using Throttled Algorithm

Cloud Computing and Service-Oriented Architectures

Survey on Round Robin and Shortest Job First for Cloud Load Balancing

Traffic-aware Virtual Machine Placement without Power Consumption Increment in Cloud Data Center

CS 6393 Lecture 10. Cloud Computing. Prof. Ravi Sandhu Executive Director and Endowed Chair. April 12,

CloudSim. Cloud Simulation Toolkit

Introduction To Cloud Computing

A Process Scheduling Algorithm Based on Threshold for the Cloud Computing Environment

EFFICIENT VM ALLOCATION ALGORITHM IN CLOUD COMPUTING

A Simulation-Based Approach to Analyze CPU Debt in a Cloud

An Optimized Virtual Machine Migration Algorithm for Energy Efficient Data Centers

8. CONCLUSION AND FUTURE WORK. To address the formulated research issues, this thesis has achieved each of the objectives delineated in Chapter 1.

Cloud Computing An IT Paradigm Changer

CompTIA CV CompTIA Cloud+ Certification. Download Full Version :

Sky Computing on FutureGrid and Grid 5000 with Nimbus. Pierre Riteau Université de Rennes 1, IRISA INRIA Rennes Bretagne Atlantique Rennes, France

Dynamic Task Scheduling in Cloud Computing Based on the Availability Level of Resources

Energy - Efficient Scheduling for Cloud Computing Architectures

Automated Deployment of Private Cloud (EasyCloud)

Core of Cloud Computing

Keywords Cloud computing, virtualization, VM migrations, energy consumption, energy efficiency. Fig. 1 NIST Definition of Cloud Computing

Energy-Efficient Virtual Machine Allocation Technique Using Interior Search Algorithm for Cloud Datacenter

Keywords Cloud Computing, Service Level Agreements (SLA), CloudSim, Monitoring & Controlling SLA Agent, JADE

Modeling and Optimization of Resource Allocation in Cloud

Dynamic Virtual Cluster reconfiguration for efficient IaaS provisioning

AN IWRR METHOD BASED ON EFFICIENT LOAD BALANCING IN CLOUD COMPUTING

AN EFFICIENT ALLOCATION OF RESOURCES AT DATACENTERS USING HOD AND GSA

Available online at ScienceDirect. Procedia Computer Science 93 (2016 )

CES: A FRAMEWORK FOR EFFICIENT INFRASTRUCTURE UTILIZATION THROUGH CLOUD ELASTICITY AS A SERVICE (CES)

Department of Information Technology Sri Venkateshwara College of Engineering, Chennai, India. 1 2

Large Scale Sky Computing Applications with Nimbus

A Comparative Performance Analysis of Load Balancing Policies in Cloud Computing Using Cloud Analyst

CHAPTER 6 ENERGY AWARE SCHEDULING ALGORITHMS IN CLOUD ENVIRONMENT

A Study on Load Balancing in Cloud Computing * Parveen Kumar,* Er.Mandeep Kaur Guru kashi University, Talwandi Sabo

Self-Adaptive Consolidation of Virtual Machines For Energy-Efficiency in the Cloud

The End of Storage. Craig Nunes. HP Storage Marketing Worldwide Hewlett-Packard

Energy-Aware Dynamic Load Balancing of Virtual Machines (VMs) in Cloud Data Center with Adaptive Threshold (AT) based Migration

Cloud Computing introduction

Cloud Load Balancing using Round Robin and Shortest Cloudlet First Algorithms

PERFORMANCE CONSTRAINT AND POWER-AWARE ALLOCATION FOR USER REQUESTS IN VIRTUAL COMPUTING LAB

A Grouping based Scheduling Algorithm on Load Balancing in Cloud Computing

An Integration of Round Robin with Shortest Job First Algorithm for Cloud Computing Environment

Managed Platform for Adaptive Computing mpac

An Experimental Cloud Resource Broker System for Virtual Application Control with VM Allocation Scheme

A Review on Reliability Issues in Cloud Service

Setup Middleware as a Service using EM12c

A FRAMEWORK AND ALGORITHMS FOR ENERGY EFFICIENT CONTAINER CONSOLIDATION IN CLOUD DATA CENTERS

SURVEY PAPER ON CLOUD COMPUTING

CS6703 GRID AND CLOUD COMPUTING. Question Bank Unit-I. Introduction

Multi-Criteria Strategy for Job Scheduling and Resource Load Balancing in Cloud Computing Environment

Dynamic Resource Allocation on Virtual Machines

CHEM-E Process Automation and Information Systems: Applications

International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research)

Task Scheduling Algorithms with Multiple Factor in Cloud Computing Environment

Policy for Resource Allocation in Cloud Computing

Click to edit Master title style

NetApp HCI. Ready For Next. Enterprise-Scale Hyper Converged Infrastructure VMworld 2017 Content: Not for publication Gabriel Chapman: Sr. Mgr. - NetA

Fusion-based Load-aware Resource Allocation on Cloud Infrastructure

Migration to Cloud Computing: Roadmap for Success

CLOUD COMPUTING. Rajesh Kumar. DevOps Architect.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

A New Approach to Ant Colony to Load Balancing in Cloud Computing Environment

Automated Deployment of Private Cloud (EasyCloud)

LOAD BALANCING IN CLOUD COMPUTING USING A NOVEL MINIMUM MAKESPAN ALGORITHM

CHAPTER 6 STATISTICAL MODELING OF REAL WORLD CLOUD ENVIRONMENT FOR RELIABILITY AND ITS EFFECT ON ENERGY AND PERFORMANCE

LOAD BALANCING ALGORITHM IN TASK SCHEDULING PROCESS USING CLOUD COMPUTING

Comparative Analysis of Energy Efficiency in Adatacenter using DVFS with a Non-Power Aware Datacenter

Course Overview. ECE 1779 Introduction to Cloud Computing. Marking. Class Mechanics. Eyal de Lara

Module Day Topic. 1 Definition of Cloud Computing and its Basics

Storage CloudSim A Simulation Environment for Cloud Object Storage Infrastructures

IJSER. features of some popular technologies such as grid

International Journal of Computer & Organization Trends Volume5 Issue3 May to June 2015

Transcription:

GSJ: VOLUME 6, ISSUE 6, August 2018 211 Cloud Computing Simulation Using CloudSim Toolkits Md. Nadimul Islam Rajshahi University Of Engineering Technology,RUET-6204 Email: nadimruet09@gmail.com Abstract Cloud simulation aims to power the next generation data centers and enables application service providers to lease data center capabilities for deploying applications depending on user QoS (Quality of Service) requirements. Cloud Simulation applications have different composition, configuration, and deployment requirements. Quantifying the performance of resource allocation policies and application scheduling algorithms at finer details in Cloud computing environments for different application and service models under varying load, energy performance (power consumption, heat dissipation), and system size is a challenging problem to tackle. in this paper we propose CloudSimulation:an extensible simulation toolkit that enables modeling and simulation of various Cloud Simulation environments. The CloudSim toolkit supports modelling and creation of one or more virtual machines (VMs) on a simulated node of a Data Center, jobs, and their mapping to suitable VMs. It also allows simulation of multiple Data Centers to enable a study on federation and associated policies for migration of VMs for reliability and automatic scaling of applications between user and hosts due to cloudlet Keywords Cloud Computing Simulation, Data Center,VM Scheduler, Host. I. INTRODUCTION Cloud Simulation infrastructure is different from other (i.e., Grid) Computing. It is the massive deployment of Virtualization technologies and tools. Hence, as compared to Grid, Cloud has an extra layer as Virtualization, that acts as an execution and hosting environment for cloud-based application services. To secure data in cloud is really very tough job. To understand the cloud computing we need to first understand how these resources are placed in the cloud. Cloud Computing has basically two parts, the First part is of Client Side and the second part is of Server Side. The Client Side requests to the Servers and the Server responds to the Clients. The request from the client firstly goes to the Master Processor of the Server Side. The Master Processor have many Slave Processors, the master processor sends that request to any one of the Slave Processor which is free at that time. All Processors are busy in their assigned job and non of the Processor get Idle. Simulation opens the possibility to evaluate the hypothesis prior to actual software development in an environment where one can reproduce tests. Why we need simulation because it provides repeatable and controllable environment to test the services. It tune the system bottlenecks before deploying on real clouds. For simulation we need a special toolkit named CloudSim. It is basically a Library for Simulation of Cloud Computing Scenarios. It has some features such as it support for modeling and simulation of large scale Cloud Computing infrastructure, including data centers on a single physical computing node. It provides basic

GSJ: VOLUME 6, ISSUE 6, August 2018 212 classes for describing data centers, virtual machines, applications, users, computational resources, and policies. CloudSim supports VM Scheduling at two levels : First, at the host level where it is possible to specify how much of the overall processing power of each core in a host will be assigned at each VM. And the second, at the VM level, where the VMs assign specific amount of the available processing power to the individual task units that are hosted within its execution engine. Typical requirements and models of Cloud Computing are Platform (PaaS), Software (SaaS), Infrastructure (IaaS), Service-based application programming interface (API). It has some Characteristics such as Low Cost Software,Virtualization Service Orientation, Advance Security, Massive Scale, Resilient Computing, Geographic Distribution, Homogeneity, Broad Network Access, Rapid Elasticity, Resource Pooling etc. There are basically four deployment models, they are Private Cloud, Public Cloud, Community Cloud, and Hybrid Cloud. Even though Clouds make deployment of large scale applications easier and cheaper, it also creates new issues for developers.because Cloud infrastructures are distributed, applications can be deployed in different geographic locations, and the chosen distribution of the Quantifying impact of number of simultaneous users, geographic location of relevant components, and network in applications is hard to achieve in real testbeds, because of the presence of elements that cannot be predicted nor controlled by developers.therefore, other methodologies that allow quantification of such parameters must be used.to allow control and repeatability of experiments, simulators such as CloudSim are used. Simulation experiments apply models of both applications and infrastructures [7]. Cloud Infrastructure : In figure 1, we saw infrastructure of Cloud, in which Data Center consist of different Hosts and the Host manages the VM Scheduler and VMs.

GSJ: VOLUME 6, ISSUE 6, August 2018 213 Figure: 1 Cloudlet Scheduler determines how the available CPU resources of virtual machine are divided among Cloudlets. There are two types of policies are offered : 1] Space-Shared (Cloudlet Scheduler Space Shared) : To assign specific CPU cores to specific VMs. 2] Time-Shared (Cloudlet Scheduler Time Shared) : To dynamically distribute the capacity of a core among VMs.VmSchedular determines how many processing cores of a host are allocated to virtual machines and how many processing cores will be delegated to each VM. It also determine how much of the processing core s capacity will effectively be attributed for a given VM. In figure 2, we saw the life cycle of CloudSim. In this, there are different stages from where simulation have to pass each of the stage. CloudSim Life Cycle :

GSJ: VOLUME 6, ISSUE 6, August 2018 214 Figure : 2 Related work is discussed in section II. Experimental setup and Result is discussed in section III. And section IV gives conclusion. II. RELATED WORK David S. Linthicum [1] described about the basic information about the Cloud Computing and its various services and models like SaaS, IaaS, PaaS. He also described about the deploying models of Cloud Computing and Virtualization services. Michael Miller [2] described about the various web based application related to Cloud Computing.R.Bajaj and D.P. Agrawal [3] described about the Scheduling. They said Scheduling is a process of finding the efficient mapping of tasks to the suitable resources so that execution can be completed such as minimization of execution time as specified by customers. They described various types of Scheduling like Static, Dynamic, Centralized, Hierarchical, Distributed, Cooperative, NonCooperative Scheduling. They also described Scheduling problem in Cloud and the types of users like CCU ( Cloud Computing Customers) and CCSP ( Cloud Computing Service Providers). R.N. Calheiros, Rajiv Ranjan, Anton Beloglazov, C.A.F. De Rose, Rajkumar Buyya [4] described about the Simulation techniques and the CloudSim. They described the various features of CloudSim like it supports for modelling and simulation for large scale of cloud computing infrastructure including data centers on a single physical computing node. J. Li, M. Qiu, X. Qin [5] described about the optimization criterion that is used when

GSJ: VOLUME 6, ISSUE 6, August 2018 215 making scheduling decision and represents the goals of the scheduling process. The criterion is expressed by the value of objective function which allows us to measure the quality of computed solution and compare it with different solution. C.H.Hsu and T. L. Chen [6] described about the Quality of Service, that is the ability to provide different jobs and users, or to guarantee a certain level of performance to a job. If the QoS mechanism is supported it allows the user to specify desired performance for their jobs. In system with limited resources the QoS support results in additional cost which is related to the complexity of QoS requests and the efficiency of the scheduler when dealing with them. III. EXPERIMENTAL SETUP AND RESULT To evaluate the performance of Cloud, results were simulated in Window 7 basic (64-bit), i3 Processor, 370 M Processor, 2.40 GHz of speed with memory of 3 GB and the language used is Java. First code of Simulation is tested on one Data Center with one Host and run on one Cloudlet. Initialize the CloudSim Package : Int num_user = 1; //number of cloud users Calendar calendar = Calender.getInstance(); Boolean trace_flag = false; //mean trace events Initialize the CloudSim Library : CloudSim.init(num_user, calendar, trace_flag); Create Datacenters : These are the resource providers in CloudSim. We need at least one of them to run a CloudSim simulation. Datacenter datacenter0 = createdatacenter( Datacenter_0 ); Create Broker : DatacenterBroker broker = createbroker(); Int brokerid = broker.getid(); Create one Virtual machine : Vmlist = new ArrayList<Vm>(); VM description : Int vmid = 0; Int mips= 1000; Long size = 10000; //image size (MB)

GSJ: VOLUME 6, ISSUE 6, August 2018 216 Int ram = 512; //vm memory (MB) Long bw = 1000; Int pesnumber = 1; //number of cpu String vmm = Xen ; // VMM name Create VM : Vm vm = new Vm(vmid, brokerid, mips, pesnumber, ram, bw, size, vmm, new CloudletSchedulerTimeShared()); Add the VM to the vmlist : vmlist.add(vm1); Submit vm list to the broker : Broker.submitVmList(vmList); Creation of Cloudlets : cloudletlist = new ArrayList<Cloudlet>(); Cloudlet Properties : Int id = 0; PesNumber = 1; long length = 400000; long filesize = 300; long outputsize = 300; UtilizationModel utilizationmodel = new UtilizationModelFull(); Cloudlet cloudlet = new Cloudlet(id, length, pesnumber, filesize, outputsize, utilizationmodel, utilizationmodel1, utilizationmodel1); Cloudlet.setUserId(brokerId); Cloudlet.setVmId(vmid); Add the Cloudlets to the list : cloudletlist.add(cloudlet1); Submit cloudlet list to the broker : Broker.submitCloudletList(cloudLetList);

GSJ: VOLUME 6, ISSUE 6, August 2018 217 Start Simulation : CloudSim.startSimulation(); CloudSim.stopSimulation(); Final step : Print result when simulation is over List<Cloudlet> newlist = broker.getcloudletreceivedlist(); printcloudletlist(newlist); // Print the debt of each user to each datacenter Datacenter0.printDebts(); The output of this simulation is : ========== OUTPUT ========== Cloudlet ID STATUS Data center ID VM ID Time Start Time Finish Time 0 SUCCESS 2 0 400 0 400 *****PowerDatacenter: Datacenter_0***** User id Debt 3 35.6 After increasing the datacenter with two hosts and run two cloudlets on it. The cloudlets run in VMs with different MIPS requirements. The cloudlets will take different time to complete the execution depending on the requested VM performance. It prints the following output : ========== OUTPUT ========== Cloudlet ID STATUS Data center ID VM ID Time Start Time Finish Time 1 SUCCESS 2 1 80 0 80 0 SUCCESS 2 0 160 0 160 *****PowerDatacenter: Datacenter_0***** User id Debt 3 224.8

GSJ: VOLUME 6, ISSUE 6, August 2018 218 IV. CONCLUSIONS In this paper, we have proposed the codes for simulation. We see the various outputs in which the information about the Cloudlets, Status, Datacenter ID, Virtual Machine ID, Start Time, Finish Time is given. And by changing the number of Host, Datacenters and Cloudlets, we saw the difference. REFERENCES [1] David S. Linthicum Cloud Computing and SOA Convergence in your Enterprise, 2011. [2] Michael Miller, Cloud Computing Web Based Application 2012. [3] R. Bajaj and D.P. Agrawal, Improving Scheduling of Tasks in a Heterogeneous Environment, IEEE Transaction on parallel and Distributed Systems, p. 107-118, 2004. [4] R. N. Calheiros, Rajiv Ranjan, Anton Beloglazov, C.A.F. De Rose, Rajkumar Buyya, CloudSim: A toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms, Software Practice and Experience, Wiley publishers, 2010. [5] J.Li, M.Qiu, X.Qin, Feedback Dynamic Algorithms for Preemptable Job Scheduling in Cloud System, IEEE, 2010. [6] C.H.Hsu, T.L.Chen, Adaptive Scheduling based on QoS in Heterogeneous Environment, IEEE, 2010.