A Non-deterministic Events Log System Based on the Paravirtual VM Xen
- Author
- PanZhengQiu
- Advisor
- HanZongFen
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP319 Specific applications
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 140
- Citations
- 1
Abstract
Log system is very important for system reliability and system security. Log-and-Replay system is usually applied to system debugging, system fault recovery, reduction of spyware attacks, and so on. With the development of virtual technology, virtual machine operating system provides fewer hardware interfaces and provides a better trusted computing base, people began to study the log system on the virtual machine. There are several log-and-repay systems on the virtual machine that can log enough information for replay. However, these systems have some flaws: the WMMs they chosen have detrimental consequences for performance; some needs to modify the guest OS; the log files they provided have too large size.Based on the above analysis, this paper presents a new log system on a paravirtual VMM called Xen.The paravirtual VMM Xen has the best performance in VMMs and is a open source project. Logging contents are gotten and recorded in the hypervisor and privileged domain. Thus, we don’t need to modify the logged system. The log system XLS logs the non-deterministic events of a lightweight operation system called Mini-OS. The non-deterministic events including keyboard input and time updated. Use the performance counter as the benchmark not the system time to log the precise time when the event happened. The log files are saved beyond the logged domain and organized to different structures with the different events, such as the keyboard input and time updated were saved in the different files. In this way, we could organize the modules and content more clearly, use fewer spaces to store the log files.The log system log the keyboard input and time updated on the lightweight operation system Mini-OS. In the experiments: logging the keyboard input would cost 12us and bring the overhead 0.06%; logging the time updated would cost 17us and bring the overhead 0.001%; the log file would increase 1.4MB each day. The overhead due to logging and the log file growth rate are far less than Revirt, ExecRecorder and ReTrace.
Table of contents
Abstract 4-5
ABSTRACT 5-8
1 Introduction 8-15
1.1 issues 8-9 <br / > 120 research status 9-13
1.3 background and research topics 13
1.4 articles framework 13-15
2 non-deterministic event recording system design 15-24
2.1 system Overview 15-17
2.2 architecture and function module 17-20
2.3 work process 20-22
2.4 Summary 22-24
3 non-deterministic events keyloggers 24-34
3.1 virtual machine key values Get 24-26
3.2 virtual machine access keys count 26-31
3.3 key event logs generated 31-32
3.4 Summary 32-34
4 system clock recording non-deterministic events 34-42
4.1 virtual machine access to the system clock value 34-36 <br / > 4.2 virtual machine system clock value transmission 36-39
4.3 clock event logs generated 39-41
4.4 Summary 41-42 <br / > 5 System application and Performance Analysis 42-52
5.1 test environment 42-44
5.2 functional Test 44-48
5.3 performance Test 48-51
5.4 Summary 51-52
6 Summary and Outlook 52-54
Thanks 54-56
References 56-59