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

Request the full text

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

  1. Research on the Resource Allocation System of "Two Bombs and One Satellite" Project
  2. The Rural Financial Resources Allocation Efficiency Research in Yunnan Province
  3. The Research of Bank Resources Deployment Based on the Financial Ecological Environment and Risk Level
    PengZhuo ·Hunan University ·2013 ·Master's thesis
  4. Weichai Power Group Investors Budget Management System Optimization Design
    LuoBingGeng ·Central South University ·2012 ·Master's thesis
  5. Effects of Diversified Strategic of Resources Allocation on Corporation Performance
    ZhaoJuanJuan ·Hunan University ·2012 ·Master's thesis
  6. Research on Multi-project Scheduling Management Improvement for Hunan Post&Telecom Smart System Engineering CO.LTD
    LiuZhiJun ·Hunan University ·2012 ·Master's thesis
  7. Research on the Strategies of Operation Model and Resource Integration of Beijing CCID INFOTECH.INC
    ChenZuo ·Chinese Geology University (Beijing) ·2014 ·Master's thesis
  8. Synthetical Plan Administration Research of China22MCC Group Electrical&Mechanical Installation Engineering CO.
    LiuAiRui ·Yanshan University ·2012 ·Master's thesis
  9. Sustainable Development of Interational Beverage Company in China’s General Trade Channle
  10. Study on the Mechanism of Resource Allocation of China’s Export-oriented Food Production
    GuoYanYan ·Henan University of Technology ·2013 ·Master's thesis
  11. The Research of Agricultural Land Management in Marginal Urban Communities
    WangBin ·Shanghai Jiaotong University ·2012 ·Master's thesis
  12. Research on the Invisible Market in China’s Land Resource Allocation
    LuoHuPing ·Hunan Agricultural University ·2013 ·Doctoral dissertation
  13. Research on Chinese Unbalanced Economic Issues Based on Gunnar Myrdal’s Cumulative Causation Theory
    YangLongGang ·Xiamen University ·2014 ·Master's thesis
  14. The Re-recognition of the Relation of Borrowing and Lending in the Economics
    LiDeGui ·Nankai University ·2013 ·Doctoral dissertation
  15. Research on Dynamic Capabilities Perspective of Internal Capital Market Operation
    Yi ·Xiamen University ·2014 ·Master's thesis
  16. The Research and Implementation of Resource Adaptive Allocation in a Virtual Environment
  17. Random Task-oriented User Utility Optimization Model in the Cloud Environment
    ZhuMin ·Hunan University ·2013 ·Master's thesis
  18. Research on Resource Scheduling Algorithms in Cloud Computing Environment
    FanZongQin ·Beijing Jiaotong University ·2014 ·Master's thesis
  19. Design and Implementation of Workflow Scheduling Mechanism Based on Resource Allocation
    ZhaoYaLi ·Harbin Institute of Technology ·2013 ·Master's thesis
  20. Hongta Group Service Oriented Data Center Platform and Application Architecture
    ZhangZhiJie ·Zhejiang Sci-Tech University ·2014 ·Master's thesis