Abstract

The relational database service in cloud usually achieves energy efficiency by using virtualization technology, in which it consolidates multiple independent database systems into a single physical machine while enforcing the hardware-level isolation among them. However, the disk I/O performance is inevitably hurt due to the resource contention on the shared device. We propose VMSQL, a novel disk I/O model for the virtualized relational database management system (RDBMS). VMSQL has two innovations over the original disk model of virtualized database systems. First, VMSQL enforces the synchronous operation in guest operating system to handle with the transaction commitment. Due to its simplicity, a portion of CPU cycles is decoupled from I/O buffer management and then used to serve the upcoming requests, thereby improving their response times. Second, in host system, VMSQL asynchronizes the storage path of transactions which are committed from the different co-located guest databases. An obvious advantage of this procedure is that systems can apply host-level improvements into the disk I/O performance of virtualized RDBMS, relieving the random I/O and enhancing the throughput of whole system. We implement a prototype of this Sync-Async model in QEMU-KVM hypervisor, in which the InnoDB engine is deployed in the guest operating system. Extensive experiments are conducted to verify its advantages and the results are positive without any loss of ACID-compliance. In the meanwhile, VMSQL incurs moderate overhead at the hypervisor layer.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call