Cache Partitioning Policies on Chip Multi-processors for Scientific Applications

Author
SuoGuang
Advisor
YangXueJun
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2009
Downloads
428
Citations
3

Request the full text

Abstract

With chip multi-processors (CMP) widely used in high performance computing, the performance optimization for scientific applications oriented to CMPs has become a hot topic. Nowadays most of the mainstream CMPs use the shared cache, but the interference between the executing threads simutantiously will reduce the performance. The cache partitioning mechanisms could partition the shared cache among individual applications to avoid the interference between them. Under multiprogrammed environment, the cache partitioning mechanisms can improve the overall performance, reduce miss rate and enhance fairness. However, for the scientific applications, whether the cache partitioning mechanisms could really improve the performance and how to improve the performance is still an open problem. Considering these problems mentioned above, this thesis, oriented to scientific applications, facilitates further study on the cache partitioning mechanisms on the CMPs with shared the cache. The innovations of this thesis are as follows:Firstly, the space contention cache model (SCCM) for the shared cache is proposed. Considering the shared cache using the LRU policy, SCCM can predict the occupation percentage of the cache space, miss rate and collision probability among the concurrent processes accessing the shared cache. The experimental results show that SCCM can provide better precision than Prob Model. Moreover, in this thesis, SCCM is also applied to analyze the performance parameters both in the ideal case and the real case respectively when MPI (Message Passing Interface) applications use the shared cache. In the ideal case, considering the 2-way shared cache, the performance parameters of the MPI applications with 2 processes using the shared cache is modeled. Besides, compared with using the shared cache directly, the sufficient conditions for the cache partitioning method under which it can achieve a low miss rate are given. While in the real case, SCCM is applied to analyze the occupation pecentage of the space, miss rate and collision probability between processes of the real MPI applications. Finally, we draw a conclusion that cache partitioning method can improve the performance of the MPI application.Secondly, considering the load balancd MPI applications, the spatial-level cache partitioning (SLCP) is proposed. According to the information collected by the Miss Rate Monitor (MRM), The cache partition problem finally comes down to a dynamic programming problem by means of the performance prediction model in SLCP, and in line with whether all the IPC curves of the concurrent processes are non-decreasing convex functions, the dynamic programming problem is solved under that two conditions. Considering that SLCP may cause the load imbalancing problem, time-level cache partitioning (TLCP) is proposed based on SLCP. TLCP will partition the cache in the time dimension, so as to insure the load balancing of the MPI application. The NPB test cases are executed to evaluating the SLCP and TLCP in detail. The test results show that for the load balanced MPI applications with large-scale working set, the SLCP and TLCP will achieve the same acceleration of the performance in most cases, as for a few cases in which SLCP may bring about the load imbalancing problem, the TLCP will make up for it and get more speedup of the performance.Thirdly, considering the multiprogrammed multithreaded workloads based on OpenMP, the weighted cache partitioning (WCP) is proposed. At present, all of the existing cache partitioning methods is used to deal with the multiprogrammed single-threaded workloads, but none of them have considered the difference among the numbers of the threads in different processes. Based on the traditional cache partitioning technology orienting lowering miss rate, The WCP takes into account the influence of the numbers of the threads on the shared cache partition, and gives a weight to the processes according to the number of its threads. The experimental result shows that although the miss rate is somewhat increased when the WCP is applied, the IPC throughput, the weighted speedup and the fairness are improved.Fourthly, considering the load imbalanced MPI applications, the cache partitioning based two level load balancing framework (CPTLLBF) is proposed. The CPTLLBF makes use of the load balancing information provided by the executing processes in real time, and perform load balancing operations dynamically (include partial load balance and global load balance). The partial load balancing operation is performed inside a CMP, which partitions the shared cache for the processes executed by the CMP, so as to achieve the load balance within a CMP. The global load balancing operation is performed in the whole parallel computer, which in line with the need of the processes for the shared cache, maps the processes to the different CMPs owned by the system dynamically, then launches the partial load balancing operations among the CMPs used by the MPI application to insure the load balance in the range of the whole system. The experimental result shows that the CPTLLBF could reduce the execution time of load imbalanced MPI applications effectively.

Table of contents

