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

Request the full text

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

  1. Research and Implementation of Cluster Nas Storage System Based on Modularization
    ZhangQiang ·Shandong University ·2013 ·Master's thesis
  2. Rcscarch on Construction of ETL Cluster Model Based on Task Scheduling
    WangChunYang ·Hebei Normal ·2012 ·Master's thesis
  3. Data Transmission in Research and Implementation in Linux Cluster System
    GaoJianYun ·Chengdu University of Technology ·2012 ·Master's thesis
  4. Research of Blade Type Server Cluster Performance Test and Optimization
  5. Intelligent Power Management Server Platform Technology Research
  6. The Research of File Scheduling Optimization Based on Cluster
    LiuBing ·Taiyuan University of Technology ·2012 ·Master's thesis
  7. Analysis on Electromagnetic Compatibility of a Cluster System
  8. Research on Massive Terrain Data Management and Real-time Interactive Technology of 3D Rendering
    LiDeHua ·Huazhong University of Science and Technology ·2006 ·Doctoral dissertation
  9. Research on Rollback Recovery Fault-Tolerance Technology in High Availability Cluster
    WangJiGang ·Harbin Engineering University ·2006 ·Doctoral dissertation
  10. Cluster interconnect network research
    AnXueJun ·Institute of Computing Technology ·2003 ·Doctoral dissertation
  11. Researching of the Relative Technology about Cluster Server
    ChenLianPing ·Institute of Computing Technology ·2002 ·Doctoral dissertation
  12. Research on Techniques to Improve the Performance of OpenMP System on Cluster
    ZhangLongBing ·Institute of Computing Technology ·2004 ·Doctoral dissertation
  13. Cluster File System server key technologies
    WuSiNing ·Institute of Computing Technology ·2004 ·Doctoral dissertation
  14. Network Parallel Computation Based on the Large Increment Method
    WangKaiJian ·Tsinghua University ·2005 ·Doctoral dissertation
  15. The Fluid Field Numerical Simulation of Centrifugal Pump Based on Parallel Computation Technology and 3D Design Software Development
    CaoGuoQiang ·Liaoning Technical University ·2005 ·Doctoral dissertation
  16. Design and Implementation of Cluster System Based on HVIA-NET
  17. Some Research Topics based on PVM: Task Migration, C++ Object Distributed-Parallel and Capability Implementation
    LiYi ·University of Electronic Science and Technology ·2001 ·Doctoral dissertation
  18. Research on Caching Scheme in Time Shifted TV Systems
  19. The Research and Implement of Video Network Architecture and the Key Technology Based on CDN
  20. Research of Parallel Algorithm for Effectively Mining Association Rules
    YuYang ·Jilin University ·2008 ·Master's thesis