Multi-core Optimization Technique of Multi-player Online Game Server Design
- Author
- QianChenDi
- Advisor
- QuanHongYan
- School
- East China Normal University
- Major
- Software Engineering
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 117
- Citations
- 0
Abstract
As can be seen from the history of the development of online games , online games are becoming increasingly complex , evolved from the initial simple online play for the virtual world of today's complex game . Today , a good online game , online at the same time the number will reach hundreds of thousands or even millions . In order to meet such a large number of players , the game operators have to upgrade the hardware configuration of the server . But the emergence of multi-core processors makes the server program performance increase can not be obtained from the higher CPU frequency , simply upgrade the hardware is not enough to solve the problem . This thesis is based on the server-side development of online games , a suitable parallel programming model for network game server development , summarized by comparing research works on single-core processor and multi-core processors . On this basis, the use of the work breakdown structure (Work Breakdown Structure, abbreviated as WBS) to optimize the entire server architecture , the system is divided into smaller particle size independent subsystem , designed to reduce the degree of coupling between modules . At the same time research the the learning adaptive communication environment ( Adaptive CommunicationEnvironment , abbreviated as ACE) development kit , including proactive (Proactor) mode to achieve high-performance network communication module to comply with the rules of parallel computing . Use interprocess communication service access point (Inter-Process Communication Service Access Points, abbreviated as the IPC SAP) mechanism to achieve a cross-platform implementation of inter-process communication module . The system integrates Lua scripting language , and take advantage of the flexibility of the language itself has brought convenience to the deployment of the system and secondary development . The research in this paper not only solves the multicore environment server resource utilization , but also to facilitate system expansion , upgrade and maintenance work to improve the efficiency and quality of system development . At the same time provide a system-level reuse support system development for different types of online games . So that the secondary development staff to devote more energy on game logic implementations and play design , reduces server development threshold , reducing the burden on developers .
Table of contents
Abstract 6-7
Abstract 7-11
Chapter 1 Overview 11-14
1.1 Background 11-12
1.2 Research
1.3 The organizational structure of the research and papers 12-13
1.4 This chapter Summary 13-14
Chapter 2 technology 14-23
2.1 process 14-15
2.1.1 process concept 14
2.1.2 interprocess communication 14-15
2.2 parallel processing 15-19
2.2.1 single-core CPU 15-16
2.2.2 multi-core CPU 16-17
2.2.3 I / O devices 17-19
2.2.4 program parallelization 19
2.3 ACE self-adaptation communications environment 19-21
2.4 Lua scripting language 21-22
2.5 This chapter Summary 22-23
Chapter 3 needs analysis 23-30
3.1 user base 23-24
3.2 system functional requirements 24-27
3.3 system performance requirements 27-28
3.4 system design goals 28-29
3.5 This chapter Summary 29-30
Chapter 4 Summary design 30-37
4.1 architecture design 30-32
4.2 system module divided 32-35
4.2.1 communications connection module 32-33
4.2.2 logic processing module 33-34
4.2.3 database module 34-35
4.3 multi-entry design 35-36
4.4 This chapter Summary 36-37
Chapter 5 detailed design 37-42
5.1 data structure design 37-38
5.1.1 External connection header design 37
5.1.2 event notification header design 37-38
5.2 module interface design 38-41
5.2.1-process communication module interface design 38-40
5.2.2 Network communication module interface design 40-41
5.2.3 Data Broadcasting module interface design 41
5.2.4 AOI module interface design 41
5.3 This chapter Summary 41-42
Chapter 6 realization 42-52
6.1 interprocess communication module to achieve 42-44
6.1.1 principle 42-43
6.1.2 algorithm steps 43-44
6.1.3 key technology 44
6.2 network communication module implementations 44-47
6.2.1 principle 44-46
6.2.2 algorithm steps 46
6.2.3 key technology 46-47
6.3 data broadcast module implementation 47-48
6.3.1 principle 47
6.3.2 algorithm steps 47-48
6.4 AOI module 48-51
6.4.1 principle 48-49
6.4.2 algorithm steps 49-50
6.4.3 key technology 50-51
6.5 This chapter Summary 51-52
Chapter 7 System Test 52-55
the 7.1 testing methods and test data 52-54
7.2 test results analysis 54
7.3 Chapter Summary 54-55
Chapter 8 Summary and Outlook 55-57
8.1 summarizes 55
8.2 Looking 55-57
the
References 57-60
Appendix 60-68
Appendix 68-86
Appendix III 86-89
Appendix IV 89-92
Acknowledgements 92
Related dissertations
- Research on Surface Defects Visual Inspection System for Metal Components
- Research on Acceleration Technology of IPSec VPN Base on GPU
- Study on Several Methods for Digital Video/Image Restoration
- Study of Visual Tracking Algorithm Based on CUDA
- The Research on Optimization of Parallel Data Query Based on Multi-processor
- Research of Wavefront Reconstruction System for Adaptive Optics Based on Multi-core DSP
- TS101 high speed real time parallel signal processing system based on design and research
- Research on Special Audio Real-time Retrieval Algorithm and Its Implementation in the Fixed-point DSP
- A Study on Practical Technology about Static Security Check of Large Grid's Dispatching Plan
- Design and Implementation of Multi-computers Parallel Processing Fabric Defect Detection System
- The Design of Synthetic Aperture Radiometer Simulation System on GPU Platform
- Research on Fast Mosaic and Points Cloud Building Based on UAV Images in a Cluster Environment
- The Study of Cluster-based Synthetic Aperture Radiometer Signal-level Simulation
- The Design of Bank Insurance Storehouse Safety Inspection System
- The Research and Application of Data Acquisition Interface Technology in SCADA System
- Research on Isolated Multi-Channel Data Acquisition and Control Equipment
- Research on Efficient Network Packet Transmission Mechanism Based on Zero-Copy
- The Research of Network Traffic On-Line Classification System Based on Fpga
- Design and Implementation of the Parallelization Based on Hadoop Model Network Traffic Diversion
- Research on the Key Technologies of Software and Hardware of Parallel Task Schedyling of Multi-core Network Processor