DOI QR코드

DOI QR Code

유니커널의 동향과 매니코어 시스템에 적용

Trends in Unikernel and Its Application to Manycore Systems

  • 차승준 (차세대 OS 기초연구센터) ;
  • 전승협 (차세대 OS 기초연구센터) ;
  • 람 닉 (차세대 OS 기초연구센터) ;
  • 김진미 (차세대 OS 기초연구센터) ;
  • 정연정 (차세대 OS 기초연구센터) ;
  • 정성인 (차세대 OS 기초연구센터)
  • 발행 : 2018.12.01

초록

As recent applications are requiring more CPUs for their performance, manycore systems have evolved. Since existing operating systems do not provide performance scalability in manycore systems, Azalea, a multi-kernel based system, has been developed for supporting performance scalability. Unikernel is a new operating system technology starting with the concept of a library OS. Applying unikernel to Azalea enables an improvement in performance. In this paper, we first analyze the current technology trends of unikernel, and then discuss the applications and effects of unikernel to Azalea. Azalea-unikernel was built in a single image consisting of libOS, runtime libraries, and an application, and executed with the desired number of cores and memory size in bare-metal. In particular, it supports source and binary compatibility such that existing linux binaries can be rebuilt and executed in Azalea-unikernel, and already built binaries can be run immediately without modification with a better performance. It not only achieves a performance enhancement, it is also a more secure OS for manycore systems.

키워드

HJTOCM_2018_v33n6_129_f0001.png 이미지

(그림 1) 가상머신, 컨테이너, 유니커널 비교

HJTOCM_2018_v33n6_129_f0002.png 이미지

(그림 2) 유니커널의 구조

HJTOCM_2018_v33n6_129_f0003.png 이미지

(그림 3) ClickOS 아키텍처

HJTOCM_2018_v33n6_129_f0004.png 이미지

(그림 4) Azalea의구조

HJTOCM_2018_v33n6_129_f0005.png 이미지

(그림 5) 경량커널의 구조

HJTOCM_2018_v33n6_129_f0006.png 이미지

(그림 6) Azalea-unikernel의 구조

HJTOCM_2018_v33n6_129_f0007.png 이미지

(그림 7) Azalea-unikernel 시스템콜 실험 결과

<표 1> 유니커널의 대표적인 프로젝트

HJTOCM_2018_v33n6_129_t0001.png 이미지

참고문헌

  1. 정성인 등, "매니코어 운영체제 연구현황 및 계획," 전자통신동향분석, 제32권제6호, 2017, pp. 83-95. https://doi.org/10.22648/ETRI.2017.J.320610
  2. S.-J. Cha et al., "Multi-Kernel based Scalable Operating System for Manycore Systems," Future Generation Inform. Technol., vol. 148, 2017, pp. 28-34.
  3. A. Madhavapeddy "Unikernels-Rethinking Cloud Infrastructure," 2017, http://unikernel.org/
  4. Wikipedia, "Unikernels," 2015, https://en.wikipedia.org/wiki/Unikernel
  5. A. Madhavapeddy and D.J. Scott, "Unikernels: Rise of the Virtual Library Operating System," Distrubuted Comput. Mag., vol. 11, no. 11, Nov. 2013, p. 30.
  6. B. Sigoure, "How Long Does It Take to Make a Context Switch?" 2010, https://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html
  7. C. Li, C. Ding, and K. Shen, "Quantifying the Cost of Context Switch," Proc. Workshop Experimental Comput. Sci. (ExpCS '07), SanDiego, CA, USA, June 13-14, 2007, pp. 1-4.
  8. A. Madhavapeddy et al., "Unikernels: Library Operating Systems for the Cloud," ACM SIGPLAN Notices, vol. 48, no. 4, Apr. 2013, pp.461-472 https://doi.org/10.1145/2499368.2451167
  9. A. Wick et al., "Haskell Lightweight Virtual Machine (halvm)" GALOIS, INC., 2014. https://galois.com/project/halvm/
  10. A. Bratterud et al., "IncludeOS: A Minimal, Resource Efficient Unikernel for Cloud Services," IEEE Int. Conf. Cloud Comput. Technol. Sci. (CloudCom), Vancouver, Canada, Nov. 30-Dec. 3, 2015, pp. 250-257.
  11. A. Kivity et al., "OSv-Optimizing the Operating System for Virtual Machines," USENIX Annu. Technical Conf., Philadelphia, PA, USA, June 19-20, 2014, pp. 61-72.
  12. A. Kantee, "On Rump Kernels and the Rumprun Unikernel," XenProject, 2015. https://blog.xenproject.org/
  13. Stafan Lankes et al., "A Low Noise Unikernel for Exrem-Scale Systems," Architec. Comput. Syst., Vienna, Austria, Apr. 3-6, 2017, pp. 73-84.
  14. C.-C. Tsai et al., "Cooperation and Security Isolation of Library Oses for Multi-process Applications," Eur. Conf. Comput. Syst. (EuroSys'14), Amsterdam, Netherlands, Apr. 14-16, 2014, pp. 9:1-9:14.
  15. J. Martins et al., "ClickOS and the Art of Network Function Virtualization," USENIX Symp. Netw. Syst. Des. Implement. (NSDI'14), Seattle, WA, USA, Apr. 2-4, 2014, pp. 259-473.
  16. D.E. Porter et al., "Rethinking the Library OS from the Top Down," Int. Conf. Architect. Support Programming Languages Oper. Syst. (ASPLOS), Newport Beach, CA, USA, Mar. 5-11, 2011, pp. 291-304.
  17. A. Baumann et al., "The Multikernel: a New OS Architecture for Scalable Multicore Systems," Symp. Oper. Syst. Principles, Big Sky, MT. USA, Oct. 11-14, 2009, pp. 29-44.