Download presentation
Presentation is loading. Please wait.
Published byDrusilla York Modified over 6 years ago
1
Load Balancing and It’s Related Works in Cloud Computing
Ranjan Kumar Mondal Under the Supervision of Debabrata sarddar Assistant Professor, Dept. of CSE, University of Kalyani Department of Computer Science and Engineering August 10, 2015 Cloud Computing is a concept of distributed computing in which one has the ability to run an application on many connected systems at the same time. In a cloud based environment, where requests for services and platforms can be arrived at variable time periods, so it is necessary to balance the load on the systems.
2
Introduction A process of distributing processing.
It is important for networks. Busy web sites typically employ two or more web servers in a load balancing scheme. If one server starts to get swamped, requests are forwarded to another server with more capacity. Load balancing is the process of reassigning the total load to the individual nodes of the collective system to make effective resource utilization and to improve the response time of the jobs, simultaneously removing a condition in which some of the nodes are over loaded while some others are under loaded. where it is difficult to predict the number of requests that will be issued to a server.
3
The Goals of Load Balancing:
To increase the performance significantly. To have a backup facility if the system fails even partially. To preserve the system constancy. To provide stability against changes to the system. Thus load balancing aims at optimizing resource use, maximize throughput, minimize response time and avoid overloading of any one of the resources. . Efficient algorithms are thus needed to ensure the even distribution of load on servers.
4
Kinds of Load Balance Algorithms
Static load balancing: It doesn’t depend around the previous state of system. Dynamic load balancing : Decisions on load balancing depend on previous state of your system. A static load balancing algorithm does not take into account the previous state or behavior of a node while distributing the load. On the other hand, a dynamic load balancing algorithm checks the previous state of a node while distributing the load.
5
Round Robin Load Balancing
It selects the first node randomly Processors are assigned to each process in a circular order without any sort of priority. Samal et al. "Analysis of variants in Round Robin Algorithms for load balancing in Cloud Computing." International Journal of computer science and Information Technologies 4.3 (2013): This algorithm uses the round robin scheme for allocating jobs. It selects the first node randomly and then, allocates jobs to all other nodes in a round robin fashion. Processors are assigned to each process in a circular order without any sort of priority.
6
Opportunistic Load Balancing
Attempts to keep each node busy. Dispatches unexecuted tasks to currently available nodes in random order, Provides load balance schedule but it results in very poor make-span. Younis at el. "Efficient Load Balancing Algorithm in Cloud Computing." (2015). This algorithm attempts to keep each node busy. Therefore it does not consider the present workload of each computer. OLB dispatches unexecuted tasks to currently available nodes in random order, regardless of the node’s current workload. Each job is assigned to the node in an arbitrary order.
7
Min Min Load Balancing To begin with a set of all unassigned tasks.
The minimum value is selected This algorithm achieves better performance. This approach has a drawback that is, it can lead to starvation. Min-Min algorithm starts with a set of all unmapped tasks. The machine that has the minimum completion time for all jobs is selected. Then the job with the overall minimum completion time is selected and mapped to that resource. The ready time of the resource is updated. This process is repeated until all the unmapped tasks are assigned. Compared to MCT this algorithm considers all jobs at a time. So it produces a better makespan. Kokilavani at el. “Load Balanced Min-Min Algorithm for Static Meta-Task Scheduling in Grid Computing”, International Journal of Computer Applications (0975 –8887) Volume 20– No.2, April 2011.
8
Example: Execution Time of Tasks Tasks R1 R2 T1 7 2 T2 11 3 T3 12 T4 6
9
Max Min Load Balancing Max Min is similar to the Min Min algorithm
The maximum value is selected The idea of this algorithm is to reduce the wait time of the large jobs. Max-Min is similar to Min-Min algorithm. The machine that has the minimum completion time for all jobs is selected. Then the job with the overall maximum completion time is selected and mapped to that resource. The ready time of the resource is updated. This process is repeated until all the unmapped tasks are assigned. The idea of this algorithm is to reduce the wait time of the large jobs. Bhoi et al. “Enhanced Max-min Task Scheduling Algorithm in Cloud Computing” International Journal of Application or Innovation in Engineering & Management (IJAIEM), Volume 2, Issue 4, April 2013.
10
Example Completion time of the tasks on each of the resources
Task / Resource R1 R2 T1 2 6 T2 1 3 T3 8 T4 4
11
LBMM The algorithm starts by executing the steps in Min-Min strategy first. It first identifies the task having minimum execution time and the resource producing it. Thus the task with minimum execution time is scheduled first in Min-Min. It considers the minimum completion time since some resources are scheduled with some tasks. Since Min-Min chooses the smallest tasks first it loads the fast executing resource more which leaves the other resources idle. To produce a good makespan compared to other algorithms. Kokilavani et al. "Load balanced min-min algorithm for static meta-task scheduling in grid computing." International Journal of Computer Applications 20.2 (2011): Our proposed grid scheduling algorithm, LBMM, is presented in Figure 1. The algorithm starts by executing the steps in Min-Min strategy first. It first identifies the task having minimum execution time and the resource producing it. Thus the task with minimum execution time is scheduled first in Min-Min. After that it considers the minimum completion time since some resources are scheduled with some tasks. Since Min-Min chooses the smallest tasks first it loads the fast executing resource more which leaves the other resources idle. But it is simple and produces a good makespan compared to other algorithms.
12
Example: Tasks R1 R2 T1 7 2 T2 11 3 T3 12 T4 6
13
Two-phase scheduling It is just a Three-level Cloud Computing Network environment. Uses Opportunistic Load Balancing to keep each node busy and uses Load Balance Min-Min to achieve the minimum execution time of every task. Efficient usage of resources. Enhances work efficiency Wang et al, “Towards a Load Balancing in a Three-level Cloud Computing Network”, Proceedings of the 3rd IEEE International Conference on Computer Science and Information Technology (ICCSIT), Chengdu, China, September 2010, pages
14
Example: EXECUTION TIME OF EACH SUBTASK WITHIN TASK AAT
DIFFERENT SERVICE NODE BEFORE DISPATCHING (FIRST)
15
Active Clustering Working on the principle of grouping similar nodes together and working on these groups. A node initiates the process and selects another node from its neighbors. The matchmaker node forms a connection between one of its neighbors. Performs better with high resources. Utilizes the increased system resources to improve throughput. Eriksson et al. "Active clustering: Robust and efficient hierarchical clustering using adaptively selected similarities." arXiv preprint arXiv: (2011). Active Clustering works on the principle of grouping similar nodes together and working on these groups. A node initiates the process and selects another node called the matchmaker node from its neighbors satisfying the criteria that it should be of a different type than the former one. The so called matchmaker node then forms a connection between one of its neighbors which is of the same type as the initial node. The matchmaker node then detaches the connection between itself and the initial node. The above set of processes is followed iteratively. It is really a large scale Cloud systems environment. Optimizes job assignment by connecting similar services by local re-wiring. Performs better with high resources. Utilizes the increased system resources to improve throughput. Degrades as system diversity increases.
16
Conclusion Load balancing in the cloud computing environment is required to distribute the excess workload to all the nodes in the Cloud to achieve better resource utilization and ensure that every computing resource is distributed efficiently and fairly. Some of the existing Load Balancing techniques have been discussed in this paper. The load balancing algorithms were first classified as static and dynamic. Various algorithms under each class along with their variations were also studied.
17
References Samal, Pooja, and Pranati Mishra. "Analysis of variants in Round Robin Algorithms for load balancing in Cloud Computing." International Journal of computer science and Information Technologies 4.3 (2013): Younis, Hafiz Jabr, Supervised By, and Alaa El Halees. "Efficient Load Balancing Algorithm in Cloud Computing." (2015). Kokilavani, T., and Dr DI George Amalarethinam. "Load balanced min-min algorithm for static meta-task scheduling in grid computing." International Journal of Computer Applications 20.2 (2011): Bhoi, Upendra, and Purvi N. Ramanuj. "Enhanced Max-min task scheduling algorithm in cloud computing." International Journal of Application or Innovation in Engineering and Management (IJAIEM) (2013): Wang, Shu-Ching, et al. "Towards a load balancing in a three-level cloud computing network." Computer Science and Information Technology (ICCSIT), rd IEEE International Conference on. Vol. 1. IEEE, 2010. Eriksson, Brian, et al. "Active clustering: Robust and efficient hierarchical clustering using adaptively selected similarities." arXiv preprint arXiv: (2011).
18
Thank You…
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.