login
Home / Papers / DBMS-Assisted Live Migration of Virtual Machines

DBMS-Assisted Live Migration of Virtual Machines

2 Citations•2024•
Kota Asanuma, Hiroshi Yamada
IEEE Transactions on Computers

DMigrate shortens the time for live-migrating VMs with even large memory DBMSes with even large memory DBMSes by performing regular memory transfers while simultaneously constructing the DBMS's buffer-pool by fetching the data items from the shared storage.

Abstract

Live migration of virtual machines (VMs) is a technique that moves active VMs between different physical hosts without losing any running states. Although it is desirable for administrators that the live migration is completed as quickly as possible, the pre-copy-based live migration, widely used in modern hypervisors, does not satisfy this demand on the current trend that VMs on which running applications are performance-critical such as database management systems (DBMSes) have quite large memory. <italic>DMigrate</italic>, presented in this paper, shortens the time for live-migrating VMs with even large memory DBMSes. To quickly produce the running state of the migrating VMs on the destination, DMigrate performs regular memory transfers while simultaneously constructing the DBMS's buffer-pool by fetching the data items from the shared storage. We prototyped DMigrate on MySQL 5.7.30, QEMU 5.1.0, and Linux 4.18.20. The experimental results show that the migration time of the prototype is up to 1.71<inline-formula><tex-math notation="LaTeX">$\boldsymbol{\times}$</tex-math><alternatives><mml:math><mml:mo mathvariant="bold">Ɨ</mml:mo></mml:math><inline-graphic xlink:href="yamada-ieq1-3329943.gif"/></alternatives></inline-formula> and 1.71<inline-formula><tex-math notation="LaTeX">$\boldsymbol{\times}$</tex-math><alternatives><mml:math><mml:mo mathvariant="bold">Ɨ</mml:mo></mml:math><inline-graphic xlink:href="yamada-ieq2-3329943.gif"/></alternatives></inline-formula> shorter under workloads, including sysbench and TPC-C, than the default pre-copy and post-copy schemes, respectively.