Abstract 11-13 Abstract 13-15 first chapter 15-31 1.1 Background 15-18 < br /> 1.1.1 multicore processors in the broad field of high performance computing applications 15-16 1.1.2 Cache performance multicore processors become an important limiting factor 16-17 <br / > 1.1.3 parallel Program diversity 17-18 1.2 related work 18-26 1.2.1 Cache organization and management 18-19 < br /> 1.2.2 Cache performance analysis model 19 1.2.3 thread scheduling 19-20 1.2.4 shared Cache Partitioning 20-21 1.2.5 Cache partition basis 21-26 1.3 research content 26-27 1.4 main innovation 27-29 1.5 paper structure 29-31 Chapter SCCM: shared Cache space conflict model 31-75 2.1 background 31-37 2.1 .1 LRU strategy analysis 31-33 2.1.2 requirements Analysis 33-34 2.1.3 related work 34-37 2.2 SCCM model building 37-52 2.2.1 model assumes 37-38 2.2.2 LRU stack distance map 38-39 2.2.3 shared Cache space conflict model 39-48 2.2.4 status compression 48-52 2.3 SCCM model evaluation 52-63 2.3. a test environment and methodology 52-53 2.3.2 Cache shared impact on performance 53-54 2.3.3 SCCM model validation 54-60 <br / > 2.3.4 status compression algorithm analysis 60-61 2.3.5 key parameters analyzed 61-63 2.4 SCCM model application : MPI program to access the shared Cache analysis 63-72 2.4.1 MPI program Cache access ideal characteristic analysis 63-68 2.4.2 the number of processes for the two characteristics of the MPI program 68 -70 2.4.3 the number of processes for the four characteristics of an MPI program analysis 70-72 2.5 Chapter Summary 72-75 chapter for load balancing MPI program shared Cache Partitioning 75-103 3.1 background 75-76 3.2 SLCP: shared Cache space partitioning technique 76-88 <br / > 3.2.1 optimal performance shared Cache Partitioning 77-78 3.2.2 Cache failure rate monitor 78-79 3.2.3 IPC -based failure rate prediction model 79-80 3.2.4 the Cache Partitioning based SLCP model 80-88 3.3 TLCP: shared Cache time partitioning technique 88-91 <br / > 3.4 Cache partition realization 91-96 3.4.1 software 91-94 3.4.2 hardware Support 94-96 3.5 test and results analysis 96-101 3.5.1 test platform and test cases 96 3.5.2 test results and analysis 96-101 3.6 Summary 101-103 Chapter for multi- channel multi-threaded program sets weighted shared Cache Partitioning 103-119 4.1 background 103-104 < br /> 4.1.1 background 103-104 4.1.2 related work 104 4.2 weighted shared Cache Partitioning 104-111 4.2 .1 frameworks introduced 105 4.2.2 AMRM 105-108 4.2.3 Cache partitioning algorithm 108-111 4.3 testing and results analysis 111-117 4.3.1 test platform Introduction 111 4.3.2 metrics 111-112 4.3.3 test Case description 112-113 4.3.4 test results and analysis 113-117 4.3.5 overhead analysis 117 4.4 Summary 117 - 119 Chapter Cache -based division two load balancing 119-145 5.1 background 119-122 5.1.1 load imbalance causes 119-120 5.1.2 application-level load balancing 120-121 5.1.3 system-level load balancing 121-122 5.2 two load equilibrium framework 122-139 5.2.1 load balancing metric 123-125 5.2.2 load balancing basic framework 125-126 5.2 .3 partial load balance model 126-129 5.2.4 global load balancing model 129-134 5.2.5 two load balancing framework to achieve 134 - 139 5.3 testing and results analysis 139-143 5.3.1 test platform 139 5.3.2 micro test results 139-141 5.3.3 BT-MZ results 141-143 5.4 Summary 143-145 Chapter VI Conclusion and Outlook 145-149 6.1 work Summary 145-146 6.2 job Outlook 146-149 Thanks 149-151 References 151-161 author during term academic achievements 161-163 authors participated in the study during a research project 163

Related dissertations

  1. The Application of Load Balance for E-business Website
    JieZhen ·Tianjin University ·2012 ·Master's thesis
  2. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  3. The Research of Dynamic Resource Management Key Technologies in Cloud Computing
    FanYing ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Research and Design of Scalable Network Server Based on Linux
  5. Research and application of pushing send technology of server cluster based on
  6. The Research for Distributed Control and Addressing Mode of Software Defined Network
  7. Research on Cloud Resource Scheduling Method Across Cloud Computing Federation
    LvQiuYun ·Wuhan University of Technology ·2013 ·Master's thesis
  8. Simulation and Implementation for Robust Energy-efficient Routing Algorithms Based on Network Topology in IP Backbone Networks
    LiuJinZuo ·Northeastern University ·2013 ·Master's thesis
  9. Research on Resource Scheduling Algorithms in Cloud Computing Environment
    FanZongQin ·Beijing Jiaotong University ·2014 ·Master's thesis
  10. Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
    QianXuanTong ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Application and Research of Digital Room Service System Based on Cluster Server
  12. Design and Implementation of Video Monitoring Management and Load Balancing in Fuzhou
  13. Design and Implement of Reapply System of China Graduate Student
  14. The Design and Implementation of the Intelligent Cluster Rendering System
    MaHaiYin ·Shandong University ·2013 ·Master's thesis
  15. Shandong Unicom Online Self-service Research and Design
    LiWeiXia ·Shandong University ·2013 ·Master's thesis
  16. Office system design and implementation of mobile collaboration
    ZhangWanJiang ·Heilongjiang University ·2013 ·Master's thesis
  17. Research and Implementation of Real-time Backup Platform
  18. Research and Implementation of Distributed Disaster Recovery System
  19. A Study of Swarm Intelligence Optimization in Cloud Computing Resource Load Balancing
    FengXiaoJing ·Nanjing University of Technology ·2012 ·Master's thesis
  20. Research on Load Balancing Algorithm of Backup System Based on Hustbackup