Title
vIC: interrupt coalescing for virtual machine storage device IO
Abstract
Interrupt coalescing is a well known and proven technique for reducing CPU utilization when processing high IO rates in network and storage controllers. Virtualization introduces a layer of virtual hardware for the guest operating system, whose interrupt rate can be controlled by the hypervisor. Unfortunately, existing techniques based on high-resolution timers are not practical for virtual devices, due to their large overhead. In this paper, we present the design and implementation of a virtual interrupt coalescing (vIC) scheme for virtual SCSI hardware controllers in a hypervisor. We use the number of commands in flight from the guest as well as the current IO rate to dynamically set the degree of interrupt coalescing. Compared to existing techniques in hardware, our work does not rely on high-resolution interrupt-delay timers and thus leads to a very efficient implementation in a hypervisor. Furthermore, our technique is generic and therefore applicable to all types of hardware storage IO controllers which, unlike networking, don't receive anonymous traffic. We also propose an optimization to reduce inter-processor interrupts (IPIs) resulting in better application performance during periods of high IO activity. Our implementation of virtual interrupt coalescing has been shipping with VMware ESX since 2009. We present our evaluation showing performance improvements in micro benchmarks of up to 18% and in TPC-C of up to 5%.
Year
Venue
Keywords
2011
USENIX Annual Technical Conference
current io rate,virtual interrupt coalescing,virtual device,interrupt coalescing,hardware storage io controller,virtual hardware,high io rate,virtual scsi hardware controller,interrupt rate,high io activity,virtual machine storage device
Field
DocType
Citations 
Interrupt,Storage hypervisor,Interrupt handler,Interrupt latency,Computer science,Real-time computing,Interrupt priority level,Interrupt coalescing,Advanced Programmable Interrupt Controller,Programmable Interrupt Controller,Operating system,Embedded system
Conference
21
PageRank 
References 
Authors
1.03
9
3
Name
Order
Citations
PageRank
Irfan Ahmad1733.86
Ajay Gulati257327.79
Ali José Mashtizadeh326310.79