A New Load Balancing Algorithm of the Server Cluster
- Author
- ZhouSongQuan
- Advisor
- WuZhenHua
- School
- Nanchang University of Aeronautics and
- Major
- Computer Software and Theory
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 248
- Citations
- 2
Abstract
With the rapid development of Internet technology, the Internet has become theessential tools of more and more people to learn, work, and life. However, with theincreasing number of Internet users, the server systems of the major Internet companiesbecome more and more overwhelmed. With the cluster technology to retrofit theoriginal server system it must be a good method that can quickly deal with the situationand effectively solve this problem.This paper first studied the development status of the server cluster and loadbalancing technology, and then specialized in the design principles and softwareimplementation of the core of the Linux Virtual Server cluster system. Cluster systemsgenerally rely on the front load balancing scheduler to forward the user’s connectionrequests to a specific server on the background. Forwarding process must work with theload balancing algorithm, in order to allow users connection requests to get a reasonabledistribution between the servers. After the studies of the existing load balancingalgorithms in the Linux Virtual Server cluster system, this paper pointed out that thesealgorithms have these or those drawbacks, and the important one was that thesealgorithms did not base on the overall performance level and the real-time loadcondition of the servers in the background of the cluster system to reasonably allocatethe user’s connection request, and can not let the entire cluster system to achieve a stableload balancing state.After the in-depth studies on the Linux Virtual Server cluster system and its mainfour kinds of load balancing algorithms,the paper presents a new algorithm, namely,PCW load balancing scheduling algorithm. The most prominent feature of the PCWload balancing scheduling algorithm is that it is able to collect the performance andreal-time load indexes of each server in the background. The performance indexesinclude the CPU processing speed, memory size, disk read-write speed and the networkbandwidth. The load indexes corresponding to the four performance indexes are CPUutilization, memory utilization, the size of the average disk read-write rate and theaverage rate of the network. With the performance indexes the PCW load balancingscheduling algorithm calculates the specific server’s performance parameters; with theload indexes it calculates the specific server’s integrated load parameters. Through theanother formula in the paper and the two parameters the load balancer can gain the weight value of the specific server. Thus,by this method, in the running process of thecluster system the load balancer can access to the weight value which represents thespecific server performance levels and its real-time load, so that it can be morereasonable to allocate the specific users connection request to the servers.Finally, this paper set up a practical Linux virtual server cluster system testenvironment to test PCW load balancing scheduling algorithm and to compare with theexisting algorithm. The test results showed that PCW load balancing schedulingalgorithm obtained a better load balancing effect, and had great application value.
Table of contents
Summary 4-5
Abstract 5-7
directory 7-10
Chapter 1 Introduction 10-20 <br / > Background and Significance 1.1 research development Overview 10-12
1.2 cluster and load balancing technology 12-17
1.2.1 development Status cluster technology classification 12-14
1.2.2 cluster technology 14-15
1.2.3 load balancing technology meaning 15-16
1.2.4 load Balancing classification technology hotspot 16-17
1.3 load balancing technology main work 17-18
1.4 of this article and article structure 18-20 <br / > load balancing technology Chapter 2 LINUX virtual server cluster system 20-31
2.1 LINUX virtual server cluster system Introduction 20-21
2.2 LINUX virtual server cluster system software core 21-26
2.2.1 network packet processing module 22-24
2.2.2 load balancing scheduling algorithm module 24-26
2.2.3 It is important to structure data forwarding 26
2.3 LINUX virtual server cluster system 26-30
2.3.1 network address translation 27 - 28
2.3.2 IP tunnel mode 28
2.3.3 direct routing 28-29
2.3.4 are three common ways of comparing data forwarding 29-30
2.4 Summary 30-31
thinking process in Chapter 3 new load balancing scheduling algorithm designed 31-46
3.1 issues the proposed 31-32
3.2 PCW load balancing scheduling algorithm design ideas one 3.2.1 thinking 32-38
: weight value considerations related settings 32-34
3.2.2 Train of Thought : ideas calculated weight values ?? 34-36
3.2.3 The idea of three : load balancing scheduler to obtain indicators of the way 36
3.2.4 of the four ideas : first need to consider the special circumstances of 36-37
3.2.5 five ideas : The second special case to be considered 37-38
3.2.6 ideas summary 38
3.3 is calculated for each design ideas and specific forms 38-45
3.3.1 integrated performance parameters calculated 40-43
3.3.2 comprehensive load parameters calculated formulas 43-44
3.3.3 specific server weight value 44-45 <br / > 3.4 Summary achieve 45-46
Chapter 4 PCW load balancing scheduling algorithm design and implementation 46-57
4.1 SLAVE program 46-49
4.1.1 Slave program main function processes 46-47
4.1.2 Slave procedures and detailed analysis 47-49
4.2 performance and Load obtaining specific indicators method 49-51
4.2.1 performance indicators obtained 49-50
way to get the 4.2.2 load indicators 50 - 51 design and Implementation
4.3 MASTER program 51-56
4.3.1 Master program main functions 52
4.3.2 Master program and the detailed process analysis 52-56
4.4 Summary 56-57 performance measurement and analysis
Chapter 5 PCW load balancing scheduling algorithm 57-69
configuration 5.1 LINUX virtual server cluster system structure 57-62
5.1.1 Linux virtual Server cluster system 57-58
5.1.2 Linux virtual server cluster system configuration 58-59
5.1.3 Linux virtual server cluster software configuration 59-62
5.2 PCW load balancing scheduling algorithm performance test 62-68 <br / > 5.2.1 several popular web server system testing tools 62-64
5.2.2 testing program and the results of 64-66
5.2.3 analysis of test results 66-68
5.3 summary 68-69
Chapter 6 summary and Outlook 69-71
6.1 summarizes 69-70
6.2 future work and outlook 70-71
References participate topics circumstances nbsp 71-75
during the master's degree ; 75-76 <br / > Post master's degree theses cases 76-77
Thanks 77-78
Related dissertations
- Research and Implementation of Cluster Nas Storage System Based on Modularization
- Rcscarch on Construction of ETL Cluster Model Based on Task Scheduling
- Data Transmission in Research and Implementation in Linux Cluster System
- Research of Blade Type Server Cluster Performance Test and Optimization
- Intelligent Power Management Server Platform Technology Research
- The Research of File Scheduling Optimization Based on Cluster
- Analysis on Electromagnetic Compatibility of a Cluster System
- Research on Massive Terrain Data Management and Real-time Interactive Technology of 3D Rendering
- Research on Rollback Recovery Fault-Tolerance Technology in High Availability Cluster
- Cluster interconnect network research
- Researching of the Relative Technology about Cluster Server
- Research on Techniques to Improve the Performance of OpenMP System on Cluster
- Cluster File System server key technologies
- Network Parallel Computation Based on the Large Increment Method
- The Fluid Field Numerical Simulation of Centrifugal Pump Based on Parallel Computation Technology and 3D Design Software Development
- Design and Implementation of Cluster System Based on HVIA-NET
- Some Research Topics based on PVM: Task Migration, C++ Object Distributed-Parallel and Capability Implementation
- Research on Caching Scheme in Time Shifted TV Systems
- The Research and Implement of Video Network Architecture and the Key Technology Based on CDN
- Research of Parallel Algorithm for Effectively Mining Association Rules