Investigate and Implement Dynaimc Cache Partitioning in Virtual Machine Environment

Author
LiJiaWen
Advisor
ShenLi
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2011
Downloads
33
Citations
0

Request the full text

Abstract

Recent years, chip of multiporcesors (CMPs), which have the feature of sharing the cache in chips, have been widely used in desktop computers, server platforms, and have played a very important role in promoting system performance. With Virtualization technology, multiple users can share the rich computing resourses integrated in CMP architecture. And with the breadthrough of x86 architecture virtualization, virtualization technology has been widely used in server consolidation, secure computing platforms, kernel debugging and development, and other fields. However, since most of the current virtualization systems were designed for symmetric multiprocessors (SMPs), the problem of multiple virutal machines competiting for the shared cache has become very acute, and has impact the performance of virtual system seriously when migrated to CMP architecture. So, it becomes a new topic for researchers to investigate how to utilize the advantages of CMP architecture while avoiding the cache competetion between virtual machines in virtual systems.Currently, static cache partitioning methods have used by most researcher to isolate the cache competition between virtual machines. There is a significant drawback in these methods which has to manual partition cache before starting the virtual machines. Forthermore, these methods can only implement passive performance isolation and can not take advantage of applications runtime features to improve performance initiativly. In this paper, a dynamic cache partitioning strategies in virtual system on CMP platform was explored and proposed, with the basis of investigating the impact of L2 cache to applications in virutal machines. Our contributions are listed as follows:(1) We have proposed applications runtime characters classification methods based on L2 cache in virtual machine environment. Taking SPEC CPU2006 benchmarks for example, we investigated the relationship between application working set and the processor cache size, and divided applications into cache-sesitive, cache-polluting and cache-unrelated categories based on the static characters according to the test results. Furtherly, we divded applications into rough-type and smooth-type program categories according to the changes of applications L2 cache miss when running. Our classifications will provide a theoretical basis for designing dynamic cache partitioning in virtual systems.(2) We designed and implemented the dynamic cache partitioning algorithm in virtual machine environment. It used page coloring ideas, achieving cache isolation through constraints of the memory pages that virtual machine can access. It also can adjust dynamically the cache ratio between virtual machines according to programs cache needs, and can improve the performance of virtual systems while achieving cache isolation. Finally, the dynamic cache partitioning algorithm was implemented in Xen virtual system, and its performance was evaluated using workloads bulit based on SPEC CPU2006. Experimental results show that dynamic cache partitioning system can improve performance by 5% than the rough system, and can obtain 7% performance promotion than static cache partitioning when running rough-type applications.

Related dissertations

  1. Optimization for Storage System in Xen Virtual Machine
    LaiZong ·Zhejiang University ·2007 ·Master's thesis
  2. Research on Performance Monitoring Technique of Cluster Management of the Virtual System
    WangXiaoJuan ·Xi'an University of Petroleum ·2013 ·Master's thesis
  3. Research on Attacks and Prevention Technology Based on ARP and PPPoE
    ZhangWen ·Sichuan Normal University ·2013 ·Master's thesis
  4. Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
  5. The virtual system self-healing analysis model research and Application
  6. Dynamic Cache Partitioning Method Based on Program Phase Behavior
  7. A Data Persistence System for Virtual Ma-chines in Cloud Environment
  8. A Comprehensive Checkpoint Mechanism for Virtual Disk Image
  9. Overcommitting Memory by Initiative Share from KVM Guests
  10. Research on Techniques of Bandwidth Controlling of Virtual Machine in Data Center
  11. Research of Optimizing Virtual Machine Checkpoint
  12. Research on the Optimization Mechanisms for Hot Standby Based on Remus
  13. Research on Live Migration of Virtual Machine across the Datacenter
    YangPengZuo ·Northwest Normal University ·2013 ·Master's thesis
  14. The Research of Dynamic Double-Level Layers VM Scheduler Strategies
  15. Deployment of SCADA Systerm Bases on Virtual Platfprm
  16. Education&Training Network Building and Security Management Research
    LiYanMei ·Shanghai Jiaotong University ·2012 ·Master's thesis
  17. Research on the Availability of Virtual Machine Hot Standby Based on Xen
    RenZhenFang ·Zhengzhou University ·2012 ·Master's thesis
  18. A Study on Virtual Medical Image Equipment
    ZhangZhiBin ·Northeast University of Petroleum ·2012 ·Master's thesis
  19. Design and Implementation of Elastic Resource Management on Enterprise’s Cloud Security Platform
    WuHaiBin ·Sun Yat-sen University ·2012 ·Master's thesis
  20. The Application of VM-based Packing Technology to E-banking Software
    ZhouRuCheng ·Beijing Jiaotong University ·2013 ·Master's thesis