Research on Operating System Kernel for Scientific Calculation Based Applications

Author
ChenZuo
Advisor
SunNingZuo
School
Institute of Computing Technology
Major
Computer System Architecture
Classification
TP316 Operating system
Degree
Master's thesis
Year
2005
Downloads
107
Citations
0

Request the full text

Abstract

The performance of a supercomputer is mainly decided by hardware, system software, algorithms and application software. Appropriate optimizations and customizations on system software for each category of applications can increase application performance on supercomputers.Scientific calculation is an important usage of supercomputers. Applications based on scientific calculation usually have huge working set, heavy system load, and therefore need a lot of time to finish. The influences of the operating system on performance of scientific calculation are discussed in this dissertation, including not only the influences of OS’memory management and process scheduling strategies, but also the impact of noises generated in OS kernel. And some brief analysis and experiments are carried out upon a few possible optimizing methods on the operating system for scientific calculation, based on above discussion result.A super page allocating mechanics for user programs is implemented in this dissertation, as a supplement of the memory management subsystem in Linux OS. It creates super page frames with legacy 4KB size page frames, and directly assigns them to user programs through reallocated system calls, which are done by a kernel module supported in Linux. This mechanics is not transparent to application programmers, as they can decide by themselves whether super pages should be used in their programs, or adopt both super pages and legacy ones simultaneously. Then a series of performance evaluations are performed on this super page based memory management optimization. The results show that our optimization has a positive impact on the performance of inter-node communication and the performance of address translation in local virtual memory.This dissertation analyzes the inter-node communication pattern of High Performance Linpack (HPL) benchmark program on Myrinet system. The time consumption of communication and the packets distribution in length are observed and examined, as well as the impact of problem size N and data block size NB on the communication pattern. The characteristics of HPL benchmark program’s inter-node communication pattern in clusters are then determined. With the understanding of its communication pattern and our super page optimization applied, a HPL performance benchmark is performed on the Dawning 4000A supercomputer. An over 4 percent peak performance improvement is observed comparing to the result obtained without super page optimization, under 1,024 CPUs’scale.The main contribution of this dissertation are: (1) Dawning 4000A supercomputer’s two places increment in the TOP500 List of June 2004 (with 10th place); (2) about 17.5 percent increment on the bandwidth of Myrinet when using 8MB packets.

Table of contents

Summary 4-5 Abstract 5-8 Chapter Introduction 8-16 1.1 characteristics of scientific computing < br /> 1.2 means to enhance scientific computing performance to 8-9 1.3 operating system performance scientific computing the 9-14 1.4 This work overview 14 the -16 Dawning 4000A supercomputer About 16-24 2.1 Shuguang 4000A's background and basic performance indicators 16 2.2 hardware structure 16-18 2.2.1 basic architecture and hardware the 16-17 2.2.2 Opteron processor 17-18 2.3 operating system and application environment the 2.4 communication subsystem 18-19 19-23 2.4.1 Myrinet high-speed communication network the 19-21 2.4.2 BCL4, the underlying communication Software 21-23 2.5 Chapter Summary 23-24 Chapter scientific computing performance and system software 24-40 3.1 memory management strategies 24-30 3.1.1 optimized page placement and exchange strategy 25-28 3.1.2 super page to improve performance 28-30 the 3.1.3 memory performance optimization 30 3.2 process scheduling policy 30-32 3.3 reduces system noise 32-38 3.3.1 Noise Sources and Effects 33-35 3.3.2 to reduce the noise in the Linux system to try the 35-38 3.4 Other factors affect 38-39 3.5 Chapter Summary 39-40 Chapter realization of a Linux memory management optimization method 40-52 4.1 super page concept 40 - 41 4.2 Intel i386 and AMD x86-64 architecture hardware support super page 41-44 4.3 under Linux the super page in the user space 44-50 < br /> 4.3.1 application allocating super page are found; the 45-48 4.3.2 super page recycling and turnover 48-50 4.4 super page communication between nodes the meaning 50-51 4.5 Chapter Summary 51-52 Chapter performance testing and evaluation 52-66 5.1 single memory access performance test 52-53 the 5.1.1 test method Description 52-53 5.1.2 test results and analysis 53 5.2 Myrinet network communication performance test 53-54 5.3 parallel Linpack performance test the 54-64 5.3.1 Linpack test program About 54-57 5.3.2 HPL program communication overhead analysis 57-62 5.3.3 Shuguang 4000A fleet the HPL test the 62-64 5.4 Chapter Summary 64-66 <br / 66-68 Reference> Chapter 6 Conclusions and future work the 66-68 6.1 Full summary 66 6.2 next job outlook literature 68-70 Acknowledgements 70-71 the author resume 71

Related dissertations

  1. 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
  2. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  3. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  4. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  5. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  6. Optimization of Commercial Bank Credit Rating Index System for SMEs
  7. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  9. 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
  10. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  11. 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
  12. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  13. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  14. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  15. Research on China’s Tax Cost and Optimization
  16. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  17. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis
  18. The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
  19. Developing Strategy for Service Industry of the Nankai District Tianjin
    MaoZuoJin ·Tianjin University ·2012 ·Master's thesis
  20. Fuzhou Mail Processing Center Optimization Research
    ZhuangYouLin ·Xiamen University ·2013 ·Master's thesis