VM aware journaling

Improving journaling file system performance in virtualization environments

Ting Chang Huang, Da-Wei Chang

Research output: Contribution to journalArticle

5 Citations (Scopus)

Abstract

Journaling file systems, which are widely used in modern operating systems, guarantee file system consistency and data integrity by logging file system updates to a journal, which is a reserved space on the storage, before the updates are written to the data storage. Such journal writes increase the write traffic to the storage and thus degrade the file system performance, especially in full data journaling, which logs both metadata and data updates. In this paper, a new journaling approach is proposed to eliminate journal writes in server virtualization environments, which are gaining in popularity in server platforms. Based on reliable hardware subsystems and virtual machine monitor (VMM), the proposed approach eliminates journal writes by retaining journal data (i.e. logged file system updates) in the memory of each virtual machine and ensuring the integrity of these journal data through cooperation between the journaling file systems and the VMM. We implement the proposed approach in Linux ext3 in the Xen virtualization environment. According to the performance results, a performance improvement of up to 50.9journaling approach of ext3 due to journal write elimination. In metadata-write dominated workloads, this approach could even outperform the metadata journaling approaches of ext3, which do not guarantee data integrity. These results demonstrate that, on virtual servers with reliable VMM and hardware subsystems, the proposed approach is an effective alternative to traditional journaling approaches.

Original languageEnglish
Pages (from-to)303-330
Number of pages28
JournalSoftware - Practice and Experience
Volume42
Issue number3
DOIs
Publication statusPublished - 2012 Mar 1

Fingerprint

Metadata
Computer monitors
Servers
Computer hardware
Data storage equipment
Computer systems
Virtual machine
Virtualization

All Science Journal Classification (ASJC) codes

  • Software

Cite this

@article{48d0a1ac47a74c88ba1ffd68144d3ed3,
title = "VM aware journaling: Improving journaling file system performance in virtualization environments",
abstract = "Journaling file systems, which are widely used in modern operating systems, guarantee file system consistency and data integrity by logging file system updates to a journal, which is a reserved space on the storage, before the updates are written to the data storage. Such journal writes increase the write traffic to the storage and thus degrade the file system performance, especially in full data journaling, which logs both metadata and data updates. In this paper, a new journaling approach is proposed to eliminate journal writes in server virtualization environments, which are gaining in popularity in server platforms. Based on reliable hardware subsystems and virtual machine monitor (VMM), the proposed approach eliminates journal writes by retaining journal data (i.e. logged file system updates) in the memory of each virtual machine and ensuring the integrity of these journal data through cooperation between the journaling file systems and the VMM. We implement the proposed approach in Linux ext3 in the Xen virtualization environment. According to the performance results, a performance improvement of up to 50.9journaling approach of ext3 due to journal write elimination. In metadata-write dominated workloads, this approach could even outperform the metadata journaling approaches of ext3, which do not guarantee data integrity. These results demonstrate that, on virtual servers with reliable VMM and hardware subsystems, the proposed approach is an effective alternative to traditional journaling approaches.",
author = "Huang, {Ting Chang} and Da-Wei Chang",
year = "2012",
month = "3",
day = "1",
doi = "10.1002/spe.1069",
language = "English",
volume = "42",
pages = "303--330",
journal = "Software - Practice and Experience",
issn = "0038-0644",
publisher = "John Wiley and Sons Ltd",
number = "3",

}

VM aware journaling : Improving journaling file system performance in virtualization environments. / Huang, Ting Chang; Chang, Da-Wei.

In: Software - Practice and Experience, Vol. 42, No. 3, 01.03.2012, p. 303-330.

Research output: Contribution to journalArticle

TY - JOUR

T1 - VM aware journaling

T2 - Improving journaling file system performance in virtualization environments

AU - Huang, Ting Chang

AU - Chang, Da-Wei

PY - 2012/3/1

Y1 - 2012/3/1

N2 - Journaling file systems, which are widely used in modern operating systems, guarantee file system consistency and data integrity by logging file system updates to a journal, which is a reserved space on the storage, before the updates are written to the data storage. Such journal writes increase the write traffic to the storage and thus degrade the file system performance, especially in full data journaling, which logs both metadata and data updates. In this paper, a new journaling approach is proposed to eliminate journal writes in server virtualization environments, which are gaining in popularity in server platforms. Based on reliable hardware subsystems and virtual machine monitor (VMM), the proposed approach eliminates journal writes by retaining journal data (i.e. logged file system updates) in the memory of each virtual machine and ensuring the integrity of these journal data through cooperation between the journaling file systems and the VMM. We implement the proposed approach in Linux ext3 in the Xen virtualization environment. According to the performance results, a performance improvement of up to 50.9journaling approach of ext3 due to journal write elimination. In metadata-write dominated workloads, this approach could even outperform the metadata journaling approaches of ext3, which do not guarantee data integrity. These results demonstrate that, on virtual servers with reliable VMM and hardware subsystems, the proposed approach is an effective alternative to traditional journaling approaches.

AB - Journaling file systems, which are widely used in modern operating systems, guarantee file system consistency and data integrity by logging file system updates to a journal, which is a reserved space on the storage, before the updates are written to the data storage. Such journal writes increase the write traffic to the storage and thus degrade the file system performance, especially in full data journaling, which logs both metadata and data updates. In this paper, a new journaling approach is proposed to eliminate journal writes in server virtualization environments, which are gaining in popularity in server platforms. Based on reliable hardware subsystems and virtual machine monitor (VMM), the proposed approach eliminates journal writes by retaining journal data (i.e. logged file system updates) in the memory of each virtual machine and ensuring the integrity of these journal data through cooperation between the journaling file systems and the VMM. We implement the proposed approach in Linux ext3 in the Xen virtualization environment. According to the performance results, a performance improvement of up to 50.9journaling approach of ext3 due to journal write elimination. In metadata-write dominated workloads, this approach could even outperform the metadata journaling approaches of ext3, which do not guarantee data integrity. These results demonstrate that, on virtual servers with reliable VMM and hardware subsystems, the proposed approach is an effective alternative to traditional journaling approaches.

UR - http://www.scopus.com/inward/record.url?scp=84857037904&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=84857037904&partnerID=8YFLogxK

U2 - 10.1002/spe.1069

DO - 10.1002/spe.1069

M3 - Article

VL - 42

SP - 303

EP - 330

JO - Software - Practice and Experience

JF - Software - Practice and Experience

SN - 0038-0644

IS - 3

ER -