Verification of Low-level Concurrent Code with Several Synchronization Mechanisms

Author
FuMing
Advisor
ChenYiYun , ZhangZuo
School
University of Science and Technology of China
Major
Computer Software and Theory
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2009
Downloads
93
Citations
0

Request the full text

Abstract

The emergence of multi-core multi-processor shared storage for the new generation of system architecture, accelerate the fast parallel software research and development based on shared resources demand has brought many challenges, which give high credibility parallel software structure based on shared resources. issue. Parallel software structure based on shared resources, interaction and communication between threads, mainly through access to shared resources, synchronization control access to shared resources is the key to guarantee the correct execution of parallel programs. Synchronization mechanisms for shared variable access control are mainly two kinds of locks and transactional memory. The traditional synchronization mechanism locks to protect critical areas to manage concurrent access to shared resource in the parallel program, use lock not only limit the efficiency of the implementation of the program in the multi-core processors, but prone to deadlock causes the program to enter the exception the implementation of the state's hidden. Read and write locks and reentrant lock is to optimize the implementation of lock synchronization mechanism, which read and write locks allow multiple threads to concurrent read-only access to shared data, reentrant lock by allowing the thread, once again held locks to to avoid self-deadlock. Transactional memory in recent years to play the multi-core multi-processing and other advantages of the system structure to carry out the new synchronization technology, it is trying to access shared memory allows a group instruction (called a transaction) atoms and isolation implementation to simplify parallel programming. The direction of the research team to verify the correctness of parallel programs using a variety of synchronization mechanisms, the papers focus on how to verify the correctness of the low-level parallel code using both read and write locks and reentrant lock synchronization mechanism, and explore Formal verification of parallel programs using both locks and transactional memory mixed synchronization mechanism. Existing formal verification framework and program logic reasoning correctness of parallel programs using locks, most only consider simple semantic non-reentrant mutex, regardless of the read-write locks and reentrant lock these optimal synchronization mechanisms will undoubtedly improve the parallel performance and ease of programming, but due to the complexity of its semantics, leading to the existing logic system can not be directly applied to reasoning they. In addition, the synchronization mechanism locks and transactional memory has its own advantages and disadvantages, the future of high-performance parallel software may need to use them to obtain the maximum performance gains, high trusted software design program logic is required to ensure at the same time using their parallel programs correctness designed a intermediate language to reflect the features of the locks and transactional memory synchronization mechanism is the premise of the reasoning mixed synchronization mechanism, few research work considered at the same time support the synchronization mechanism locks and transactional memory programming language and program logic design. Research synchronization mechanism for locking and transactional memory as well as the results of the existing program verification, the main work of this paper is divided into the following two aspects: on the one hand, at the assembly language level by extending after Professor Shao proposed concurrent prove assembler programming (CCAP) verification framework, parallel program correctness verification Hoare-style special program logic designed to support the use of read-write locks and reentrant lock synchronization mechanism, to achieve the goals of the structure carrying the basis of proof procedures (FPCC). We select the module better suited for the validation framework as the basis of logical reasoning mutex critical concurrent separation logic, for its reasoning verify read and write locks and lock reentrant limitations were as follows expansion: · by extended concurrent separation logic to support the reasoning of the parallel program for basic synchronization primitives to read and write locks, extended to the separation of the concurrent separation logic \write - write and read - write between threads on shared resources division intersecting strong separation described using weak separation allows resources to intersect description read - read between the threads of shared resources division, which make up the concurrent separation logic requires shared resources in a multi- The parallel threads disjoint divided insufficient. · Inference rules of concurrent separation logic based on the design of a support reasoning thread lock and lock again for the first time, to avoid resource thread repeatedly allowing concurrent separation logic correctly reasoning use reentrant lock parallel procedures. Coq theorem proving aids the validation framework and its reliability proved validation framework to verify the inference system based on trusted exclude this verification framework for higher reliability. On the other hand, proposed a novel language constructs \and discuss the difficulties and methods of verification reversible block of code, and lay the foundation for further in-depth study of the reversible block of code reasoning verification. Security attributes should meet the basic skills of the grammatical structure, illustrated by examples and elaborated reversible block of code can be safely executed.

Related dissertations

  1. The Research and Optimization of Digital Speech Codec Based on C55DSP
  2. Design and Implementation for the Signal Detecting System in Railway Terminal Subsystem
    YangYang ·Lanzhou University ·2012 ·Master's thesis
  3. H.264 Encoder Optimization Based on TMS320DM642
  4. A Modular Approach on Building Certified Software System
    GuoYu ·University of Science and Technology of China ·2007 ·Doctoral dissertation
  5. Authentication method based on the logical procedure in the development of High Confidence Software
    XiangSen ·University of Science and Technology of China ·2006 ·Doctoral dissertation
  6. The PN Behavior Theories and Its Applications of Concurrent System Synthesis
    JiangChangJun ·Institute of Computing Technology ·1998 ·Doctoral dissertation
  7. Design of Parallel Optimization Algorithm and Software and Port of Numerical Software
    WangJian ·Institute of Software ·2005 ·Doctoral dissertation
  8. Certifying Concurrent Porgrams Using Transactional Memory
    LiLong ·University of Science and Technology of China ·2008 ·Doctoral dissertation
  9. A Research on Binary-coded-fiber Sensor Detecting Liquid Level
    DuanJingBo ·Nanjing Forestry University ·2008 ·Master's thesis
  10. The Design and Implementation of an Assembly Simulator
    ShengXinYi ·Suzhou University ·2007 ·Master's thesis
  11. YC7150 grinding machine CNC transformation
    LiuYongPing ·Lanzhou University of Technology ·2003 ·Master's thesis
  12. MCU controlled electronic fuel injection pump test bench research
  13. Research and Development of a Portable Engine Air-fuel Ratio Meter
    TianFeng ·Hefei University of Technology ·2007 ·Master's thesis
  14. Distributed computing environment , inter-process communication strategy
    LiYan ·Tianjin Polytechnic University ·2007 ·Master's thesis
  15. Software Development Platform of the Single Chip Microcomputer Based on VC
    WangSong ·Shenyang University of Technology ·2006 ·Master's thesis
  16. The Realization of HCO Network Operating System with Cx51
    ZhouZheng ·Hefei University of Technology ·2006 ·Master's thesis
  17. Multi- link structure of city street lights energy-saving micro ultimate wireless controller
    ZhangAiRong ·Shandong University ·2005 ·Master's thesis
  18. Research on Optimal Design and Implement of DSP-based XVID Video Decoder
  19. PE file encryption Design
    WangYang ·Jilin University ·2008 ·Master's thesis
  20. Research and Development on Network Assisted Teaching System of Assembly Language Programming Course
    PengWenJun ·Chongqing University ·2008 ·Master's thesis