DOI QR코드

DOI QR Code

QEMU/KVM Based In-Memory Block Cache Module for Virtualization Environment

가상화 환경을 위한 QEMU/KVM 기반의 인메모리 블록 캐시 모듈 구현

  • 김태훈 (세종대학교 컴퓨터공학과) ;
  • 송광혁 (세종대학교 컴퓨터공학과) ;
  • 노재춘 (세종대학교 컴퓨터공학과) ;
  • 박성순 (안양대학교 컴퓨터공학과)
  • Received : 2017.01.02
  • Accepted : 2017.06.28
  • Published : 2017.10.15

Abstract

Recently, virtualization has become an essential component of cloud computing due to its various strengths, including maximizing server resource utilization, easy-to-maintain software, and enhanced data protection. However, since virtualization allows sharing physical resources among the VMs, the system performance can be deteriorated due to device contentions. In this paper, we first investigate the I/O overhead based on the number of VMs on the same server platform and analyze the block I/O process of the KVM hypervisor. We also propose an in-memory block cache mechanism, called QBic, to overcome I/O virtualization latency. QBic is capable of monitoring the block I/O process of the hypervisor and stores the data with a high access frequency in the cache. As a result, QBic provides a fast response for VMs and reduces the I/O contention to physical devices. Finally, we present a performance measurement of QBic to verify its effectiveness.

가상화는 클라우드 컴퓨팅의 핵심 기술로 물리적 서버에 다수의 가상머신을 운영하여 서버 자원에 대한 활용도를 극대화하고, 관리의 편리성과 보안성을 향상시키는 것을 목표로 한다. 그러나 가상화는 물리적인 자원을 공유하기 때문에 가상머신의 성능이 저하되는 문제점을 가지고 있다. 본 연구에서는 가상머신의 대수에 따라서 발생하는 입출력 부하를 검증하고, 성능 저하의 원인을 해결하기 위해 KVM 하이퍼바이저의 블록 처리 과정을 분석하였다. 또한, 가상화 환경의 입출력 문제점을 보완하기 위한 QBic(QEMU/K-VM Based In-Memory Cache)을 구현하였다. QBic은 하이퍼바이저의 블록 입출력 과정을 모니터링하여 사용빈도가 높은 데이터를 캐시에 저장한다. 이후 캐시를 통해 해당하는 데이터를 빠르게 접근할 수 있으며, 스토리지의 접근 횟수를 줄여 하드웨어의 부하를 낮출 수 있다. 마지막으로 성능 측정을 통해 그 결과를 기술한다.

Keywords

Acknowledgement

Grant : All NVMe-SSD 기반 고성능 스토리지 시스템 개발

Supported by : 한국연구재단, 정보통신기술진흥센터

References

  1. D. Revelle, Hypervisors and Virtual Machines: Implementation Insights on the x86 Architecture, USENIX login Magazine, Vol. 36, No. 5, pp. 17-22, Oct. 2011.
  2. N. M. Chowdhury and R. Boutaba, Network virtualization: state of the art and research challenges, IEEE Communications Magazine, Vol. 47, No. 7, pp. 20-26, Jul. 2009. https://doi.org/10.1109/MCOM.2009.5183468
  3. A. Singh, M. Korupolu and D. Mohapatra, "Server-storage virtualization: integration and load balancing in data centers," Proc. of the 2008 ACM/IEEE conference on Supercomputing, No. 53, p. 53, Nov. 2008.
  4. Gartner, Gartner Identifies the Top 10 Strategic Technologies for 2010, Analysts Examine Latest Industry Trends During Gartner Symposium/ITxpo, Oct. 2009.
  5. S. Bhardwaj, J. Leena and J. Sandeep, "Cloud computing: A study of infrastructure as a service (IaaS)," International Journal of engineering and information Technology, Vol. 2, No. 1, pp. 60-63, 2010.
  6. Amazon web services, AEC Cloud, Amazon Elastic Compute, Retrieved Nov. 2011.
  7. A. Gavrilovska, S. Kumar, H. Raj, K. Schwan, V. Gupta, R. Nathuji, R. Niranjan, A. Ranadive and P. Saraiya, "High-performance hypervisor architectures: Virtualization in hpc systems," Workshop on System-level Virtualization for HPC (HPCVirt), Mar. 2007.
  8. M. F. Mergen, V. Uhlig, O. Krieger and J. Xenidis, "Virtualization for high-performance computing," ACM SIGOPS Operating Systems Review, Vol. 40, No. 2, pp. 8-11, Apr. 2006. https://doi.org/10.1145/1131322.1131328
  9. Wikipedia. Hypervisor. [Online]. Avaliable: https://en.wikipedia.org/wiki/Hypervisor
  10. QEMU Open Source Processor Emulator. [Online]. Avaliable: http://wiki.qemu.org/Main_Page
  11. X. Chen, W. Chen, Z. Lu, P. Long, S. Yang, and Z. Wang, "A Duplication-Aware SSD-Based Cache Architecture for Primary Storage in Virtualization Environment," IEEE Systems Journal, pp. 1-12, Nov. 2015.
  12. J. Feng and J. Schindler, "A deduplication study for host-side caches in virtualized data center environments," 2013 IEEE 29th Symposium on Mass Storage Systems and Technologies (MSST), pp. 1-6, May. 2013.
  13. J. Katcher, Postmark: A new file system benchmark, Technical Report TR3022, Vol. 8, Network Appliance, 1997.
  14. IOzone Filesystem Benchmark. [Online]. Avaliable:http://www.iozone.org