Implementing Parameterized Dynamic Load Balancing Algorithm Using CPU and Memory



Similar documents
Load balancing in Computer using FCFS algorithm

Various Schemes of Load Balancing in Distributed Systems- A Review

A Comparative Performance Analysis of Load Balancing Algorithms in Distributed System using Qualitative Parameters

Keywords Load balancing, Dispatcher, Distributed Cluster Server, Static Load balancing, Dynamic Load balancing.

High Performance Cluster Support for NLB on Window

Load Balancing Algorithms for Peer to Peer and Client Server Distributed Environments

A Clustered Approach for Load Balancing in Distributed Systems

Fair Scheduling Algorithm with Dynamic Load Balancing Using In Grid Computing

Comparative Study of Load Balancing Algorithms

Dynamic Adaptive Feedback of Load Balancing Strategy

Proposal of Dynamic Load Balancing Algorithm in Grid System

Grid Computing Approach for Dynamic Load Balancing

Introduction To Application Server Load Balancer Ankush P. Deshmukh

Performance Analysis of Load Balancing Algorithms in Distributed System

Comparison on Different Load Balancing Algorithms of Peer to Peer Networks

A Survey Of Various Load Balancing Algorithms In Cloud Computing

A REVIEW PAPER ON LOAD BALANCING AMONG VIRTUAL SERVERS IN CLOUD COMPUTING USING CAT SWARM OPTIMIZATION

Development of Software Dispatcher Based. for Heterogeneous. Cluster Based Web Systems

A Survey on Load Balancing and Scheduling in Cloud Computing

Real Time Network Server Monitoring using Smartphone with Dynamic Load Balancing

Efficient DNS based Load Balancing for Bursty Web Application Traffic

An Approach to Load Balancing In Cloud Computing

Load Balancing of Web Server System Using Service Queue Length

Abstract. 1. Introduction

ADAPTIVE LOAD BALANCING FOR CLUSTER USING CONTENT AWARENESS WITH TRAFFIC MONITORING Archana Nigam, Tejprakash Singh, Anuj Tiwari, Ankita Singhal

Load Balancing Scheduling with Shortest Load First

Load Balancing in Cloud Computing using Observer's Algorithm with Dynamic Weight Table

Load Balancing for Improved Quality of Service in the Cloud

A SURVEY ON LOAD BALANCING ALGORITHMS FOR CLOUD COMPUTING

A Comparative Study of Load Balancing Algorithms in Cloud Computing

A Comparative Survey on Various Load Balancing Techniques in Cloud Computing

Back-End Forwarding Scheme in Server Load Balancing using Client Virtualization

The International Journal Of Science & Technoledge (ISSN X)

Comparison of PBRR Scheduling Algorithm with Round Robin and Heuristic Priority Scheduling Algorithm in Virtual Cloud Environment

A Study on the Application of Existing Load Balancing Algorithms for Large, Dynamic, Heterogeneous Distributed Systems

Identifying More Efficient Ways of Load balancing the Web (http) Requests.

Public Cloud Partition Balancing and the Game Theory

Dynamic Round Robin for Load Balancing in a Cloud Computing

A Load Balancing Algorithm based on the Variation Trend of Entropy in Homogeneous Cluster

Load Balancing in cloud computing

IMPROVEMENT OF RESPONSE TIME OF LOAD BALANCING ALGORITHM IN CLOUD ENVIROMENT

CDBMS Physical Layer issue: Load Balancing

Fault-Tolerant Framework for Load Balancing System

Keywords Load Balancing, Migration, Priority, Scheduling, Hosts.

Group Based Load Balancing Algorithm in Cloud Computing Virtualization

A Review on Load Balancing In Cloud Computing 1

Keywords Distributed Computing, On Demand Resources, Cloud Computing, Virtualization, Server Consolidation, Load Balancing

OPTIMIZATION OF WEB SERVER THROUGH A DOMAIN NAME SYSTEM APPROACH

LOAD BALANCING IN CLOUD COMPUTING USING PARTITIONING METHOD

