• DocumentCode
    1920271
  • Title

    Lock-Visor: An Efficient Transitory Co-scheduling for MP Guest

  • Author

    Lei Zhang ; Yu Chen ; YaoZu Dong ; Chao Liu

  • Author_Institution
    Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing, China
  • fYear
    2012
  • fDate
    10-13 Sept. 2012
  • Firstpage
    88
  • Lastpage
    97
  • Abstract
    Multiprocessor (MP) virtual machines (VMs) are widely used in cloud environments. However, MP VMs suffer from lock holder preemption (LHP) issue. This causes a tremendous waste of CPU cycles, leading to deteriorated synchronization latency and a significant degradation in system performance. Previous works have addressed the problem with software co-scheduling or lock waiter yielding. However, co-scheduling suffers from CPU utility fragmentation, priority inversion and loss of the flexibility of hyper visor scheduler, which causes inefficiency in CPU usage. Lock waiter yielding, another solution, suffers from a large impact on hyper visor scheduler and issues with response latency. In this paper, we propose Lock-visor, an efficient transitory co-scheduling algorithm, to bypass the guest spin lock loop effectively. Our protocol has little to no impact on the flexibility of hyper visor scheduler, and achieves better system performance. Multiple policies are explored on top of transitory co-scheduling to maximize the efficiency of Lock-visor, i.e. instant transitory, selective instant transitory and deferred transitory co-scheduling. Comprehensive experiments are conducted using CPU-intensive, I/O-intensive and lock-intensive workloads. Our experimental results show that Lock-visor can significantly improve system performance (e.g. Lock-visor has up to 341.3% performance advantage over original Linux kernel 2.6.38 in Sys Bench 4-VM case), while at the same time improve system latency with little to no effect on scheduling fairness.
  • Keywords
    cloud computing; multiprocessing systems; processor scheduling; virtual machines; CPU cycle; CPU utility fragmentation; CPU-intensive workload; I/O-intensive workload; LHP; Linux kernel; MP VM; MP guest; MP virtual machine; Sys Bench 4-VM case; cloud environment; deferred transitory coscheduling; hyper visor scheduler; hypervisor scheduler; lock holder preemption; lock waiter yielding; lock-intensive workload; lock-visor; multiprocessor virtual machine; priority inversion; selective instant transitory; software coscheduling; synchronization latency; Boosting; Hardware; Kernel; Linux; Scalability; System performance; Virtual machine monitors; VM; lock holder preemption; scheduling;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing (ICPP), 2012 41st International Conference on
  • Conference_Location
    Pittsburgh, PA
  • ISSN
    0190-3918
  • Print_ISBN
    978-1-4673-2508-0
  • Type

    conf

  • DOI
    10.1109/ICPP.2012.36
  • Filename
    6337570