International Journal of Scientific Research in Science, Engineering and Technology
Print ISSN: 2395-1990 | Online ISSN : 2394-4099 (www.ijsrset.com)
doi : https://doi.org/10.32628/IJSRSET
Improved Scheduling Algorithm in Cloud Computing
*1
Varinder Saggar*1, Manoj Kumar Srivastava2
M. Tech (Scholar), CSE Depatment Desh Bhagat University, Mandi Gobindgarh, Punjab, India
2CSE Department, Desh Bhagat University, Mandi Gobindgarh, Punjab, India
ABSTRACT
Article Info
The current era of an emerging technology is cloud computing. It is internet
Volume 8, Issue 4
based computing, works as pay-per-use model and process large data. The cloud
Page Number: 156-161
Service provider goal is to manage resources efficiently, So, in cloud computing
the mechanism of Scheduling has an important function. The revised
Publication Issue :
scheduling technique is meant to improve the server performance and decrease
July-August-2021
the switching time to increase the use of resources. Different sorts of
scheduling algorithms have been studied and analysed in this research to
Article History
deliver efficient cloud services. The improved Scheduling algorithm prioritises
Accepted : 10 July 2021
the task, which improves computer performance and does my best possible
Published: 15 July2021
efforts to limit the duration and duration of waiting. A CloudSim tool is used to
simulate the suggested approach.
Keywords : Improved Scheduling algorithm, Cloud, Job Scheduling in Parallel,
Batch Workloads, Makespan.
I.
INTRODUCTION
The new technology is cloud. It has been recently
revealed that academics want to use cloud for
scientific activities, and also the huge companies are
converting to cloud. In order to perform duties
successfully, many sophisticated applications want to
processes in parallel. The use of CPU resources has
decreased
as
a
result of
communication
and
synchronization between the job processed in parallel.
The use of nodes while preserving the response level
simultaneous processes is important for a data centre.
Figure 1. Overview of Cloud Computing
A growing number of apps are being enticed to run in
distant data centers thanks to cloud computing. Many
Copyright: © the author(s), publisher and licensee Technoscience Academy. This is an open-access article distributed under the
terms of the Creative Commons Attribution Non-Commercial License, which permits unrestricted non-commercial use,
distribution, and reproduction in any medium, provided the original work is properly cited
156
Varinder Saggar et al Int J Sci Res Sci Eng Technol, July-August-2021, 8 (4) : 156-161
sophisticated applications need parallel processing.
•
Proper management of the resource.
When there is an increase in parallelism, certain
parallel programmes exhibit a drop in CPU resource
•
•
Reduces the time to complete (makespan)
Reduces period of expectation
use. If the tasks are not scheduled effectively, the
•
Reduce the time of switching
computer performance suffers.
The following is how rest of the work is organized:
Regarding
the
cloud
computing
scheduling
The relevant work in this topic is addressed in the
mechanism, several methods and protocols have been
literature review. The algorithm and proposed model
developed. However, only a few approaches for
are presented in the next section. Finally, with the
detecting
conclusion and future scope of the work in mind, we
the scheduling mechanism
in cloud
computing have been presented. Most writers include
concentrated on outcome analyses.
a frequent monitoring zone in their procedures that is
not a realistic reality. Because the clouds are dispersed
II. LITERATURE REVIEW
at random, the monitoring region is always irregular.
As a result, we present a method for scheduling jobs
Ke Liu [1] It created a one-of-a-kind compromised-
in cloud computing.
time-cost scheduling technique that takes into
account cloud computing characteristics in order to
For task processing, the majority of the writers use
handle instance-intensive cost-constrained processes
FCFS scheduling. It reduces resource use and server
by sacrificing execution time and cost with on-the-fly
use in this situation. I thus intend to use Backfilling to
user input. The simulation showed that the CTC
minimise the scope of the project to enhance the use
approach (compromised time cost) may produce
of the servers that are allocated to the work, to
reduced costs while still satisfying user needs.
enhance the use of the resource using Backfilling and
to distribute the shortest distance resources to a
Swin De WC is the tool for simulation (Swinburne
project to minimise latency. Few authors may perhaps
Decentralized Workflow for Cloud).
not place a high value on the procedure. In FCFS
Linlin Wu [2] Introduced a PSO technique for cloud
scheduling, processors process jobs by assigning them
planning
the same priority. As a result, the computer's
calculation and data transfer expenses It is used by
performance suffers. As a result, I arrange the task
changing the cost of communication and computation
with priority in mind. Some authors do not take into
in workflow applications. The cost reduction obtained
account the time spent waiting. As a result, the job's
by using PSO is compared with the traditional
time to completion lengthens. As a result, the
approach of 'Best Resource Selection.' According to
computer's performance suffers. Some writers propose
the findings, PSO save three time as much money
that the makespan be reduced by reducing the
then BRS while also providing superior work
waiting time, however, the timing of the resources
allocation.
shift is ignored. I thus think there is a better way to
minimise time and at the same time to lower the
Cui Lin, Shiyong Lu [3] It suggested a SHEFT
duration of the project. The major aim of the
workflow
improved scheduling algorithm suggested is:
scheduling
of
applications
scheduling
a
process
that
technique
on
a
includes
both
for
elastically
Cloud
computing
environment. SHEFT not only outperforms numerous
•
Improve the correct use of assigned servers .
sample workflow scheduling algorithms in terms of
•
To carry out the top priority activity.
reducing workflow execution time, but it also allows
International Journal of Scientific Research in Science, Engineering and Technology | www.ijsrset.com | Vol 8 | Issue 4
157
Varinder Saggar et al Int J Sci Res Sci Eng Technol, July-August-2021, 8 (4) : 156-161
resources
to
scale
elastically
during
runtime,
according to the results.
greater trust levels are chosen for specific scheduling.
Its mission is to increase, security, dependability and
efficiency.
Salim Bitam [4] used to optimise the distribution of
computing jobs among processing data in the cloud
R. Santhosh [7] proposes scheduling technique which
datacenters. This is an NP-Complete issue that aims
is novel that focuses on giving a solution for the
to distribute workloads among processing resources as
online problem of scheduling real-time jobs utilising
efficiently as feasible in order to reduce total work
the cloud computing "Infrastructure as a Service"
load and hence improve the overall efficacy of cloud
concept. The real-time tasks are planned ahead of
services. Work Scheduling seeks to distribute jobs to
time in order to maximise overall utility and
cloud datacenters in order to reduce the execution
efficiency. The goal is to reduce response time and
time (makes pan) of total job tasks.
increase work efficiency. When a job misses its
deadline, it is transferred to another virtual computer.
Abirami S.P and Shalini Ramanathan [5] Focus on
allocating resources among requestors in such a way
This boosts overall system performance while also
increasing total utility. The suggested approach
that the given QoS criteria are maximized. As the cost
outperforms the EDF and Non Preemptive scheduling
function, the QoS parameter was chosen. The
algorithms by a large margin.
scheduling concept encompasses both the jobs and
the
virtual machines that
The
El-Sayed T. El-kenawy[8] The effects of the RASA
scheduling strategy is predicated on the notion that
algorithm is used to develop a new algorithm in this
the initial answer to a request is provided only after
study. The improved Max-min algorithm selects based
collecting the resource for a specified period of time
on the predicted execution time rather than the total
but not allocating the resource as it occurs. In
duration. Petri nets are used to represent distributed
response to a statement for additional resources, the
systems' concurrent behaviour. Instead of RASA and
scheduler
original
may
execute
are available.
dynamically.
This
is
performed by re-evaluating the threshold value on a
Max-Min,
Max-min
displays
attaining
schedules with comparable reduced makespan.
regular basis. This scheduling mechanism, as well as
the dynamic threshold value computation in the
Xiaomin Zhua [9] The RTC and the AVC work
scheduler, takes both the job and the resource into
together to determine whether or not a coming job in
account. Regardless of hunger or deadlock situations,
the global queue can be allowed. The scheduler will
this enhances system throughput and resource usage..
assign a voltage level to the job after it has been
approved. Every cluster has a queue of accepted jobs
WeiWang [6] The Trust Model is based on the
waiting for the node. The local control system in
Bayesian trust evaluation model in trustworthy
every node attempts to save energy consumption by
scheduler, and the Schedule Advisor is based on
lowering voltage levels for permitted tasks..
Cloud-DLS. Sending queries to cloud nodes
determines the trust value. Every node maintains two
III. PROPOSED ALGORITHM
trust tables, one for implied trust and the other for
direct trust. The reliable values are generated from
The algorithm's pseudo code is as follows:
the queries sent between the nodes. The trust of a
Step 1: Consider switching Time Else if there is no
node represents its disposition/suitability to engage in
dependence between the jobs and resources.
cloud peer-to-peer activities. Then, nodes with
Sort and check for dependencies.
International Journal of Scientific Research in Science, Engineering and Technology | www.ijsrset.com | Vol 8 | Issue 4
158
Varinder Saggar et al Int J Sci Res Sci Eng Technol, July-August-2021, 8 (4) : 156-161
Step 2: Return Independent work is assigned to
propagation to optimize resource usage and higher
priority resources.
Step 3: Assign jobs with longer completion times to
higher processors, and so forth.
Step 4: To process the job in parallel, a multilevel
queue is built.
IV. METHODOLOGY
In cloud computing, the efficiency of the scheduling
mechanism is determined by how efficiently it
Figure 2. Dependencies in the jobs and resources
Step-2
manages processes and improves server and resource
performance. As we previously noted, the old
The server does not assign any priority to the tasks, as
scheduling technique has a number of flaws that must
this difficulty, we use priority as an additional option
be addressed in any way feasible in order to improve
efficiency.
In this part, we present a work scheduling technique
that optimises resource use by scheduling jobs
efficiently. There are four steps in the complete
process or technique.
Step-1
If there is no interdependence between occupations
and resources, we consider switching time since it is
more flexible and dependable. As a result, the jobs
might be handled in this way.
If not, evaluate the dependencies and put them in a
queue before moving on step two.
As a result, we take changeover time into account.
So, in order to schedule the jobs, we store them in the
following manner.
J2
J1
J3 // here J is Job
If there are any interdependencies between the jobs
we can see in the previous situation. To circumvent
to determine which work should be executed first.
Let's say we have a maximum priority of 1 and a
minimum priority of 5, and we want to allocate jobs
in a priority order to enhance server performance and
resource usage. To increase resource consumption, we
use the backfilling approach.
J i (j,k,l) //where J is job.
What is the location of
i= Job number j = necessary resource k = time
necessary to finish the job l = process priority
If there is reliance between resources or jobs, the
independent task should always take precedence over
the dependent task. As a result, the delay will be
reduced..
or resources, go straight on step 2. There is reliance
among the resources and employment, for example,
Step-3
in the diagram below. As a result, there is a risk of
which job should be assigned to which processor
stalemate and critical portions. To circumvent this,
we'll go for step 2.
After the jobs have been prioritised, the question of
arises. So, to figure out which job should be assigned
to which processor, I average the execution times of
all the jobs. Then look at the processor's processing
International Journal of Scientific Research in Science, Engineering and Technology | www.ijsrset.com | Vol 8 | Issue 4
159
Varinder Saggar et al Int J Sci Res Sci Eng Technol, July-August-2021, 8 (4) : 156-161
speed. The jobs are then assigned to the server or
higher processors. The next work with a shorter
processor . Let me give you an example.:
completion time will be assigned to the processor
after that. All of the positions are assigned in this
manner. All workloads are assigned to the processor
in this manner. As a result, all of the processors begin
processing in parallel.
Step-4
Then a multi-level queue is built for each processor to
store and process the parallel jobs.
Parallel Processing
Figure 3. The job allocation to the processor
There are three occupations depicted in the diagram
above: J1, J2, and J3. As a result, the average time
interval is 23.33 seconds. As a result, all of the tasks
must be completed. Following the prioritization of
jobs, the question of which tasks should be given to
which processor emerges. As a result, I average the
execution times of all the jobs to determine which
work should be given to which processor. Then have
a peek at the processor's speed. The processor, CPU,
or server is subsequently allocated the tasks. Consider
the following scenario: k in 25 seconds. As a result,
Figure 4. The parallel Processing
In the diagram above, one processor produces three
queues, each with its own scheduling method for
processing workloads. The processor then places the
jobs in the proper queue and processes them in
parallel when they come to the processor.
jobs with longer completion times are assigned to
Comparison Between Scheduling Algorithms
Scheduling
Algorithm
A
compromised
-Time-Cost
Scheduling
Algorithm
Scheduling
Type
Scheduling
Mode
Scheduling
Parameters
Scheduling
Factors
Findings
Tools
Dynamic
Batch mode
Cost and
Time
An array
of
workflow
instances
1. It's utilised to
save money and
time..
SwinDeW-C
International Journal of Scientific Research in Science, Engineering and Technology | www.ijsrset.com | Vol 8 | Issue 4
160
Varinder Saggar et al Int J Sci Res Sci Eng Technol, July-August-2021, 8 (4) : 156-161
A Particle
Swarm
Optimization
based
Heuristic for
Scheduling
Dynamic
Bees life
algorithm for
scheduling in
cloud
computing
Dynamic
Batch Mode
Cost, time
Set of tasks
1. It seeks to
Experiment
optimally
al Tests
redistribute the
burden between
processing
resources to
decrease the total
runtime.
2. It also enhances the
efficiency of all cloud
- based services.
Linear
Dynamic
scheduling for
task and
resource
Batch Mode
Priority threshold
value
Resource
package
1. It tries to increase
the use of resources,
system performance.
2. Improved cloud
resource performance.
Mode of
Dependency
Resource
utilization,
time
Group of
tasks
1.It can be utilised
three times as
much as BRS for
cost savings
2.It's used to ensure
that workload is
distributed evenly
among resources.
Amazon EC2
Nimbus
and
Cumulus
Services.
V. RESULT
This section describes the result obtained by experimentation of the algorithm using cloudSim
Figure 5. Makespan Time Comparision of ISA and other algorithm. 2.Line graph of ISA Algo
International Journal of Scientific Research in Science, Engineering and Technology | www.ijsrset.com | Vol 8 | Issue 4
262
Varinder Saggar et al Int J Sci Res Sci Eng Technol, July-August-2021, 8 (4) : 156-161
conferenceoncommunicationandinformationtech-
VI.CONCLUSION AND FUTURE SCOPE
nology, Feb 2012.
In the case of cloud computing, the scheduling
method is crucial. A scheduling method is essential
for improving server and resource use, as well as
increasing computer performance. As a result, a
improved scheduling mechanism or method for
scheduling jobs in the cloud is proposed in this paper.
This method is a very simple and novel method for
scheduling jobs that is also very efficient. This
Improved scheduling method is superior to other
[5]. Abirami S.P and Shalini Ramanathan, “ Linear
Scheduling Strategy for Resource Allocation in Cloud
Environment”,
InternationalJournalon
Cloud
Computing: Services and Architecture(IJCCSA),Vol.2,
No.1,February 2012.
[6]. Wei Wang, Guosun Zeng, Daizhong Tang, Jing Yao,
“Cloud-DLS: Dynamictrusted scheduling for Cloud
computing”, SciVerse ScienceDirect , Ex- pert Systems
withApplications 39, 2012.
[7]. R.
Santhosh,
T.
Ravichandran,
“Pre-emptive
proposed algorithms, or methods because it helps to
Scheduling ofOn-line RealTime ServiceswithTask
schedule the task and jobs in very efficient manner as
Migration
priority assign to the jobs with minimising the
Conference on Pattern Recognition, IEEE, Feburary
makespan. And also it increases resource utilisation
and server utilization.
2013.
The proposed method is straightforward and simple to
grasp. This study is the result of a tenacious effort on
my part to investigate various facets of the scheduling
process as well as detection. As it is depicted from the
for
Cloud
Computing”,
International
[8]. El-Sayed T. El-kenawy, Ali Ibraheem El-Desoky,
Mohamed F. Al-rahamawy “Extended Max-Min
Scheduling Using Petri Net and Load Balancing”
International Journal of Soft Computing and Engineering (IJSCE) ISSN: 2231-2307, Volume-2, Issue-4,
September 2012.
[9]. Xiaomin Zhua, Chuan Hea, Kenli Li, Xiao Qin,
“Adaptive energy-efficient scheduling for realtime
line graph.
tasks
on
DVS-enabled
heterogeneous
clusters”,
J.Parallel Distrib. Comput, SciVerse ScienceDirect,
VII. REFERENCES
2012, Elsevier Inc.
[1]. K. Liu; Y. Yang; J. Chen, X. Liu; D. Yuan; H. Jin, “A
Compromised-Time- Cost Scheduling Algorithm in
SwinDeW-C for Instance-intensive Cost- Constrained
Workflows
on
Cloud
Computing
Plat-
[10]. Anish Das Sarma, Christopher Olston,Xiaodan Wang,
Randal Burns : CoScan: Cooperative Scan Sharing in
the Cloud.
form”,
International Journal of High Performance Computing
Applications, vol.24, May,2010, Page no.4 445 456.
[2]. Suraj Pandey1; LinlinWu1; Siddeswara Mayura Guru;
Cite this article as :
Rajkumar Buyya, “A Particle Swarm Opti- mization-
Varinder Saggar, Manoj Kumar Srivastava, " Improved
based
Scheduling
Heuristic
for
Scheduling
Workflow
Algorithm
in
Cloud
Computing",
Applications in Cloud Computing Environments” 24th
International Journal of Scientific Research in Science,
IEEE
Engineering and Technology (IJSRSET), Online ISSN :
International
Conference
onAdvanced
Information Networking and Applications, 2010.
[3]. Cui Lin, Shiyong Lu, “Scheduling ScientificWorkflows
Elasticallyfor
Cloud
Comput-
ing”
inIEEE
4th
International Conferenceon Cloud Computing, 2011.
2394-4099, Print ISSN : 2395-1990, Volume 8 Issue 4,
pp. 156-161, July-August 2021.
Journal URL : https://ijsrset.com/IJSRSET21827
[4]. Salim Bitam, “Bees LifeAlgorithm for Job Sched- uling
in Cloud
Computing,”
in second
international
International Journal of Scientific Research in Science, Engineering and Technology | www.ijsrset.com | Vol 8 | Issue 4
261