A Classification of Job Scheduling Algorithms for Balancing Load on Web Servers

Cost Effective Selection of Data Center in Cloud Environment

Sla Aware Load Balancing Algorithm Using Join-Idle Queue for Virtual Machines in Cloud Computing

SCHEDULING IN CLOUD COMPUTING

Improved Hybrid Dynamic Load Balancing Algorithm for Distributed Environment

Survey of Load Balancing Techniques in Cloud Computing

2 Prof, Dept of CSE, Institute of Aeronautical Engineering, Hyderabad, Andhrapradesh, India,

SHIV SHAKTI International Journal of in Multidisciplinary and Academic Research (SSIJMAR) Vol. 4, No. 3, June 2015 (ISSN )

International Journal Of Engineering Research & Management Technology

Optimization of Cluster Web Server Scheduling from Site Access Statistics

A Review of Load Balancing Algorithms for Cloud Computing

Improved Dynamic Load Balance Model on Gametheory for the Public Cloud

A Novel Approach of Load Balancing Strategy in Cloud Computing

Design of an Optimized Virtual Server for Efficient Management of Cloud Load in Multiple Cloud Environments

Efficient Cloud Computing Load Balancing Using Cloud Partitioning and Game Theory in Public Cloud

Load Balancing using DWARR Algorithm in Cloud Computing

An Energy Efficient Server Load Balancing Algorithm

Efficient Parallel Processing on Public Cloud Servers Using Load Balancing

Dr. Ravi Rastogi Associate Professor Sharda University, Greater Noida, India

OpenFlow Based Load Balancing

An Empirical Study and Analysis of the Dynamic Load Balancing Techniques Used in Parallel Computing Systems

The Three-level Approaches for Differentiated Service in Clustering Web Server

ABSTRACT. KEYWORDS: Cloud Computing, Load Balancing, Scheduling Algorithms, FCFS, Group-Based Scheduling Algorithm

LOAD BALANCING STRATEGY BASED ON CLOUD PARTITIONING CONCEPT

@IJMTER-2015, All rights Reserved 355

A Comparison of Four Popular Heuristics for Load Balancing of Virtual Machines in Cloud Computing

Load balancing using Remote Method Invocation (JAVA RMI)

MEASURING PERFORMANCE OF DYNAMIC LOAD BALANCING ALGORITHMS IN DISTRIBUTED COMPUTING APPLICATIONS

COMPARATIVE STUDY ON LOAD BALANCING TECHNIQUES IN DISTRIBUTED SYSTEMS

Protagonist International Journal of Management And Technology (PIJMT)

Optimal Service Pricing for a Cloud Cache

Load balancing as a strategy learning task

Design and Implementation of Efficient Load Balancing Algorithm in Grid Environment

A Game Theoretic Approach for Cloud Computing Infrastructure to Improve the Performance

Multilevel Communication Aware Approach for Load Balancing

Keywords: Dynamic Load Balancing, Process Migration, Load Indices, Threshold Level, Response Time, Process Age.

Analysis of Job Scheduling Algorithms in Cloud Computing

PART IV Performance oriented design, Performance testing, Performance tuning & Performance solutions. Outline. Performance oriented design

LOAD BALANCING AS A STRATEGY LEARNING TASK

International Journal of Advancements in Research & Technology, Volume 3, Issue 8, August ISSN

Load balancing using java Aspect Component(Java RMI)

High Availability and Clustering

Web Application Hosting Cloud Architecture

International Journal of Computer & Organization Trends Volume21 Number1 June 2015 A Study on Load Balancing in Cloud Computing

A Middleware Strategy to Survive Compute Peak Loads in Cloud

Energy Constrained Resource Scheduling for Cloud Environment

Cloud Partitioning of Load Balancing Using Round Robin Model

Distributed and Dynamic Load Balancing in Cloud Data Center

Effective Load Balancing Based on Cloud Partitioning for the Public Cloud

A Load Balancing Model Based on Cloud Partitioning for the Public Cloud

