DOI QR코드

DOI QR Code

Analysis and Improvement of I/O Performance Degradation by Journaling in a Virtualized Environment

가상화 환경에서 저널링 기법에 의한 입출력 성능저하 분석 및 개선

  • 김성환 (충북대학교 소프트웨어학과) ;
  • 이은지 (충북대학교 소프트웨어학과)
  • Received : 2016.09.22
  • Accepted : 2016.12.09
  • Published : 2016.12.31

Abstract

This paper analyzes the host cache effectiveness in full virtualization, particularly associated with journaling of guests. We observe that the journal access of guests degrades cache performance significantly due to the write-once access pattern and the frequent sync operations. To remedy this problem, we design and implement a novel caching policy, called PDC (Pollution Defensive Caching), that detects the journal accesses and prevents them from entering the host cache. The proposed PDC is implemented in QEMU-KVM 2.1 on Linux 4.14 and provides 3-32% performance improvement for various file and I/O benchmarks.

본 논문에서는 저널링을 사용하는 전가상화 시스템에서 호스트 캐시의 효율을 높이기 위한 기법을 제안한다. 게스트의 저널링 데이터는 쓰기를 위해 호스트 캐시에 한번만 접근되는 패턴과 빈번한 sync 명령으로 인해 캐시의 효율을 감소시킨다. 이러한 성능 감소를 줄이기 위하여 본 논문에서는 게스트의 저널링 데이터가 호스트 캐시에 접근하는 것을 막는 PDC라는 기법을 제안한다. PDC는 Linux 4.14 버전에서 QEMU-KVM 2.1 버전을 기반으로 구현하였으며, 다양한 워크로드에서 3-32%의 성능 향상을 보였다.

Keywords

References

  1. M. Ben-Yehuda, M. Factor, E. Rom, A. Traeger, E. Borovik, and A. B. Yassour. "Adding advanced stor-age controller functionality via low-overhead vir-tualization." In Proceedings of the 10th USENIX Conference on File and Storage Technologies (FAST), 2012.
  2. G. Casale, S. Kraft, and D. Krishnamurthy. A model of storage i/o performance interference in virtualized systems. In Proceedings of the Interna-tional Workshop on Data Center Performance (DCPerf), 2011.
  3. J. N. Christoffer Dall. Kvm/arm: The design and implementation of the linux arm hypervisor. In Proceedings of the 19th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 2014.
  4. A. Gulati, C. Kumar, and I. Ahmad. Storage workload characterization and consolidation in virtualized environments. In Proceedings of 2nd Interna-tional Workshop on Virtualization Performance, 2009.
  5. S. Hajnoczi. An updated overview of the qemu storage stack. LinuxCon Japan, 2011.
  6. D. Hildebrand, A. Povzner, R. Tewari, and V. Tarasov. Revisiting the storage stack in virtualized nas environments. In Proceedings of the Workshop on I/O Virtualization (WIOV), 2011.
  7. D. Le, H. Huang, and H. Wang. Understanding performance implications of nested file systems in a virtualized environment. In Proceedings of the 10th USENIX Conference on File and Storage Technol-ogies (FAST), 2012.
  8. R. Russell. virtio: towards a de-facto standard for virtual i/o devices. ACM SIGOPS Operating Systems Review, 42(5):95-103, 2008.
  9. V. Tarasov, D. Hildebrand, G. Kuenning, and E. Za-dok. Virtual machine workloads: The case for new nas benchmarks. In Proceedings of the 11th USENIX Conference on File and Storage Technol-ogies (FAST), 2013.
  10. Vmworld 2013, "Is vmware the mumford and sons of the cloud?" URL http://www.techweekeurope.co.uk/work-space/vmworld-vmware-cloud-mumford-and-sons-12950.
  11. Virtualbox. URL http://www.virtualbox.org.
  12. K. Wolf. A block layer overview. KVM Forum, 2012. URL http://www.linux-kvm.org/page/KVM_Forum_2012.
  13. D. H. Kim, H. K. Bahn, "Buffer Cache Management of Smartphones Exploiting Write-Only-Once Characteristics", The Journal of The Institute of Internet, Broadcasting and Communication (JIIBC), VOL. 15 NO. 6, pp.129-134, 2015
  14. M.Y. Sung, "Performance Evaluation of Flash Memory-Based File Storages: NAND vs. NOR", Journal of the Korea Academia-Industrial cooperation Society(JKAIS), Vol. 9, No.3, pp.710-716, 2008. https://doi.org/10.5762/KAIS.2008.9.3.710
  15. Ext4 wiki. URL https://ext4.wiki.kernel.org/index.php/Main_Page.
  16. Reiserfs. URL https://en.wikipedia.org/wiki/ ReiserFS.
  17. Rocksdb. URL https://github.com/facebook/rocksdb/wiki/RocksDB-Basics.