Shoot4U: Using VMM assists to optimize TLB operations on preempted vCPUs

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

17 Scopus citations

Abstract

Virtual Machine based approaches to workload consolidation, as seen in IaaS cloud as well as datacenter platforms, have long had to contend with performance degradation caused by synchronization primitives inside the guest environments. These primitives can be affected by virtual CPU preemptions by the host scheduler that can introduce delays that are orders of magnitude longer than those primitives were designed for. While a significant amount of work has focused on the behavior of spinlock primitives as a source of these performance issues, spinlocks do not represent the entirety of synchronization mechanisms that are susceptible to scheduling issues when running in a virtualized environment. In this paper we address the virtualized performance issues introduced by TLB shootdown operations. Our profiling study, based on the PARSEC benchmark suite, has shown that up to 64% of a VM's CPU time can be spent on TLB shootdown operations under certain workloads. In order to address this problem, we present a paravirtual TLB shootdown scheme named Shoot4U. Shoot4U completely eliminates TLB shootdown preemptions by invalidating guest TLB entries from the VMM and allowing guest TLB shootdown operations to complete without waiting for remote virtual CPUs to be scheduled. Our performance evaluation using the PARSEC benchmark suite demonstrates that Shoot4U can reduce benchmark runtime by up to 85% compared an unmodified Linux kernel, and up to 44% over a state-of-the-art paravirtual TLB shootdown scheme.

Original languageEnglish
Title of host publicationVEE 2016 - Proceedings of the 12th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments
PublisherAssociation for Computing Machinery, Inc
Pages17-23
Number of pages7
ISBN (Electronic)9781450339476
DOIs
StatePublished - Mar 25 2016
Externally publishedYes
Event12th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2016 - Atlanta, United States
Duration: Apr 2 2016Apr 3 2016

Publication series

NameVEE 2016 - Proceedings of the 12th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments

Conference

Conference12th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2016
Country/TerritoryUnited States
CityAtlanta
Period04/2/1604/3/16

Keywords

  • Preemption
  • TLB shootdown
  • Virtualization

Fingerprint

Dive into the research topics of 'Shoot4U: Using VMM assists to optimize TLB operations on preempted vCPUs'. Together they form a unique fingerprint.

Cite this