Index Terms : Load rebalance, distributed file systems, clouds, movement cost, load imbalance, chunk.

Transcription:

Implementing Parameterized Dynamic Balancing Algorithm Using CPU and Memory Pradip Wawge 1, Pritish Tijare 2 Master of Engineering, Information Technology, Sipna college of Engineering, Amravati, Maharashtra, India 1 Associate Professor, Department of Computer Science and Engineering, Sipna College, Amravati, Maharashtra, India 2 Abstract: In today s world, more or less, every activity belongs to internet. The increase of E-Commerce has leads many businesses to carry out the most of their day-to-day business online transaction on data. As a result of the popularity of the web, providers of web sites and storage space providers want to ensure the availability of access to information for their users and the guarantee that requests are processed as quickly as possible. If a server gets more requests than it can handle, this can be combated by using multiple hosts to provide the same service. Dynamic balancing is the process by which inbound internet protocol (IP) traffic can be distributed across multiple servers. balancing enhances the performance of the servers, leads to their optimal utilization and ensures that no single server is overloaded. By studying pros and cons of different techniques used for load balancing, we are specifically giving priority to Dynamic load balancing method rather than Static load balancing. Further we have discussed different balancing algorithms, techniques and their drawbacks. By taking advantage of Dynamic logic load balancing method, we have deployed one load balancing solution.. Keywords: Distribution, Balancing, Parameter Balancing, Balancing on server. I. INTRODUCTION Today s need for Dynamic load balancing[1] is speedily increasing because of increasing advance in scientific the necessity of high-speed processing which may even tend toward the mode of distribution. In many systems a number of servers but may be the probability of a processor being idle in the system and other processors having a queue of tasks at hand is very high. So there is necessity of the uniform distribution of workload among these servers. Now a day, in technical life everything is going online. Web applications plays big role on internet to provide 24*7 hr services to customers. When application becomes popular, traffic to that is also in a state of growing. For availability, scalability, performances boosting more and more servers are required for example in online examination. balancing is a key issue in these types of large scale situation. balancing is to achieve optimal resource utilization, maximize throughput, best services, minimize response time, and avoid overload, disconnectivity. In many scenarios, however, it s not simply a matter of distributing traffic equally across many servers once deploys; other factors also comes into play. Here we have discussed different load balancing strategies, algorithms and methods. By investigating the comparative behavior of load balancing with different parameters, dynamic load balancing[1] is more reliable. So; here we implemented application load balancer by parameterized load balancing algorithm. Actually we perform load balancing by integrating more than two physical servers with Parameterized dynamic load balancing algorithm. The load balancer calculates the utilization of sub severs and select least utilized server and forward the request to sub server. In this system if you are balancing the load across several servers and one of the servers fails, then the service will still be available to your users, as the traffic will be diverted to the other servers in your server farm. 1.1 Dynamic Balancing The use and access of fast processors and also multi-processors has vastly improved and are mostly used in cases that are very time-consuming and time is a valuable source. Thus, in multi-processor systems [2], scheduling on a number of processors is of great interest for such purposes. Parallel computers perform their calculations by executing different computational tasks on a number of processors concurrently. The processors within a parallel computer Copyright to IJIRSET www.ijirset.com 12828

