Research and Realization of an Improved Load Balancing Algorithm Based on LVS Cluster
- Author
- ShenWei
- Advisor
- LinZuo
- School
- Chinese Geology University (Beijing)
- Major
- Computer Science and Technology
- Classification
- TP393.01 Theory of computer networks
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 134
- Citations
- 5
Abstract
Today's society is an information society , the application of computer networks have been deep into the various fields of everyday life , people 's life and work is also more dependent on the network , which network technology has become an increasingly important technology . A large number of network applications high demands on the quality of the server , the traditional server due to factors such as CPU, disk I / O , and memory constraints , has become increasingly difficult to adapt to the current needs of the cluster technology become the current study hot topic. Clustering technology with high reliability, scalability, and high cost performance . The the cluster core technology is one of load balancing techniques . LINUX Virtual Server (LVS) project is one such cluster project , which implements a the LINUX kernel -level load balancing solution with high efficiency . The existing load balancing algorithm are some simple connection-based load balancing algorithm , while the reality applications is much more complex , and therefore need to put forward a new load balancing solution . This article first on the the LVS framework of the existing Linux kernel structure and achieve the introduction, and then for the deficiencies of the existing load balancing algorithm proposed an improved feedback load balancing scheduling algorithm . The work mainly do the following : First elaborated the cluster technology development as well as the LVS project summary . Followed by analysis of the relationship between achieve load balancing algorithms and the entire project implementation framework as well as with other kernel modules . Third at the shortcomings of existing scheduling algorithms , is proposed to improve the load balancing algorithm is an improved feedback . This algorithm can be a true reflection of the actual situation of the server load , and adjust the allocation of server resources according to the situation . The fourth pair of improved algorithms for testing and comparative experiments with existing algorithms , which can be seen that the new algorithm has advantages , more reasonable arrangements server processing client requests .
Table of contents
Abstract 5-6
Abstract 6-9
Chapter 1 Introduction 9-14
1.1 Background and Significance 9-10
1.2 load balancing technology 10-12
1.2.1 load balancing technology classification 10-12
1.2.2 load balancing algorithm classification 12
1.3 thesis content and organization 12-13
1.3.1 thesis content 12-13
1.3.2 papers organization 13
1.4 This chapter subsections 13-14
Chapter 2 LVS cluster framework 14-24
2.1 LVS cluster structure 14-15
2.2 IP load balancing technology 15-19
2.2.1 Network Address Translation way virtual server (VS / NAT) 15-17
2.2.2 IP tunnel virtual server (VS / TUN) 17-18
2.2.3 direct routing virtual server (VS / DR) 18-19
2.3 LVS system to achieve 19-23
2.3.1 IPVS framework 19-21
2.3.2 IPVS data structures 21-22
2.3.3 IPVS process flow 22-23
2.4 This chapter Summary 23-24
Chapter 3 IPVS load balancing scheduling algorithm 24-35
3.1 round of robin 24-25
3.2 weighted round robin 25-27
3.3 minimum connection scheduling 27-28
3.4 weighted least connection scheduling 28-29
3.5 based on locality minimum connection scheduling 29-30
3.6 with replication connection locality-based minimum scheduling 30-32
3.7 destination address hashing scheduling 32
3.8 source address hash scheduler 32-33
3.9 the shortest expected to delay scheduling 33
3.10 queuing scheduling 33-34
3.11 This chapter Summary 34-35
Chapter 4 improved algorithm 35-44
4.1 existing algorithms 35
4.2 improved algorithm ideas 35-36
4.3 server load dynamic feedback 36-41
4.3.1 Dynamic Feedback Master process 37-38
4.3.2 Dynamic Feedback Agent process 38-41
4.3.2.1 server load calculation 39-40
4.3.2.2 load calculation module 40-41
4.4 new scheduling algorithm processes 41-43
4.5 of this chapter Summary 43-44
Chapter 5 algorithm test 44-55
5.1 experimental environment structures 44-50
5.1.1 experimental cluster architecture 44
5.1.2 experimental cluster hardware 44-45
5.1.3 experimental cluster software and configure 45-50
5.2 experiment contents and results of analysis 50-54
5.2.1 testing software 50-51
5.2.2 Test Plan 51-52
5.2.3 test content 52-54
5.3 This chapter Summary 54-55
Chapter 6 Summary and Outlook 55-57
Acknowledgements 57-58
the
References 58-60
Appendix 60
Related dissertations
- The Design and Implementation of the Intelligent Cluster Rendering System
- Research on Load Balancing Mechanism and Its Security in Dht-Based Distributed Networks
- Design and Simulation of the Intelligent Feedback PID Controller
- Research of Multi-Objective Artificial Bee Colony Algorithm Based on Feedback
- Coevolution Algorithm and the Application in Multi-agent System
- Research on Adaptive Control in Two Application Examples of Electrical and Mechanical
- The Application of Load Balance for E-business Website
- Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
- The Research of Dynamic Resource Management Key Technologies in Cloud Computing
- Research and Design of Scalable Network Server Based on Linux
- Research and application of pushing send technology of server cluster based on
- The Research for Distributed Control and Addressing Mode of Software Defined Network
- Research on Cloud Resource Scheduling Method Across Cloud Computing Federation
- Simulation and Implementation for Robust Energy-efficient Routing Algorithms Based on Network Topology in IP Backbone Networks
- Research on Resource Scheduling Algorithms in Cloud Computing Environment
- Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
- Interactive Content-Based Medical Image Retrieval System Research and Design
- Research on the Technology of Content-based Re-ranking Video Retrieval
- Application and Research of Digital Room Service System Based on Cluster Server
- Design and Implementation of Video Monitoring Management and Load Balancing in Fuzhou