DOI QR코드

DOI QR Code

Analysis of Performance Interference in a KVM-virtualized Environment in the Aspect of CPU Scheduling

KVM 기반 가상화 환경에서 CPU 스케줄링 관점으로 본 Network I/O 성능간섭 현상 분석

  • 강동화 (고려대학교 정보대학) ;
  • 이경운 (고려대학교 정보대학) ;
  • 박현찬 (전북대학교 컴퓨터공학부) ;
  • 유혁 (고려대학교 정보대학)
  • Received : 2016.04.21
  • Accepted : 2016.06.15
  • Published : 2016.09.15

Abstract

Server virtualization provides abstraction of physical resources to users and thus accomplishes high resource utilization and flexibility. However, the characteristics of server virtualization, such as the limited number of physical resources shared by virtual machines, can cause problems, mainly performance interference. The performance interference is caused by the fact that the CPU scheduler running on the host operating system schedules virtual machines without considering the characteristics of the virtual machine's internal process. To address performance interference, a number of research activities to improve performance interference have been conducted, but do not deal with the fundamental analysis of performance interference. In this paper, in order to analyze the cause of performance interference, we carry out profiling in a variety of scenarios in a virtualized environment based on KVM. As a result, we analyze the phenomenon of the performance interference in terms of CPU scheduling and propose an efficient scheduling solution.

가상화 기술은 한정된 물리자원을 추상화하여 다수의 가상 자원 형태로 사용자에게 제공하는 기술로써 자원 활용률을 높이고 유동적으로 서비스를 제공할 수 있다는 장점이 있다. 하지만 한정된 물리자원을 다수의 가상머신이 공유하는 가상화 기술의 특성상, 자원 공유로 인한 성능 간섭 현상이 발생하는 문제가 있다. 이는 호스트 운영체제의 CPU 스케줄러가 가상머신에서 실행중인 프로세스의 특성을 고려하지 않고 스케줄링 하기 때문이다. 이러한 문제를 해결하기 위해 다양한 연구들이 진행되었지만 실제 근본적인 성능 간섭의 원인 분석에 대해서는 다루고 있지 않다. 본 논문에서는 KVM 기반 가상화 환경에서 가상머신의 성능 간섭의 원인을 분석하기 위해 다양한 시나리오에서의 프로파일링을 수행하고, 그 결과를 분석하여 CPU 스케줄링 관점에서 성능 간섭 현상의 원인과 그 해결 방안을 제시한다.

Keywords

Acknowledgement

Grant : SDN 2.0 실현을 위한 네트워크 가상화 플랫폼 핵심 기술 및 서비스 연구, (SW 스타랩) 성능 및 보안 SLA 보장이 가능한 차세대 클라우드 인프라SW 개발

Supported by : 정보통신기술진흥센터

References

  1. X. Pu, L. Liu, Y. Mei, S. Sivathanu, Y. Koh, C. Pu, and Y. Cao, "Who Is Your Neighbor: Net I/O Performance Interference in Virtualized Clouds," IEEE Transactions on Services Computing, Vol. 6, No. 3, pp. 314-329, Jul. 2013. https://doi.org/10.1109/TSC.2012.2
  2. H. Kim, H. Lim, J. Jeong, H. Jo, and J. Lee, "Task-aware virtual machine scheduling for I/O performance," VEE '09, Mar. 2009.
  3. H. Guan, R. Ma, and J. Li, "Workload-Aware Credit Scheduler for Improving Network I/O Performance in Virtualization Environment," IEEE Transactions on Cloud Computing, Vol. 2, No. 2, pp. 130-142, Apr. 2014. https://doi.org/10.1109/TCC.2014.2314649
  4. R. S. Couto, M. E. M. Campista, and L. H. M. K. Costa, "Network resource control for Xen-based virtualized software routers," Computer Networks, Vol. 64, pp. 71-88, May 2014. https://doi.org/10.1016/j.comnet.2014.02.003
  5. L. Cheng and C.-L. Wang, "Network performance isolation for latency-sensitive cloud applications," Future Generation Computer Systems, Vol. 29, No. 4, pp. 1073-1084, Jun. 2013. https://doi.org/10.1016/j.future.2012.05.025
  6. KVM MainPage [Online]. Available: http://www.linuxkvm.org/page/Main_Page
  7. Volker Seeker (2013, May 12). CFS [Online]. Available: http://criticalblue.com/news/wp-content/uploads/2013/12/linux_scheduler_notes_final.pdf
  8. Iperf [Online]. Available: https://iperf.fr/
  9. perf [Online]. Available: https://perf.wiki.kernel.org/
  10. Cgroup [Online]. Available: https://en.wikipedia.org/wiki/Cgroups
  11. Stefan Hajnoczi (2011, Sep 7). Vhost [Online]. Available: http://blog.vmsplice.net/2011/09/qemu-internals-vhost-architecture.html
  12. PI Controller [Online]. Available: https://en.wikipedia.org/wiki//PID_controller
  13. Kim, Hwanju, et al., "Transparently bridging semantic gap in CPU management for virtualized environments," Journal of Parallel and Distributed Computing 71.6, pp. 758-773, 2011. https://doi.org/10.1016/j.jpdc.2010.11.005
  14. Y. Song, Y. Sun, W. Shi, and S. Member, "A Two-Tiered On-Demand Resource Allocation Mechanism for VM-Based Data Centers," IEEE Transactions on Service Computing, Vol. 6, No. 1, pp. 116-129, 2013. https://doi.org/10.1109/TSC.2011.41