generally exchange information during the execution of the parallel code. This exchange of information occurs either in the form of explicit messages sent by one processor to another or different parallel processors sharing a specified common memory resource within the parallel computer. The core idea of load balancing is to use multiple hosts to replace only one host, thereby it can enhance the computing power and reliability of the host at a low cost. In this way, the problem about a large number of concurrent accesses can be solved. -balancing system is a cluster system composed of multiple hosts. Each individual host, which can provide services independently without any external assistance of other hosts, has equivalent status in the system. The reliability of load-balancing is relatively higher than that of a single machine. 1.2 Balancing Concept Dynamic balancing is the process by which inbound internet protocol (IP) traffic can be distributed across multiple servers. balancing enhances the performance of the servers, leads to their optimal utilization and ensures that no single server is overloaded. By studying pros and cons of different techniques used for load balancing, we are specifically giving priority to Dynamic load balancing method rather than Static load balancing. Further we have discussed different balancing algorithms, techniques and their drawbacks. By taking advantage of Dynamic logic load balancing method, we have deployed one load balancing solution. 1.3 Basic Idea of Parameterized Dynamic Balancing In this paper we are Implemented Parameterized Dynamic load balancing using tree parameter CPU Usage Physical Memory Request Execution II. LITERATURE REVIEW In the previous work,we had studied the comparison is made between various techniques but static load balancing algorithm are more stable and it is also easy to predict their behaviour, but at a same time dynamic distributed algorithm are always considered better than static algorithm. Experimental results of performance modelling show that diffusive load balancing is better than round robin and static load balancing in a dynamic environment, which manifest in frequent clients' object creation requests and in short objects' lifetimes. Ankush P.Deshmukh and Prof. Kumarswamy Pamu [1] have discussed/described different load balancing strategies, algorithms and methods. They investigate that comparative behaviour of load balancing with different parameters; dynamic load balancing is more reliable and after that they conclude that efficient load balancing can clearly provide major performance benefit. 2.1 balancing algorithms balancing algorithms can be divided into two major categories: static load balancing algorithm and dynamic load balancing algorithm. In static load balancing algorithm, on the basis of the time needed to complete any given task, tasks are assigned to processors during the compile time and their relation is determined. No decision regarding a shifting of a task from one processor to another during execution time. But in dynamic load balancing algorithms (DLB), load status at any given moment is used to decide on task shifts between processors [2, 3, 4, and 5]. Random, Central and Rendezvous are among the existing load balancing algorithms which can be seen in [4, 6, 7]. In parallel and distributed systems processors are divided into three categories according to their workload level. Heavily loaded processor/overloaded processor: which have a large number of tasks in waiting? Lightly loaded processor/under loaded processor: which have a small number of tasks in waiting? Idle processors: which have no tasks to execute [2]. 2.2 Definition - What does DNS Balancing mean? We refer to user as anyone who is accessing the information on the World Wide Web, while we done client as a program, typically a Web browser that establishes connections to Internet for satisfying user requests. Clients are connected to the network through gateways; we will refer to the network sub-domain behind these local gateways as domain. The purpose of a Web server is to store information and serve client requests. To request a document from a Web-server host, each client rest needs to resolve the mapping of the host-name contained in the URL to an IP address. Copyright to IJIRSET www.ijirset.com 12829

Monitoring Reporting 2 Monitoring Reporting 3 Monitoring Reporting Balancing Library 1 Fig 2.1 Dynamic load balancing Approach [1] III. ANALYSIS OF PROBLEM In the previous work we analyze that when load balancing across several servers and any servers fails, then the service may be disturb. Now take a scenario where three servers are clustered and exchanging data with each other. Suddenly server 2 stops informing the machine load to load balancer i.e. server 2 is down. It the least loaded machine among others for say 10 min. In between if request comes from the user then request is forwarded to server 2. But server 2 is down, so here comes a fault. Solution to this problem; after receiving data from server 2, Collector runs timer for 3second and if server 2 doesn t send data again within 3seconds then collector delete the server 2 entry from the list. The remaining processes still carry on with other servers. Application balancer shows fastest machine name telling that next request is being processed by that machine. Every time when user hit link page is refreshes and again shows fastest machine name. 3.1 Static Balancing Static load balancing algorithm [4][8] allocate the tasks of a parallel program to workstations based on either the load at the time nodes are allocated to some task, or based on an average load of our workstation cluster. The advantage in this sort of algorithm is the simplicity in terms of both implementation as well as overhead, since there is no need to constantly monitor the workstations for performance statistics. The static algorithm is easily carried into execution and takes less time, which doesn't refer to the status of the servers. But however, static algorithms only work well when there is not much variation in the load on the workstations. Clearly, static load balancing algorithms aren t well suited to an environment, where loads may vary significantly at various times in the day, based on the issues discussed earlier. Copyright to IJIRSET www.ijirset.com 12830

