Asymmetric Real-time Scheduling Algorithm Research Based on Xen

Author
YuPeiJie
Advisor
QiZhengWei
School
Shanghai Jiaotong University
Major
Applied Computer Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2011
Downloads
157
Citations
0

Request the full text

Abstract

In recent years, with the continuous development of virtualization technology, in particular the chip manufacturer to provide more and more hardware support, the embedded virtualization has a solid foundation. The embedded virtualization technology is mainly adopted in mobile communication and industry control. The operating systems used in the industry control have strong demand for real-time. In the past, a big system was constructed by several real-time control subsystems and the subsystem runs at independent hardware platform. Thus, these subsystems could be co-running at a multiprocessor platform by the embedded virtualization technology as well as cut down device and maintenance cost without sacrifice performance and influence real-time response time. The subsystems could run without influence others; the stability, reliability and security are guaranteed. A general purpose operating system like Windows XP or Linux also be able to run at the same hardware platform to supply a friendly human interface.One of the virtualization technology’s features is support many operating systems to run at the same time. The virtualization platform needs to allocate CPU time slice to these operating systems reasonable and effectively for they are co-running at the same hardware platform. Thus the algorithm to allocate CPU time slice is called virtual machine scheduling algorithm.Nowadays, the popular virtualization platform including VMWare, Virtual PC, KVM and Xen could not support real-time virtual machine well. And the Xen platform’s Credit Scheduler allocates CPU time slice fairly and efficiently. According the Credit value of different virtual machines, it divided them into three priorities: under, over and idle. The virtual machines could be at three states: boost, running and block. Also the scheduler could ensure the virtual machines to share the CPU fairly, but it could not be able to guarantee the real-time performance of real-time virtual machines.Based on in-depth research and analysis on Xen’s Credit scheduler, this paper presents an improved asymmetric real-time scheduling algorithm. The asymmetric real-time scheduling algorithm is featured with real-time guest friendly, real-time event driven mechanism and multiple real-time guests balancing method. The real-time guest’s event latency is cut down effectively and the real-time performance is improved. And the real-time performance shaking that caused by preemption recurrence between real-time guests is eliminated by the multiple real-time guests balancing method. The experiment results show that the real-time performance of the real-time guests in Xen is enhanced effectively.

Table of contents

Abstract 5-6 ABSTRACT 6-11 first chapter 11-16 1.1 Background and significance 11 - 12 1.2 The research objectives 12-13 1.3 research status 13-14 1.4 this subject research 14-15 1.5 the organizational structure of this article 15-16 Chapter II, the architecture of the Xen virtual machine and Implementation 16-26 2.1 the Xen paravirtualized architecture and realization of 16-20 2.1.1 CPU virtualization 17-18 2.1.2 memory semi-virtualization 18-19 2.1.3 I / O semi- Virtualization 19-20 2.2 of the Xen virtualization architecture and 20-23 2.2.1 the CPU virtualization 21-22 2.2.2 Memory Virtualization 22 2.2.3 I / O virtualization 22-23 2.3 Xen virtual machine monitor layer critical technology 23 - 25 2.3.1 super call 24 2.3.2 event channel 24-25 2.4 Summary 25-26 chapters Xen Virtual Machine Scheduling Framework and Algorithm 26-39 3.1 Xen scheduling algorithm About 26-27 3.2 Xen virtual machine scheduling algorithm loaded 27 - 28 3.3 Xen virtual machine operating mechanism of the scheduling algorithm 28-32 3.3.1 Xen scheduling algorithm structure body 28-30 3.3.2 Scheduling Algorithm run 30-32 3.4 scheduling algorithm for critical data structures 32-34 the VCPUs in 3.4.1 the Xen 32-33 3.4. the Xen in the Domain 33-34 3.5 the Xen main scheduling algorithm analysis 34-38 3.5.1 of BVT scheduling algorithm 34-35 3.5.2 SEDF scheduling algorithm 35-38 3.6 Summary 38-39 Chapter IV of this chapter asymmetric real-time scheduling algorithm design and 39-52 4.1 Credit Scheduling Algorithm 39-46 4.1.1 at Credit Scheduling Algorithm The basic idea 39-40 4.1.2 at Credit scheduling algorithm strategy 40-44 4.1.3 Credit Scheduling Algorithm for testing the virtual machine of the real-time customer support 44-46 4.2 asymmetric real-time scheduling algorithm design and 46-51 4.2.1 asymmetric real-time scheduling algorithm design thinking 46-47 4.2.2 asymmetric real-time scheduling algorithm for the concrete realization 47-51 4.3 of this chapter Summary 51-52 Chapter experiment and analysis 52-62 5.1 Experimental test environment design and build 52 5.1.1 hardware environment 52 5.1.2 software environment 52 5.2 Experimental program and results analysis 52-61 5.2.1 real-time customer virtual machine performance improvements 52-55 5.2.2 real-time customer virtual machine load balancing before and after the performance 55-58 5.2.4 non-real-time customer virtual machine performance comparison 58-61 5.3 Summary 61-62 Chapter VI summarizes 62-63 References 63-66 thank 66-67 master 'period has been published or accepted papers 67

Related dissertations

  1. Research on the Scheduling Algorithm of Virtual Machine in Multi-core System
    ChenHuiXing ·Hunan University ·2013 ·Master's thesis
  2. Research on the Optimization Mechanisms for Hot Standby Based on Remus
  3. The Research of Dynamic Double-Level Layers VM Scheduler Strategies
  4. Research on the Availability of Virtual Machine Hot Standby Based on Xen
    RenZhenFang ·Zhengzhou University ·2012 ·Master's thesis
  5. Research on Virtual Machine Scheduling in Real-time Environment
    GongWenJia ·Harbin Institute of Technology ·2013 ·Master's thesis
  6. The Research of Inter-domain Communication Optimization under Xen Hardware-assisted Virtualization
    ZuoZuo ·Hunan University ·2011 ·Master's thesis
  7. A Study of Memory Management and Performance Test of Virtual Machine
    ZhouBo ·Shanghai Jiaotong University ·2013 ·Master's thesis
  8. Research and Application of Virtual Machine Live Migration Techniques Based on Xen
    ZhangJingKun ·Northeastern University ·2011 ·Master's thesis
  9. Approaches for Secure-Communication between Xen Virtual Machines
  10. The Study of the Covert Channel in the Virtualization Environment
    XiaYeTian ·Shanghai Jiaotong University ·2013 ·Master's thesis
  11. The Research on Virtual Machine Based-on Xen
  12. Research on the Performance Measuring of Virtual Machine System Based on Intel VT Technology
    GaoQingHua ·Zhejiang University ·2008 ·Master's thesis
  13. A Study of Xen and Live Migration
    SunZuo ·Shanghai Jiaotong University ·2008 ·Master's thesis
  14. A Study of Xen Virtual Machine and Memory Management
    GuoXiaoQiong ·Shanghai Jiaotong University ·2008 ·Master's thesis
  15. A Virtual Machine Environment Based on Xen
  16. Optimization for Storage System in Xen Virtual Machine
    LaiZong ·Zhejiang University ·2007 ·Master's thesis
  17. Based on Intel VT-d in the Itanium platform Efficient Virtual IO model implementation and research
  18. A Study of Elastic Cloud Platform Based on XEN
    XuYong ·Wuhan University of Technology ·2010 ·Master's thesis
  19. Research and Testing of PC Virtual System Based on Intel VT Technology
  20. Research and Implementation of the Optimization of Xen Inter Domain Communication
    ZhangJian ·Shanghai Jiaotong University ·2008 ·Master's thesis