The Implementation and Optimization of LBM Algorithm on Cell Processor

Author
ZhaoQiuPing
Advisor
YangCanQun
School
National University of Defense Science and Technology
Major
Computer technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2008
Downloads
54
Citations
0

Request the full text

Abstract

Heterogeneous multi-core processor is an important research topic today. Cell, as a representative heterogeneous multi-core processor, has drawn wide attention from the industry to its unique design of the separate operation by PowerPC Processor and Synergistic Processor. Its excellent performance has also been given full play in PS3 play station and some media-rich consumer-electronics devices. However, it is still at the stage of research and exploration as to how to apply this system structure into scientific programming. In this article, the floating-point benchmark test program LBM from SPECfp2006 is sorted out and transplanted into Cell processor to optimize and evaluate the capacity of Cell processor in high-performance scientific calculation programming.There are five aspects of the work covered in this research. First, the research starts with the hardware structure and the programming environment of Cell processor. Second, the analytical research is done with the data layout and realization theory of the LBM benchmark program, and the tasks from PPE and SPE after LBM transplant have been divided according to the characteristics of Cell. Third, a new program mode has been devised to realize the transplant of LBM program, and based on the new mode, the codes from PPE and SPE have been transplanted respectively. Fourth, the SIMD vector configuration and double-buffering method have been utilized upon the SPE codes to optimize and realize the best operation performance of Cell. Fifth, the performance of the transplanted LBM program has been tested and compared with that of X86 processor.The analysis of the test results leads to the conclusion that the LBM can obtain better performance with Cell processor and Cell processor has a better capacity in scientific computing.

Table of contents

Abstract 11-12 ABSTRACT 12-13 first chapter 13-20 1.1 Background topics 13-16 1.1.1 heterogeneous multicore processor 13-15 1.1.2 CELL processor 15-16 1.2 Research 16-18 1.2.1 the Cell processor programming support 16-17 1.2.2 The Cell processor, application development 17-18 1.3 major work and innovation 18-19 1.4 This article structure 19-20 Chapter II Cell processor programming environment 20-38 2.1 Overview 20-22 2.1.1 Cell three breakthroughs in processor performance 21-22 2.2 Cell processor structure 22-26 2.2.1 the PPE processor 23-24 2.2.2 the SPE processor 24-26 2.2.3 EIB ring bus 26 2.3 Cell processor programming environment 26-38 2.3.1 PPE directive sets 26-29 2.3.2 SPU instruction set 29-30 2.3.3 Storage Domain 30-32 2.3.4 SIMD vectorization 32-34 2.3.5 DMA transfer between processors and communication 34-38 Chapter LBM principle and algorithm 38-43 3.1 LBM principle 38-40 3.1.1 Lattice - Boltzmann method Introduction 38-39 3.1.2 LBM mathematical principles 39 3.1.3 LBM method of physical model 39-40 3.2 LBM algorithm C language to achieve 40-43 3.2.1 data layout 41 3.2.2 data initialization 41 3.2.3 LBM program main function and functional description 41-42 3.2.4 LBM execution flowchart 42-43 Chapter LBM algorithm implementation on the Cell processor and optimize 43-65 4.1 program tasks divided 43-45 4.1.1 main basis and principles 43 the LBM 4.1.2 function execution performance analysis 43-44 4.1.3 LBM division of tasks on the Cell processor 44-45 4.2 LBM programming mode on the Cell 45-51 4.2.1 Cell, several major programming model introduced 45-47 4.2.2 dual parallel programming mode LBM program 47-51 4.3 PPE code transplant 51-55 4.3.1 computing tasks assigned 52 4.3.2 SPE threads created 52-54 4.3.3-mail instructions to send and receive 54 4.3.4 multithreaded synchronization control 54-55 4.4 SPE code transplant 55-58 4.4.1 module body structure design 55-56 4.4.2 data buffer settings 56 4.4.3 instruction control module 56-57 4.4.4 DMA transfer function realization 57-58 4.5 SPE on code optimization 58-65 4.5.1 SIMD vector optimization 58-60 4.5.2 double buffering optimization 60-65 Chapter test results and the performance evaluation 65-71 5.1 test environment 65 5.2 test results and analysis 65-71 5.2.1 porting correctness verification 65 5.2.2 SPE code optimization results verify 65-69 5.2.3 Performance Comparison with the implementation of the X86 processor 69 5.2.4 and summarized are found; 69-71 Chapter VI Conclusion 71-72 6.1 work summarizes 71 6.2 Looking 71-72 Acknowledgements 72-73 the References 73-76 the author achieved academic achievements during the study period 76

Related dissertations

  1. Study on AD Trading Company Internal Control System
    WangMaoSong ·Northwestern University ·2013 ·Master's thesis
  2. Promoting the Related Issues Research of Implementing Human Resource Accounting in China
    HuangYaPing ·Shanxi University of Finance ·2014 ·Master's thesis
  3. Accounting Information Technology Standards Development and Implementation of Research-for Example in XBRL
    ChaiCiRui ·Shanxi University of Finance ·2014 ·Master's thesis
  4. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  5. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  6. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  7. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  8. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  9. Optimization of Commercial Bank Credit Rating Index System for SMEs
  10. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  12. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  13. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  14. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  15. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  16. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  17. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  18. Research on China’s Tax Cost and Optimization
  19. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  20. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis