Research on VM Extension Based Software Debugging

Author
ZhangZuo
Advisor
DongJinXiang , CaiMing
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
187
Citations
4

Request the full text

Abstract

With the rapid development of computer architecture, programming languages, and constantly enrich and computer applications, the size of software systems is increasing, ever-increasing complexity of the task, and software concurrency continue to strengthen, potential software bug has been increasingly difficult to capture. Directly due to a software error caused the system failure rate of sustained increments. Therefore, how to improve the reliability of the software has become the main problem facing the design and development of software systems. At present, in the field of software reliability engineering for large, complex, multi-task concurrent systems, using a systematic approach to automated support for software debugging and fault diagnosis, intelligent, with a low cost, good debugging characteristics, and thus become a research focus in the international community. In this paper, a complex software system debugging difficulties faced by virtual machine architecture extensions to support software debugging. By extending the architecture of the virtual machine, software failure to reproduce the whole process of data consistency check and playback technology and Incremental. This paper first introduces the software reliability and software debugging of general concepts, has done a detailed analysis of the international software debugging techniques and virtual machine technology, software-based virtual machine technology extension debugging technology framework. Virtual machine architecture extensions, a detailed analysis of the architecture of the open source emulator Bochs Bochs in the CPU, memory, clock, and interrupt system, peripherals four module mechanism. Multitasking concurrent system software failure is difficult to reproduce the problem, this paper proposes a software failure to reproduce the whole process and playback technology, and gave details of the principle and implementation of checkpoint log playback module. Early detection and positioning data structure consistency essential for the normal operation of the software, and thus through the key data structure in the complex system runtime consistency checks, is conducive to a software failure. In this paper, based on architecture expandable incremental data structure consistency check, incremental type of check can greatly reduce the cost of data consistency check. This article detailed explanation the Incremental data consistency check technical framework as well as part of the realization of the principle, and in the end the whole process of incremental data consistency checks with examples.

Table of contents

Summary 3-4 Abstract 4-10 Chapter 1 Introduction 10-17 1.1 Introduction 10-11 1.2 Software Reliability Overview 11 1.2.1 software reliability concepts 11 1.2.2 software reliability management 1.2.3 to ensure software reliability 11 1.3 software debugging technology overview 11-13 1.3.1 the concept of software debugging 11-12 the 1.3.2 software fault classification 12 the 1.3.3 software debugging the general process 12-13 1.4 software debugging techniques 13-14 1.5 development status at home and abroad 14-15 1.6 thesis research background and content 15-17 Chapter 2 extensible software-based virtual machine debugging overall design 17-27 2.1 software debugging method debug 2.1.1 interactively, 17-18 2.1.2 Static on the 17th Analysis 17 2.1.3 dynamic checks 17-18 2.2 software debugging techniques based on a virtual machine extended 18-22 2.2.1 based The software architecture supports debugging techniques 18-19 2.2.2 virtual machine technology the 19-21 2.2.3 software debugging techniques based on a virtual machine extended 21-22 2.3 overall structure of software debugging techniques based on a virtual machine extended the 22-24 2.3.1 simulated execution environment its expansion 23-24 2.3 .2 software failure analysis and diagnostic support 24 2.4 software debugging techniques based on a virtual machine extended 24-25 2.4.1 software process failure replay and playback technology 25 2.4.2 incremental data consistency checking technique 25 2.5 Chapter Summary 25-27 Chapter 3 Bochs architecture analysis 27-40 3.1 Overview 27-29 3.1.1 Bochs About the reasons 27 3.1.2 use Bochs 27 - 28 3.1.3 Bochs overall structure the 28-29 3.2 CPU model 29-32 3.2.1 CPU simulation process 29 3.2.2 interrupt handling the 29-30 3.2.3 fetch 30-31 3.2.4 Translation refers 31 3.2.5 perform the 31-32 3.3 memory system 32-36 3.3.1 Bochs memory system structures 32 3.3.2 I / O devices, memory mapping mechanism 32-34 3.3.3 paging mechanism 34-36 3.4 clock interrupt system 36-38 <br / > 3.4.1 clock system 36-37 3.4.2 interrupt system 37-38 3.5 peripheral model 38-39 3.5. a peripheral model framework 38 3.5.2 Peripheral simulation implementation 38-39 3.6 Chapter Summary 39-40 4 Chapter software failure to reproduce the whole process and playback technology 40-49 4.1 Overview 40-42 4.1.1 log-based playback technology 40 <br / > 4.1.2 extension technology based on virtual machine failure to reproduce the technology 40-42 4.2 system framework 42 4.3 checkpoint (checkpoint) module 42 - 43 4.4 log (Log) module the 43-44 4.4.1 non-deterministic events the 43-44 4.4.2 achieve 44 < br /> 4.5 playback (replay) module 44-45 4.6 system performance test 45-48 4.6.1 testing program 45-46 <br / > 4.6.2 Test Results 46-48 4.7 Chapter Summary 48-49 Chapter 5 Incremental data consistency checks 49-63 <br / > 5.1 Overview the the 49-51 5.1.1 data consistency 49 5.1.2 Data consistency check 49-50 5.1 .3 incremental data consistency checking technology 50-51 5.2 incremental data consistency checking technology framework the 51-52 5.3 memory access monitoring implementation the 52-58 5.3.1 memory access monitoring interface 52 5.3.2 memory access monitoring mechanism 52-53 5.3.3 Memory Access nbsp registration and cancellation of the monitoring function; the 53-54 5.3.4 memory access operation to capture 54-55 5.3.5 Memory Access the monitoring table lookup 55 -57 5.3.6 monitoring function of the jump execution and returns are found; 57-58 5.4 implementations of data consistency check 58-60 5.4.1 Get a local check function 58 5.4.2 Tracking modify 58 5.4.3 found affected data the unit 58-59 5.4.4 interface 59-60 5.5 Case Study 60-62 5.6 Chapter Summary 62-63 Chapter 6 Summary and Outlook 63-65 6.1 Summary the 63-64 6.2 Looking to References 64-65 65-68 Acknowledgments 68