3.2 Random Scheduling The Random algorithm [4] is self-explanatory. Traffic is directed arbitrarily to any server in your farm. In a random Scheduling, the requests are assigned to any server picked randomly among the group of servers. Pros: Random Scheduling load balancing algorithm is simple to implement. Cons: It can lead to overloading of one server while under-utilization of others. 3.3 Disadvantage 1. If you are balancing load across several servers and one of the servers fails, then the service has been disturb. 2. The main load balancing server will be crash then the other system doesn t work. 3. Calculating load only by a single server may cause heavily loaded system. IV. IMPLEMENTATION AND RESULTS 4.1 Implementing Parameterized Dynamic Balancing Algorithm Parameterized dynamic load balancing algorithm makes changes to the distribution of work among workstations at run-time; they use current load information when making distribution decisions. Parameterized dynamic load balancing algorithm can provide a significant improvement in performance over static algorithms. However, this will be achieve at the additional cost of collecting and maintaining load information, so it is important to keep these overheads within reasonable limits. The parameterized dynamic load balancing algorithm is self-adaptive algorithm, which is better than static algorithm. Self-adaptive load balancing system [9] mainly includes two processes: monitoring the load status of servers and assigning the request to the servers. The state supervision, which depends on the load information of each server in the cluster monitored and collected periodically by the front-end balancer, raises the effect of load balance by monitoring load variety, however, this will burden the workload of balancer which is the bottleneck of the cluster system. In this work we implemented individual work load calculation technique and also provide the authority to decide who will perform this work. 4.2 Weighted Round-Robin Scheduling The weighted round-robin scheduling[4][10] can assign a weight to each server in the group so that if one server is capable of handling twice as much load as the other, the powerful server gets a weight of 2. In such cases, the IP sprayer will assign two requests to the powerful server for each request assigned to the weaker one. Pros: Takes care of the capacity of the servers in the group. Cons: Does not consider the advanced load balancing requirements such as processing times for each individual request Fig. 4.1 Balancing System Copyright to IJIRSET www.ijirset.com 12831

No. of Req. Handle By 12 44 19 267 221 162 567 457 476 582 735 638 937 1256 1127 ISSN: 2319-8753 4.3 Result analysis of load balancing algorithm based on Total size In this case the balancer balance the load according to load balancing algorithm based on the Addition of CPU Usage size and physical memory size. When the batch of queries received by the balancer it first check which server having least utilize on the basis of Total once find out that then it shifting the queries among the server. This algorithm tries to balance load of the system by dynamically calculating Total at 5ms interval. A. Response server name Test Input Tasks No. of Task Executed based on CPU Usage + Memory 1 2 3 1 500 267 12 221 2 1000 937 44 19 3 1500 567 457 476 4 2000 1256 582 162 5 2500 1127 735 638 Table 4.1 Task Execution based on CPU Usage and RAM 1400 1200 1000 800 600 400 SERVER 1 SERVER 2 200. 0 500 1000 1500 2000 2500 No.of tasks Graph 4.1 Task Execution based on CPU Usage and RAM Copyright to IJIRSET www.ijirset.com 12832

4.4 Experimental result In this case the balancer balance the load according to load balancing algorithm based on the Addition of CPU Usage size and physical memory size. In the following Experiment result shows S1, S2, S3 are the server. When the batch of queries received by the balancer it first check which server having least utilize on the basis of Total and CPU Usage and memory once find out that then it shifting the queries among the server. In this Experiment result we are using 500 to 25000 bunches of queries and it send to least utilize server. This algorithm tries to balance load of the system by dynamically calculating Total at 5ms interval. Test Input Tasks Response name based on Total Memory CPU Usage Total load S1 S2 S3 S1 S2 S3 S1 S2 S3 1 500 0 0 500 400 21 74 267 12 221 2 1000 5 0 995 814 158 28 937 44 19 3 1500 116 0 1384 675 518 407 567 457 476 4 2000 115 0 1885 803 741 456 1256 582 162 5 2500 262 238 2000 1425 611 464 1127 735 638 Table 4.2 Tasks Execution based on CPU Usage, RAM and Total load Graph 4.2 Tasks Execution based on CPU Usage, RAM and Total Copyright to IJIRSET www.ijirset.com 12833

