Improving energy efficiency of buffer cache in virtual machines

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Main memory contributes a large fraction of energy consumption in powerful servers running virtualization software to support concurrent virtual machines (VMs). Furthermore, data-intensive applications executing inside virtual machines increase the demand for larger physical memory, resulting in the memory subsystem consuming a significant portion of system's energy. Data-intensive applications heavily rely on a large buffer cache that occupies a majority of physical memory and as a result we are focusing on the power management for physical memory dedicated to the buffer cache in VMs. Existing approaches have focused on optimizing memory energy consumption from an operating system (OS) perspective. However, these approaches cannot be directly used in a virtual machine environment because of abstractions and separations used in virtualization of resources. To address virtualization of resources, we adapt an existing mechanism that leverages file I/O system calls in the guest OS kernel to hide the delay incurred by the memory power state transition while reducing memory energy consumption. In addition, we propose a novel hybrid mechanism that is able to improve energy efficiency for memory-mapped files in addition to regular file I/Os through system calls. Through detailed trace driven evaluation, the delay-hiding energy management in the guest operating system inside a virtual machine can reduce memory energy consumption by 89.6% compared with a standard virtual machine environment when handling file I/O system calls; our proposed hybrid mechanism performs better than either mechanism and can improve memory energy saving with negligible delay when processing both file I/O system calls and memory-mapped files.

Original languageEnglish (US)
Title of host publication2012 International Green Computing Conference, IGCC 2012
DOIs
StatePublished - 2012
Event2012 International Green Computing Conference, IGCC 2012 - San Jose, CA, United States
Duration: Jun 4 2012Jun 8 2012

Other

Other2012 International Green Computing Conference, IGCC 2012
CountryUnited States
CitySan Jose, CA
Period6/4/126/8/12

Fingerprint

Energy efficiency
Data storage equipment
Energy utilization
Computer operating systems
Virtual machine
Energy management
Energy conservation
Servers

Keywords

  • Buffer Cache
  • Energy Management
  • Virtual Machine

ASJC Scopus subject areas

  • Software

Cite this

Ye, L., & Gniady, C. (2012). Improving energy efficiency of buffer cache in virtual machines. In 2012 International Green Computing Conference, IGCC 2012 [6322274] https://doi.org/10.1109/IGCC.2012.6322274

Improving energy efficiency of buffer cache in virtual machines. / Ye, Lei; Gniady, Christopher.

2012 International Green Computing Conference, IGCC 2012. 2012. 6322274.

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Ye, L & Gniady, C 2012, Improving energy efficiency of buffer cache in virtual machines. in 2012 International Green Computing Conference, IGCC 2012., 6322274, 2012 International Green Computing Conference, IGCC 2012, San Jose, CA, United States, 6/4/12. https://doi.org/10.1109/IGCC.2012.6322274
Ye L, Gniady C. Improving energy efficiency of buffer cache in virtual machines. In 2012 International Green Computing Conference, IGCC 2012. 2012. 6322274 https://doi.org/10.1109/IGCC.2012.6322274
Ye, Lei ; Gniady, Christopher. / Improving energy efficiency of buffer cache in virtual machines. 2012 International Green Computing Conference, IGCC 2012. 2012.
@inproceedings{361e1e7cdca84cd2aaebf60d63a6f71e,
title = "Improving energy efficiency of buffer cache in virtual machines",
abstract = "Main memory contributes a large fraction of energy consumption in powerful servers running virtualization software to support concurrent virtual machines (VMs). Furthermore, data-intensive applications executing inside virtual machines increase the demand for larger physical memory, resulting in the memory subsystem consuming a significant portion of system's energy. Data-intensive applications heavily rely on a large buffer cache that occupies a majority of physical memory and as a result we are focusing on the power management for physical memory dedicated to the buffer cache in VMs. Existing approaches have focused on optimizing memory energy consumption from an operating system (OS) perspective. However, these approaches cannot be directly used in a virtual machine environment because of abstractions and separations used in virtualization of resources. To address virtualization of resources, we adapt an existing mechanism that leverages file I/O system calls in the guest OS kernel to hide the delay incurred by the memory power state transition while reducing memory energy consumption. In addition, we propose a novel hybrid mechanism that is able to improve energy efficiency for memory-mapped files in addition to regular file I/Os through system calls. Through detailed trace driven evaluation, the delay-hiding energy management in the guest operating system inside a virtual machine can reduce memory energy consumption by 89.6{\%} compared with a standard virtual machine environment when handling file I/O system calls; our proposed hybrid mechanism performs better than either mechanism and can improve memory energy saving with negligible delay when processing both file I/O system calls and memory-mapped files.",
keywords = "Buffer Cache, Energy Management, Virtual Machine",
author = "Lei Ye and Christopher Gniady",
year = "2012",
doi = "10.1109/IGCC.2012.6322274",
language = "English (US)",
isbn = "9781467321556",
booktitle = "2012 International Green Computing Conference, IGCC 2012",

}

