# Genetic-based-Load-Balancing-Cloud-Computing
Abstract— Job scheduling is a very significant aspect of cloud computing. Different kinds of services are provided to the consumers within desirable throughput. A lot of optimization techniques emerged to enhance efficiency and reduce expenses. This paper provides an approach to an online mode heuristic algorithm named as ‘Genetic Algorithm’ and its comparison with the batch mode heuristic algorithms. Cloudsim is used to perform the simulation. The results of the simulation show that the Genetic algorithm performs well compared to First Come First Serve Algorithm, Round Robin Algorithm, and Shortest Job First algorithm.
Introduction
Cloud Computing is the on-demand delivery of computing resources such as servers, storage, databases, software, networking, analytics, and intelligence over the internet with a pay-per-use model. The users are charged based on their usage hence no additional payment for unused infrastructure. Various virtualization techniques are used for real-time information exchange [4].
There are a few most common Cloud deployments –
Public Cloud - In Public cloud, the services are owned and operated by third-party service providers. These services are shared by multiple organizations.
Private Cloud – Private cloud refers to resources used by a single organization or business. Services such as servers, networks, and data centers are completely dedicated to one organization.
Hybrid Cloud – This type of cloud combines the public and private cloud and allows the data to be shared among them. There are two approaches an organization can follow here –
Use the private cloud for some services and public cloud for others.
Use the public cloud as a backup of the private cloud.
It provides three types of service models –
Infrastructure as a Services (IaaS) - It provides services that include servers, networking, storage. It gives the highest extensibility and control over the management of computing resources. The flexible, innovative services are available on demand. It is similar to existing IT resources.
Platform as a Services (PaaS) - It is a service to the user that gives a platform to develop or test the application on the cloud. It removes the need for organizations to manage the underlying infrastructure. It reduces the complexity of middleware as a service.
Software as a Services (SaaS) - It is a method of delivering software applications over the internet on-demand and on a subscription basis. In this model, the user has not to think about how the service is maintained or how the underlying infrastructure is managed. The user should think only about how to use particular software. Everything else is managed and maintained by the service provider.
The demands of the cloud are increasing day-by-day. It has become difficult but necessary to provide the capability of handling the increasing requests. To maintain the efficacy of the performance, there should not be any difference in providing the services even after increasing the number of requirements [2].
Job scheduling is the principal activity of cloud computing. Job scheduling with increasing needs has become the concern of cloud computing since it is very important to provide effective service. It mainly aims to distribute the system load and improve system performance. Achieving a high computing execution, managing efficiency amid jobs, the most desirable system throughput, and reduced expense is the intent of scheduling jobs.
To achieve the goals stated above, it needs to allocate a specific job to a particular time and resource. There are two types of heuristic job scheduling algorithms in cloud computing which help provide optimization. Heuristic Algorithms find a solution among all possible options, although it does not guarantee that it is an optimal one –
Batch Mode Heuristic Scheduling Algorithm - The jobs are collected in a set and queued. The process of mapping of events begins in which jobs are mapped to a particular virtual machine at predefined time intervals.
Online Mode Heuristic Scheduling Algorithm - In this mode, whenever a job comes, the job scheduler assigns it to an available machine.
On a cloud, the speed of each processor varies quickly as per the load available at that instance. It is more feasible to apply online mode scheduling algorithm. We are using an online mode heuristic scheduling algorithm called as ‘Genetic Algorithm’.
A genetic algorithm is a search heuristic algorithm inspired by Charles Darwin’s theory of natural evolution [5]. It reflects a process of natural selection where the fittest individuals are selected to produce offspring of the next generation.
The process starts with the selection of fittest individuals from a population. They produce offspring which inherit the characteristics of parents. This offspring is added to the next generation. If parents have better fitness, then their offspring have a better chance of survival [10]. This process iterates until a generation with the fittest individuals is discovered [9]. We consider a set of solutions for a problem and select the set of best ones.
Initialization
The Genetic Algorithms require a population of n individuals to generate an optimal solution. Each individual is represented by a chromosome. From the n individual population, some individuals are selected based on some functions and operations are performed on them to find the fittest individual [3].
Fitness Function
This determines the productivity of individuals in the population. It represents the superiority and performance of one individual over the other. Low fitness value individuals are not selected for further operations. Fitness function is an important part of the Genetic Algorithm [3].
Selection
This is the process where the individuals are selected from the n individual’s population based on a strategy which can be tournament selection, roulette wheel, selection based on rank. This is an intermediate solution for the next generation.
Crossover
In this operation, two chromosomes are selected and divided into parts then they are combined in such a way that the first part of the first chromosome is combined with the latter part of the second chromosome and vice versa. This improves the searching mechanism in the Genetic algorithm [4].
Mutation
This operation is used after the crossover step. If the crossover is not able to generate the required diversity due to crossover between the same populations repeatedly and hence mutation operation is done to bring some variation in the population. Usually, the value of mutation is kept very low. This operation alters the gene value in the chromosome. This helps the Genetic Algorithm to produce even more optimal results [4].
Simulation
Simulation is a demand for cloud computing to behold the implementation of real-time outlines [7]. There are various tools available for it such as Cloudsim, CloudAnalyst, iCanCloud, GroudSim, NetworkSim, SPECI, and Cloud Report. We are using Cloudsim and CloudAnalyst in our project.
CloudSim
Cloudsim is a software which is used to perform modeling, simulation, and experiments in cloud computing services and infrastructures. "The tool is developed by Cloud Computing and Distributed Systems Laboratory at the University of Melbourne." We are using it to implement different job scheduling algorithms such as First Come First Serve algorithm, Round Robin algorithm, Shortest Job First algorithm, and Mainly Genetic algorithm. It can instantiate many data centers which consist of storage servers and physical host machines. These machines host multiple VMs executing several cloudlets. CloudSim can perform simulations of assigning and executing a workload on a cloud infrastructure [7].
Problem Definition
Suppose that there are m tasks T={t_1,t_2,,...,t_m
没有合适的资源?快使用搜索试试~ 我知道了~
基于遗传算法的负载平衡云计算_java_代码_下载
共90个文件
html:47个
class:15个
java:12个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 193 浏览量
2022-06-20
01:08:52
上传
评论 2
收藏 219KB ZIP 举报
温馨提示
仿真结果表明,与先来先服务算法、循环算法和最短作业优先算法相比,遗传算法表现良好。 作业调度是云计算的一个非常重要的方面。在期望的吞吐量内向消费者提供不同种类的服务。出现了许多优化技术来提高效率和减少开支。本文提供了一种名为“遗传算法”的在线模式启发式算法及其与批处理模式启发式算法的比较。Cloudsim 用于执行模拟。仿真结果表明,与先来先服务算法、循环算法和最短作业优先算法相比,遗传算法表现良好。 云计算是通过按使用付费的模式通过互联网按需交付计算资源,例如服务器、存储、数据库、软件、网络、分析和智能。用户根据使用情况收费,因此无需为未使用的基础设施支付额外费用。各种虚拟化技术用于实时信息交换[4]。 更多详情,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
Genetic-based-Load-Balancing-Cloud-Computing-master.zip (90个子文件)
Genetic-based-Load-Balancing-Cloud-Computing-master
build.xml 3KB
dist
javadoc
CloudSimExampleFCFS.html 9KB
package-list 1B
DatacenterBrokerSJF.html 50KB
deprecated-list.html 3KB
package-summary.html 7KB
package-frame.html 2KB
help-doc.html 8KB
allclasses-frame.html 2KB
class-use
CloudSimExampleFCFS.html 4KB
DatacenterBrokerSJF.html 4KB
CloudSimExampleGA.html 4KB
Gene.html 6KB
Chromosomes.html 4KB
DatacenterBroker1.html 4KB
GeneticAlgorithmCloud.html 4KB
DatacenterBrokerFCFS.html 4KB
DatacenterBrokerGA.html 4KB
DatacenterBrokerRR.html 4KB
CloudSimExampleRR.html 4KB
CloudSimExampleSJF.html 4KB
package-tree.html 5KB
index.html 3KB
allclasses-noframe.html 2KB
CloudSimExampleGA.html 9KB
Gene.html 10KB
stylesheet.css 13KB
constant-values.html 4KB
Chromosomes.html 10KB
DatacenterBroker1.html 50KB
GeneticAlgorithmCloud.html 9KB
DatacenterBrokerFCFS.html 13KB
index-files
index-10.html 22KB
index-7.html 6KB
index-11.html 5KB
index-1.html 5KB
index-8.html 12KB
index-9.html 5KB
index-6.html 5KB
index-5.html 17KB
index-3.html 10KB
index-2.html 13KB
index-4.html 5KB
index-12.html 9KB
DatacenterBrokerGA.html 51KB
DatacenterBrokerRR.html 12KB
package-use.html 4KB
CloudSimExampleRR.html 9KB
overview-tree.html 5KB
script.js 827B
CloudSimExampleSJF.html 9KB
manifest.mf 82B
src
GeneticAlgorithmCloud.java 14KB
DatacenterBrokerFCFS.java 2KB
DatacenterBrokerGA.java 42KB
DatacenterBroker1.java 18KB
CloudSimRR.java 10KB
CloudSimGA.java 10KB
CloudSimSJF.java 10KB
CloudSimFCFS.java 10KB
Gene.java 695B
Chromosomes.java 635B
DatacenterBrokerSJF.java 18KB
DatacenterBrokerRR.java 2KB
nbproject
build-impl.xml 77KB
private
private.xml 1KB
private.properties 107B
project.xml 514B
genfiles.properties 467B
project.properties 3KB
README.md 16KB
.gitattributes 66B
build
classes
DatacenterBrokerRR.class 3KB
Gene.class 950B
.netbeans_automatic_build 0B
CloudSimRR.class 8KB
.netbeans_update_resources 0B
DatacenterBrokerSJF.class 13KB
GeneticAlgorithmCloud.class 12KB
CloudSimFCFS.class 8KB
DatacenterBrokerFCFS.class 3KB
DatacenterBrokerGA.class 23KB
Chromosomes.class 1KB
org
cloudbus
cloudsim
DatacenterBrokerSJF.class 13KB
CloudSimSJF.class 8KB
CloudSimGA.class 8KB
DatacenterBroker1.class 12KB
DataenterBrokerSJF.class 532B
DatacenterBroker.class 6KB
built-jar.properties 103B
共 90 条
- 1
资源评论
- m0_662197022022-10-26资源不错,对我启发很大,获得了新的灵感,受益匪浅。
- kxm_lzu2024-03-06资源不错,很实用,内容全面,介绍详细,很好用,谢谢分享。
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 012c3c44c465a099108e0d8570b86a70.zip
- 基于Java和JavaWeb的网上商城项目设计源码 - myshopping
- 基于Vue和JavaScript的书城项目设计源码 - Demo12.18
- wp2787778-map-wallpaper.jpg
- 基于Javascript的杜王町打工人仓库管理系统设计源码 - 杜王町打工人的仓库
- 基于C#的报销材料合并工具设计源码 - 报账材料合并
- 基于Java的驾校一点通后端服务设计源码 - jiaxiaoServer
- 基于Java的实验室仪器设备管理系统后端设计源码 - houduan
- Screenshot_2024-05-29-01-03-40-499_com.tencent.mm.jpg
- 素材(美女、自拍)-.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功