The above experimental graphical result shows that utilization of servers. When we are using different parameters to distribute the queries and check each and every 5ms which server having less utilization. Whenever we are sending 500 queries on server s1 then we obeser that the comparison on the basis of memory utilization of s1 is 0.Second time we are comparing on the basis of CPU usage then utilization is 400 queries and last we are comparing on the basis of combination of CPU and Memory the utilization is 267 queries. We are increasing the queries up to 2500 and obeser that the server machine handles more requests whenever the comparison done between Total load or CPU Usage. V. CONCLUSION The Parameterized Dynamic Balancing Algorithm has valuable features for balancing a load on any server system such as cloud computing, which makes it well-suited for time critical and efficient applications. This Paper attempted to conclude algorithm for Dynamic Balancing. This algorithm shows how load distribution takes place over server. So every server gets occupied by workload when any server overloaded as well as shows that workload distribute uniformly among server to achieve load balancing. REFERENCES [1] Ankush P.Deshmukh and Prof. Kumarswamy Pamu Applying Balancing: A Dynamic Approach (IJARCSSE), vol. 2, issue 6, June 2012. [2] R. Buyya and D. Abramson and J. Giddy and H. Stockinger, Economic Models for Resource Management and Scheduling in Grid Computing, int Journal of Concurrency and Computation: Practice and Experience, Volume 14, Issue.13-15, pp. 1507-1542, Wiley Press, December 2002. [3] Amit Chhabra, Gurvinder Singh, Sandeep Singh Waraich, Bhavneet Sidhu, and Gaurav Kumar "Qualitative Parametric Comparison of Balancing Algorithms in Parallel and Distributed Computing Environment" Proc. World Academy of Science, (PWASET) Vol 16, pp. 39-42, November 16, 2006, [4] Der-Chiang Li, Fengming M. Chang: An In Out Combined Dynamic Weighted Round-Robin Method for Network Balancing Published by Advance Access publication, The Computer Journal Vol. 50 No. 5, 2007. [5] Satoru Ohta and Ryuichi Andou : WWW Balancing Technique Based on Passive Performance Measurement Published by IEEE 978-1-4244-3388-9/09. [6] Shahzad Malik: Dynamic Balancing in a Network of Workstations from Research Report.Valeria cardellini, University of Rome Tor Vergata, Michele Colajanni, University of Modena. [7] Philip S. Yu, IBM T.J. Watson Research Center: Dynamic load balancing on web-server systems Publidhe by IEEE Internet Computing 1089-7801/99. [8] Li Wenzheng, Shi Hongyan: Novel Algorithm for Balancing in Cluster Systems Publidhe by IEEE Proceedings of the 2010-978-1-4244-6763-1/10. [9] William Leinberger, George Karypis, Vipin Kumar, " Balancing Across Near-Homogeneous Multi-Resource s", 0-7695-0556-2/00, 2000 IEEE. [10] D. Andresen, T. Yang, V. Holmedahl, O.H. Ibarra, \SWEB: Toward a scalable World Wide Web-server On multicomputers", Proc. of 10th IEEE Int'l. Symp. on Parallel Processing, Honolulu, pp. 850{856, April 1996. AUTHOR BIOGRAPHIES: Mr.Pradip U. Wawge is a student of Sipna College of, Information Technology [M.E] Amravati, Sant Gadge Baba Amravati University. He has presented 2 papers in International Conference. His area of interest is network security and network load balancing. Prof. Pritish A. Tijare is working as a Associate Prof. In Computer Science and Engineering department of Sipna College of Engineering And Technology, Amravati. He is having 9 year of Experience in teaching field. He has publish various state, national and international conference and journal. He has guided BE, ME students. Copyright to IJIRSET www.ijirset.com 12834