Speeding Up Virtualized Transaction Logging with vTrans

In a virtualized environment, when multiple co-located relational database engines update their data files on a shared storage device simultaneously, the transaction log files, which be scattered within different guest image files, introduce the random logging I/O easily. To cope with this issue, we propose vTrans, a novel I/O driver of virtualized transaction log file. Generally, vTrans uses the split I/O driver design. In each guest operating system a front-end driver is added to identify the transaction logging semantic from specific database engine. At the hypervisor layer a dedicated back-end driver consolidates all transaction logging I/Os from guest font-end drivers and then persist them into a consecutive data area on the shared storage device, resulting in the relatively sequential logging I/O. We implement vTrans in a QEMU system which deployed MySQL InnoDB database engine. The experimental result shows that vTrans can effectively improve the performance of random logging I/O in a virtualized system.

[1]  Abel Gordon,et al.  Paravirtual Remote I/O , 2016, ASPLOS.

[2]  Karsten Schwan,et al.  NVRAM-aware Logging in Transaction Systems , 2014, Proc. VLDB Endow..

[3]  Eunji Lee,et al.  Unioning of the buffer cache and journaling layers with non-volatile memory , 2013, FAST.

[4]  Subramanya Dulloor,et al.  Let's Talk About Storage & Recovery Methods for Non-Volatile Memory Database Systems , 2015, SIGMOD Conference.

[5]  Xu Li,et al.  Designing a Hierarchical Decentralized System for Distributing Large-Scale, Cross-Sector, and Multipollutant Control Accountabilities , 2017, IEEE Systems Journal.

[6]  Changwoo Min,et al.  Cross-checking semantic correctness: the case of finding file system bugs , 2015, SOSP.

[7]  Stergios V. Anastasiadis,et al.  Host-side Filesystem Journaling for Durable Shared Storage , 2015, FAST.

[8]  Andrea C. Arpaci-Dusseau,et al.  ViewBox: integrating local file systems with cloud storage services , 2014, FAST.

[9]  Bo Li,et al.  iAware: Making Live Migration of Virtual Machines Interference-Aware in the Cloud , 2014, IEEE Transactions on Computers.

[10]  Galen C. Hunt,et al.  Shielding Applications from an Untrusted Cloud with Haven , 2014, OSDI.

[11]  C. Mohan,et al.  High performance database logging using storage class memory , 2011, 2011 IEEE 27th International Conference on Data Engineering.

[12]  Yong Tang,et al.  Triple-L: Improving CPS Disk I/O Performance in a Virtualized NAS Environment , 2017, IEEE Systems Journal.

[13]  Philip A. Bernstein,et al.  Optimizing Optimistic Concurrency Control for Tree-Structured, Log-Structured Databases , 2015, SIGMOD Conference.

[14]  Andrea C. Arpaci-Dusseau,et al.  Reducing File System Tail Latencies with Chopper , 2015, FAST.

[15]  Muli Ben-Yehuda,et al.  The nom Profit-Maximizing Operating System , 2016, VEE.

[16]  Denis Filimonov,et al.  VAMOS: Virtualization Aware Middleware , 2011, WIOV.