Related dissertations

  1. Research on VM-based Program Spectra Difference Analysis and Fault Localization
    YeZuoZuo ·Zhejiang University ·2008 ·Master's thesis
  2. Research on VM-based Incremental Checkpoint and Execution Replay
    MaChao ·Zhejiang University ·2008 ·Master's thesis
  3. Research on Performance Monitoring Technique of Cluster Management of the Virtual System
    WangXiaoJuan ·Xi'an University of Petroleum ·2013 ·Master's thesis
  4. Research on Attacks and Prevention Technology Based on ARP and PPPoE
    ZhangWen ·Sichuan Normal University ·2013 ·Master's thesis
  5. Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
  6. Research on Architecture-Based Software Reliability Demonstration Testing Method
    QiZuo ·Donghua University ·2013 ·Master's thesis
  7. Theory and Method of Component Based Software Reliability Analysis
    WangQiang ·Hefei University of Technology ·2012 ·Doctoral dissertation
  8. Study on the Efefct Analysis of Testing Methods on Software Reliability
    LiXiaoXue ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  9. The virtual system self-healing analysis model research and Application
  10. A Data Persistence System for Virtual Ma-chines in Cloud Environment
  11. A Comprehensive Checkpoint Mechanism for Virtual Disk Image
  12. Overcommitting Memory by Initiative Share from KVM Guests
  13. Research on Techniques of Bandwidth Controlling of Virtual Machine in Data Center
  14. Research of Optimizing Virtual Machine Checkpoint
  15. Research on the Optimization Mechanisms for Hot Standby Based on Remus
  16. Research on Live Migration of Virtual Machine across the Datacenter
    YangPengZuo ·Northwest Normal University ·2013 ·Master's thesis
  17. The Research of Dynamic Double-Level Layers VM Scheduler Strategies
  18. Study of Data Processing about Over-the-horizon Track
    ZhaoNengLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Research of Multifunction Autonomous Underwater Vechile Motion Control
    LiYueMing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  20. The Research of Reliability of Ultracentrifuge
    LuHua ·Hunan University ·2013 ·Master's thesis