TY - GEN

T1 - Improving energy efficiency of buffer cache in virtual machines

AU - Ye, Lei

AU - Gniady, Christopher

PY - 2012

Y1 - 2012

N2 - Main memory contributes a large fraction of energy consumption in powerful servers running virtualization software to support concurrent virtual machines (VMs). Furthermore, data-intensive applications executing inside virtual machines increase the demand for larger physical memory, resulting in the memory subsystem consuming a significant portion of system's energy. Data-intensive applications heavily rely on a large buffer cache that occupies a majority of physical memory and as a result we are focusing on the power management for physical memory dedicated to the buffer cache in VMs. Existing approaches have focused on optimizing memory energy consumption from an operating system (OS) perspective. However, these approaches cannot be directly used in a virtual machine environment because of abstractions and separations used in virtualization of resources. To address virtualization of resources, we adapt an existing mechanism that leverages file I/O system calls in the guest OS kernel to hide the delay incurred by the memory power state transition while reducing memory energy consumption. In addition, we propose a novel hybrid mechanism that is able to improve energy efficiency for memory-mapped files in addition to regular file I/Os through system calls. Through detailed trace driven evaluation, the delay-hiding energy management in the guest operating system inside a virtual machine can reduce memory energy consumption by 89.6% compared with a standard virtual machine environment when handling file I/O system calls; our proposed hybrid mechanism performs better than either mechanism and can improve memory energy saving with negligible delay when processing both file I/O system calls and memory-mapped files.

AB - Main memory contributes a large fraction of energy consumption in powerful servers running virtualization software to support concurrent virtual machines (VMs). Furthermore, data-intensive applications executing inside virtual machines increase the demand for larger physical memory, resulting in the memory subsystem consuming a significant portion of system's energy. Data-intensive applications heavily rely on a large buffer cache that occupies a majority of physical memory and as a result we are focusing on the power management for physical memory dedicated to the buffer cache in VMs. Existing approaches have focused on optimizing memory energy consumption from an operating system (OS) perspective. However, these approaches cannot be directly used in a virtual machine environment because of abstractions and separations used in virtualization of resources. To address virtualization of resources, we adapt an existing mechanism that leverages file I/O system calls in the guest OS kernel to hide the delay incurred by the memory power state transition while reducing memory energy consumption. In addition, we propose a novel hybrid mechanism that is able to improve energy efficiency for memory-mapped files in addition to regular file I/Os through system calls. Through detailed trace driven evaluation, the delay-hiding energy management in the guest operating system inside a virtual machine can reduce memory energy consumption by 89.6% compared with a standard virtual machine environment when handling file I/O system calls; our proposed hybrid mechanism performs better than either mechanism and can improve memory energy saving with negligible delay when processing both file I/O system calls and memory-mapped files.

KW - Buffer Cache

KW - Energy Management

KW - Virtual Machine

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

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

U2 - 10.1109/IGCC.2012.6322274

DO - 10.1109/IGCC.2012.6322274

M3 - Conference contribution

AN - SCOPUS:84869482275

SN - 9781467321556

BT - 2012 International Green Computing Conference, IGCC 2012

ER -