CC-NUMA -based resource allocation Research and Implementation
- Author
- XuLi
- Advisor
- LuoJun
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP368.5 Servers, workstations
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 103
- Citations
- 0
Abstract
Non-Uniform Memory Access (NUMA, Non-Uniform Memory Access) is the high-performance server architecture is one of the mainstream . Compared with SMP , NUMA systems there is a memory access latency problem of inconsistency , so the operating system to optimize all aspects with special needs . Linux operating system to optimize the performance of NUMA systems work mainly concentrated in the core layer, such as discontinuous memory support , ACPI support , page migration and page replication technology and page configuration technology. This topic from the perspective of the user layer , draws SGI's CpuMemSets, proposed the idea of ??resource allocation . Resource allocation techniques mainly for privileged users and applications , specify the task scheduling and memory allocation to a specific system resources ( processors, memory blocks, etc. ) on the realization of local resource scheduling . This paper describes the background knowledge of the subject and a variety of NUMA memory optimization techniques , and then put forward the idea of ??resource allocation , expounded the basic principle of the allocation of resources , and a detailed analysis of the Linux operating system resource allocation techniques CpuMemSets implementation mechanism found CpuMemSets lack of system resources such as topology configuration information to guide decision-making flaws . For this deficiency , respectively, from the kernel and user levels to improve and optimize the two aspects . At the kernel level , we proposed and implemented a NUMA topology based on hierarchical scheduling algorithms. The task scheduling algorithm from the kernel operating system to strengthen the support for NUMA , to better achieve the ability to get close with NUMA node scheduling, improving data access locality. At the user level , the user can provide a user-level library functions, and made with a variety of decision-making information to guide resource allocation strategy, effective solution to the user because it is not perceived resource misallocation topology information to make choices. Finally, on SMP machines simulate NUMA environment and experimental results obtained to verify the resource allocation techniques and have the ability to get close NUMA node scheduling effectiveness and availability.
Table of contents
Directory 4-7
Figures 7-8
Table of Contents 8-9
Summary 9-10
ABSTRACT 10-11
The first chapter 11-18
§ 1.1 research background and significance 11-12
§ 1.2 research status 12-15
§ 1.3 Introduction topics 15-16
1.3.1 engineering environment 15
1.3.2 contents and main results 15-16
§ 1.4 paper structure 16-18
Chapter Resource Allocation technical analysis and research 18-27
§ 2.1 The basic principle of the allocation of resources 18
§ 2.2 CPUMEMSETS Profile 18-20
2.2.1 Project Description 19
2.2.2 basic data structures and their relationships 19-20
§ 2.3 CPUMEMSETS implementation mechanism 20-25
2.3.1 CpuMemSets kernel implementation 21-24
2.3.2 CpuMemSets configuration management 24
2.3.3 CpuMemSets technical characteristics 24-25
§ 2.4 defects and improve vision 25
§ 2.5 Chapter Summary 25-27
Chapter operating system task scheduling algorithm 27-34
§ 3.1 traditional task scheduling algorithm 27-31
3.1.1 Traditional workflow task scheduling algorithm 27-29
3.1.2 shortcomings of traditional task scheduling algorithm 29-31
§ 3.2 O (1) scheduling algorithm 31-33
3.2.1 O (1) scheduling algorithm Introduction 31
3.2.2 O (1) scheduling algorithm for NUMA support 31-33
§ 3.3 Chapter Summary 33-34
Chapter NUMA Scheduling Algorithm Design and Implementation 34-49
§ 4.1 O (1) scheduling algorithm defects 34
§ 4.2 has the ability to get close to the NUMA node scheduling to achieve 34-39
4.2.1 NUMA topology based on hierarchical scheduling algorithm 34-36
4.2.2 machine topology information extraction 36-39
§ 4.3 The algorithm described 39-45
4.3.1 Load Balancing NUMA scheduler implementation 41-44
4.3.2 node selection NUMA scheduler implementation 44-45
§ 4.4 algorithm performance evaluation 45-47
4.4.1 experimental environment 45-46
4.4.2 Experimental results 46-47
4.4.3 Analysis 47
§ 4.5 Chapter Summary 47-49
Chapter CPUMEMSETS optimization and realization 49-61
§ 5.1 user needs analysis 49
§ 5.2 user-level library function design and implementation 49-54
5.2.1 CpuMemSets overall framework design 49-50
5.2.2 prctl system call 50-52
5.2.3 user-level library functions 52-53
5.2.4 build shared libraries 53
5.2.5 user invokes programming libraries 53-54
§ 5.3 with a variety of decision-making information to guide resource allocation strategy 54-57
5.3.1 Decision Information 55
5.3.2 NUMA topology of the system reflects 55-57
5.3.3 build optimized startup script 57
§ 5.4 Resource Allocation technical performance evaluation 57-60
5.4.1 experimental tool 58-59
5.4.2 Test Results 59
5.4.3 Analysis 59-60
§ 5.5 Chapter Summary 60-61
Chapter VI Conclusion and Outlook 61-63
§ 6.1 Work Summary 61
§ 6.2 Research Prospects 61-63
Thanks 63-64
Appendix A: master's author papers published during 64-65
Appendix B: to participate in research projects for Master during 65-66
References 66-68
Related dissertations
- Research on the Resource Allocation System of "Two Bombs and One Satellite" Project
- The Rural Financial Resources Allocation Efficiency Research in Yunnan Province
- The Research of Bank Resources Deployment Based on the Financial Ecological Environment and Risk Level
- Weichai Power Group Investors Budget Management System Optimization Design
- Effects of Diversified Strategic of Resources Allocation on Corporation Performance
- Research on Multi-project Scheduling Management Improvement for Hunan Post&Telecom Smart System Engineering CO.LTD
- Research on the Strategies of Operation Model and Resource Integration of Beijing CCID INFOTECH.INC
- Synthetical Plan Administration Research of China22MCC Group Electrical&Mechanical Installation Engineering CO.
- Sustainable Development of Interational Beverage Company in China’s General Trade Channle
- Study on the Mechanism of Resource Allocation of China’s Export-oriented Food Production
- The Research of Agricultural Land Management in Marginal Urban Communities
- Research on the Invisible Market in China’s Land Resource Allocation
- Research on Chinese Unbalanced Economic Issues Based on Gunnar Myrdal’s Cumulative Causation Theory
- The Re-recognition of the Relation of Borrowing and Lending in the Economics
- Research on Dynamic Capabilities Perspective of Internal Capital Market Operation
- The Research and Implementation of Resource Adaptive Allocation in a Virtual Environment
- Random Task-oriented User Utility Optimization Model in the Cloud Environment
- Research on Resource Scheduling Algorithms in Cloud Computing Environment
- Design and Implementation of Workflow Scheduling Mechanism Based on Resource Allocation
- Hongta Group Service Oriented Data Center Platform and Application Architecture