Optimization for Storage System in Xen Virtual Machine

Author
LaiZong
Advisor
LiShanPing
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP333 Memory
Degree
Master's thesis
Year
2007
Downloads
624
Citations
9

Request the full text

Abstract

Virtual Machine Monitor (VMM) can provide hardware abstraction that multiplexes physical resources onto multiple upper-layer guest operating systems. There has been a trend towards running services upon virtualization-based platform, such as consolidating web servers, application servers or database servers on the same physical machine. Consequently, providing strong guarantee both in fault containment and performance isolation among contenting virtual machines is of great importance. However, few research activities are conducted in performance guarantee area, especially in storage subsystem of Virtual Machine Monitors.This thesis paper presents two optimizing methods to solve fairness guarantee issues in storage system of Xen Virtual Machine Monitor: proportional CPU allocation and weighted disk service, which have not been properly addressed by previous research work. Background knowledge and related work are introduced in Chapter 1 and 2. Proportional CPU allocation framework is addressed in Chapter 3, and the weighted disk scheduling is presented in Chapter 4. Performance of these two methods is also evaluated, showing that convincing improvement of system fairness status can be achieved.The proportional CPU allocation algorithm strikes a balance between throughput and service fairness. A congestion detection method is proposed. When enough CPU resource is available, throughput takes precedence, making each domain use CPU resource up to their capacity. However, when the system is detected to be overloaded, a feedback-based adaptive control system is launched to make sure that CPU resource is proportionally designated into each domain. The dissertation implements a monitor to measure CPU consumption in Isolation Driver Domain (IDD) of Xen VMM, develops a controller to calculate proper CPU allocation, and deploys a kernel-mode actuator to enforce correct CPU utilization mode. So, graceful degradation can be achieved under CPU pressure. Maximizing IO throughput while maintaining fairness under pressure provides more satisfactory results under standard benchmarks compared with previous work.The dissertation also proposes a weighted disk scheduling algorithm, addressing the problem of lack of performance isolation in the CFQ scheduling algorithm ofXenLinux kernel. Our new scheduling algorithm, wCFQ-CRR, introduces IO weight parameter into CFQ, and replaces request dispatching number with disk service time as the metric of fairness between contenting IO request queues. Overused disk service time is compensated in each following round, providing good service time guarantee between each domain. In addition, compensating is not used when the system has only one active requesting domain, so IO throughput can be boosted under this condition. wCFQ-CRR can achieve better performance isolation than CFQ algorithm and maintain IO throughput close to CFQ as well.

Table of contents

Abstract 3-5 Abstract 5-11 Chapter 1 Introduction 11-23 1.1 research 11 <br / > 1.2 virtual machine introduced 11-18 1.2.1 virtual machine's history and the important concepts 11-13 1.2.2 virtual machine status and application scenarios 13-15 1.2.3 introduces the major virtual machine technology 15-18 1.2.3.1 instruction-level virtual 15-16 1.2.3.2 hardware Abstraction level virtual 16-17 1.2.3.3 operating system-level virtualization 17-18 1.2.3.4 application-level virtual 18 1.3 Xen virtual machine introduced 18-21 1.4 research contributions 21-22 1.5 essay structure 22-23 Chapter 2 related work 23-32 2.1 virtual machine QoS 23-26 2.2 real-time system CPU scheduling 26-28 2.3 storage system QoS research 28-32 Chapter 3, based on fairness XenLinux CPU allocation algorithm improvement 32-56 3.1 IO count necessity 32-34 3.2 existing IO-based considerations CPU scheduling algorithms lack 34-37 3.3 effective IO-based CPU allocation algorithm should be considered to meet the conditions 37-38 3.4 algorithm design details 38-53 3.4.1 related concepts defined 39-40 3.4.2 monitor implementation 40-47 3.4.2.1 Overview 40 - 41 3.4.2.2 related work 41-43 3.4.2.3 implementation details 43-47 3.4.3 the adaptive controller design based on feedback 47-49 3.4.3.1 basic algorithm 47-49 3.4.3.2 results delivery method 49 3.4.4 dynamic quota setting method 49-53 3.4.4.1 argument 50-51 3.4.4.2 kernel thread control 51-53 3.5 performance testing and evaluation 53-56 Chapter 4 based on fairness XenLinux disk scheduling algorithm to improve 56-76 4.1 fairness elaborated 56-58 4.2 CFQ disk scheduling algorithm analysis 58-61 4.2.1 CFQ algorithm outlined 58 4.2.2 CFQ algorithm problems 58-61 4.3 CFQ algorithm 61-73 4.3.1 similar work 61-62 4.3.2 algorithm introduced 62-72 4.3.2.1 IO priority level and weighting 63-64 4.3.2.2 CFQ fairness algorithm analysis 64-68 4.3.2.3 wCFQ-CRR algorithm 68-72 <br / > 4.3.3 implementation details 72-73 4.4 performance testing and evaluation 73-76 Chapter 5 Summary and Outlook 76-78 <br / > 5.1 paper summarizes 76-77 5.2 future Work Prospects 77-78 References 78-84 Thanks 84

Related dissertations

  1. Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
  2. Research on the Optimization Mechanisms for Hot Standby Based on Remus
  3. Research on the Availability of Virtual Machine Hot Standby Based on Xen
    RenZhenFang ·Zhengzhou University ·2012 ·Master's thesis
  4. Research on Virtual Machine Scheduling in Real-time Environment
    GongWenJia ·Harbin Institute of Technology ·2013 ·Master's thesis
  5. The Research of Inter-domain Communication Optimization under Xen Hardware-assisted Virtualization
    ZuoZuo ·Hunan University ·2011 ·Master's thesis
  6. A Study of Memory Management and Performance Test of Virtual Machine
    ZhouBo ·Shanghai Jiaotong University ·2013 ·Master's thesis
  7. Research and Application of Virtual Machine Live Migration Techniques Based on Xen
    ZhangJingKun ·Northeastern University ·2011 ·Master's thesis
  8. Research on the Performance Isolation and Optimization in I/O Virtualization
  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. Research on Streaming Media Scheduling Fairness Based on NAT-PT
    WanBin ·Southeast University ·2006 ·Doctoral dissertation
  12. Research on Key Techniques of Providing Quality-of-Services in High-Performance Router
    PangBin ·Institute of Computing Technology ·2003 ·Doctoral dissertation
  13. Research on Medium Access Control Strategy for Heterogeneous Wireless Mesh Network
    ZuoDa ·University of Science and Technology of China ·2010 ·Doctoral dissertation
  14. The Research on Virtual Machine Based-on Xen
  15. Research on the Performance Measuring of Virtual Machine System Based on Intel VT Technology
    GaoQingHua ·Zhejiang University ·2008 ·Master's thesis
  16. A Study of Xen and Live Migration
    SunZuo ·Shanghai Jiaotong University ·2008 ·Master's thesis
  17. A Study of Xen Virtual Machine and Memory Management
    GuoXiaoQiong ·Shanghai Jiaotong University ·2008 ·Master's thesis
  18. A Virtual Machine Environment Based on Xen
  19. Based on Intel VT-d in the Itanium platform Efficient Virtual IO model implementation and research
  20. A Study of Elastic Cloud Platform Based on XEN
    XuYong ·Wuhan University of Technology ·2010 ·Master's thesis