The Research and Implementation of Fair Scheduling Algorithm for Web Slusters
- Author
- XiongBuYun
- Advisor
- XiongZhi
- School
- Shantou University
- Major
- Computer Software and Theory
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 29
- Citations
- 0
Abstract
In recent years, with the rapid popularization of the Internet Application, the rapid growth in the number of users on the network, the rapid growth of concurrent access to the services, all of these put forward higher requirements the capacity of network server. With the increasingly high demand for network servers, throughing a simple single server to improve performance can not be truly effective solution to this problem. To this end, it was proposed to use multiple servers to form a virtual server system to address the large volume of concurrent users to access and large capacity data storage problems, this technique is known as clusters. It is the rapid development of Internet network provides a scalable processing capacity, and high cost-effective network server solution.By analyzing the Linux kernel IPVS and Netfilter module’s source code, described in more detail the distribution of packet processing and IPVS architecture and main functions of each module; a more detailed description LVS load balancing techniques, contrast analysis of three commonly used load balancing mode and several load-balancing algorithm. Scheduling algorithms for the inadequacies of existing clusters, this paper based on the WLC algorithm was proposed to improve the dynamic weight based on the fair scheduling algorithm BDWFS (Based on Dynamic Weighted Fair Scheduling), through the collection of load information on the server, the load balancing scheduler can more accurately understand the different load conditions the real service node, and then integrated loads select the most appropriate service node to respond to user requests.Different from other similar algorithms, all code involved in the algorithm were implemented in the kernel mode, avoiding the context switch from the user mode to kernel mode, so efficient, and this is one innovation of this paper, the paper has a theoretical significance and application value.
Table of contents
Abstract 3-4
Abstract 4-6
directory 6-8
Chapter 1 Introduction 8-15
1.1 thesis background 8-9
the
the 1.2 cluster technology Overview Research 9-13
1.2.1 cluster concept 9-10
1.2.2 cluster of significance 10-11
1.2.3 cluster classification 11-12
1.2.4 research status 12-13
1.3 papers, organizational structure and innovation 13-15
1.3.1 papers 13
1.3.2 papers innovations 13-14
organizational structure
1.3.3 papers 14-15
Chapter 2, background knowledge and research 15-32
2.1 Web technology brief 15-18
2.1.1 Web development history 15
2.1.2 Hypertext Transfer Protocol (HTTP) 15-18
2.2 Netfilter packet filtering framework 18-24
2.2.1 Netfilter development history 18
2.2.2 Netfilter framework outlined 18-24
2.3 Linux kernel modular programming 24-28
2.3.1 Linux loadable kernel module structure 24-25
2.3.2 Linux loadable kernel module compiled 25-26
2.3.3 Linux loadable kernel module tool 26-27
2.3.4 kernel module to export symbols 27-28
2.4 Simple Network Management Protocol (SNMP) 28-32
The basic components of the
2.4.1 SNMP 28-29
2.4.2 MIB MIB 29-30
2.4.3 SNMP protocol data unit 30-32
Chapter 3 LVS cluster 32-43
3.1 LVS cluster of three-tier structure, and four types of address 32-34
3.1.1 LVS cluster of three-tier structure 32-33
3.1.2 LVS cluster of four categories address 33-34
3.2 based on the IP layer load balancing technology 34-37
3.2.1 network address conversion (NAT) 34-35
3.2.2 direct routing (DR) 35
3.2.3 IP tunnel mode (TUN) 35-36
3.2.4 three modes 36-37
3.3 LVS load balancing scheduling algorithm 37-43
3.3.1 static scheduling algorithm 38-39
3.3.2 dynamic scheduling algorithm 39-40
3.3.3 common load balancing scheduling algorithm analysis 40-43
Chapter 4 Web Cluster fair scheduling algorithm design 43-50
4.1 shortcomings of content-based request distribution 43
the
of 4.2 existing LVS load balancing scheduling algorithms defects 43-45
4.3 the Web cluster fair scheduling algorithm design ideas 45-46
4.4 Web cluster fair scheduling algorithm model principle 46-48
4.5 the Web cluster fair scheduling algorithm optimization 48-50
Chapter 5 Web Cluster fair scheduling algorithm implemented 50-68
5.1 LVS load balancing software architecture to achieve 50-58
5.1.1 IPVS software linked list structure 52-54
5.1.2 IP packet processing module 54-57
5.1.3 load balancing scheduling algorithm 57
5.1.4 System Management and Configuration 57-58
of 5.2 real server load information collected 58-61
5.2.1 CPU information 60
5.2.2 memory information 60
5.2.3 network bandwidth information 60-61
the 5.3 load information linked list to achieve 61-62
5.4 load scheduling specific implementation 62-65
5.5 real server status monitoring 65-66
5.6 algorithm need to pay attention to several issues in the process of 66-68
the 5.6.1 load information collection cycle 66-67
5.6.2 weighting coefficient K_b K_m, K_n of select 67-68
Chapter 6 algorithm performance testing and analysis 68-77
6.1 test environment and test tools 68-70
6.1.1 hardware environment 68-69
6.1.2 software environment 69
6.1.3 testing tools 69-70
6.1.4 is expected to achieve functional 70
6.2 experimental environment installation and configuration 70-74
6.2.1 load balancing part 70-72
6.2.2 true server part 72-74
6.3 test results and analysis 74-77
Summary and Outlook The 77-78
the
References 78-80
Acknowledgements 80
Related dissertations
- Based on the JBoss AS7Study of Enterprise Distributed Deployment Platform
- Research on the Key Technology of WebGIS Cluster Based on Server Virtualization
- Research on the Key Technologies of High Performance Computing WebGIS Model
- Design and Implementation of Web-based Vector Map Server System
- The Design and Implement of a Database Cluster Based on MySQL Database
- Research of GAF Geographical Routing Algorithm in Wireless Sensor Networks
- Research and Implementation of large-scale distributed environment, Cluster Management System
- High availability server aggregation system analysis and design methods
- Research on Cluster Server Consolidation System
- Job Management System for Cluster
- Embedding spatial database map services and Web Map Services cluster technology research
- On the Development of Service Industry in Gansu from the Cluster Perspective
- Study on Tourism Industry Cluster of Hainan
- The Study of the Regional Tourism Competitiveness Based on Industrial Clustering Effect
- Study on the Linkage Analysis for17Districts of Hubei Province’s Tourism
- Cluster Entrepreneurship:the Influence Mechanisms of the Technology and Market Gradient Distance
- Global value chain Chongqing Motorcycle Industrial Cluster Upgrading Research
- Henan Medical Business Circle District Industrial Cluster Development Strategy Research
- The Analysis of Region Feature and Interacting about Chinese Urbanization and Modern Service Industry
- Research on Remote Sensing High-performance Computing Strategy and Preliminary Implementation of Platform Based on Cluster