임베디드 리눅스 환경에서 스냅샷 기반 프로세스 선별을 이용한 부팅 성능 개선
Improving of booting performance using snapshot-based process selection in embedded linux environments
- 주제(키워드) 스냅샷 , 리눅스 , 부팅
- 발행기관 서강대학교 정보통신대학원
- 지도교수 박성용
- 발행년도 2015
- 학위수여년월 2015. 2
- 학위명 석사
- 학과 및 전공 정보통신대학원 정보통신시스템
- 실제URI http://www.dcollection.net/handler/sogang/000000055632
- 본문언어 한국어
- 저작권 서강대학교 논문은 저작권보호를 받습니다.
초록/요약
최근 임베디드 리눅스가 채택된 다양한 임베디드 기기들이 개발 되면서 우리의 실생활 속에서 많이 사용되고 있으며, 여러 가지 편의를 사용자에게 제공해 주고 있다. 임베디드 기기들의 보편화로 부팅 시간은 임베디드 기기들의 제품 경쟁력을 강화시키는 중요한 요소로 부각되고 있다. 하지만 사용자의 요구가 늘어남에 따라 여러 가지 주변장치 및 기능들이 추가되어 임베디드 리눅스 시스템은 점점 커지고 복잡해지고 있다. 이러한 이유로 부팅 시 초기화에 많은 시간이 소비되어 부팅 시간이 늘어나고 있다. 이처럼 늘어나는 부팅 시간을 줄이기 위해 다양한 방법들이 논의되고 있다. 임베디드 리눅스 기반에서 부팅 시간을 개선시키는 방법 중 하나인 소프트웨어 서스펜드 / 리줌 기반의 기존에 제안된 부팅 방법을 개선하여 부팅 시간을 단축하고자 한다. 소프트웨어 서스펜드 / 리줌 방법은 특정 시점의 시스템 상태를 비 휘발성 저장매체에 저장한다. 그리고 시스템 종료 후 부팅 시 저장되어 있는 시스템 상태로 복원한다. 이러한 방법을 통하여 일부분의 커널 초기화 및 소프트웨어의 실행 단계를 수행하지 않아 빠른 부팅을 가능하게 하는 기법이다. 기존 연구는 다음과 같은 단점이 있다. 스냅샷 이미지 생성시 시스템 페이지 중 많은 부분을 스왑 영역에 저장하여 스냅샷 이미지의 크기를 줄인다. 이러한 방법을 통하여 부팅 시간은 단축하지만, 부팅 후 발생되는 스왑-인으로 인한 수행 속도의 저하가 발생되는 문제점이 있다. 또한 스왑-인으로 인한 수행 속도의 저하를 줄이기 위해 스왑 영역에 저장되는 페이지를 줄이면 스냅샷 이미지에 포함되는 페이지가 늘어나 부팅 사간이 늘어나는 단점이 있다. 본 논문에서는 수행중인 프로세스 전체가 아닌 일부 프로세스를 대상으로 스냅샷 이미지를 생성하는 방법을 통하여 스냅샷 이미지의 크기 및 스왑 영역에 저장되는 페이지를 줄여 부팅 시간을 개선하는 방안에 대해 논의 한다.
more초록/요약
With the development of various are embedded devices running embedded Linux, those devices are frequently used in our daily lives and they offer end users various conveniences. Due to the generalization of embedded devices, improving the booting time has become a major issue to improve the competitiveness of the embedded devices. However, as users needs increase, a lot of peripheral devices and functions have been being and it has been making embedded Linux system bigger and more complex. For these reasons, it takes more time than ever before to initialize embedded device. In order to reduce the length of booting time many different methods have been being discussed and studied. In this thesis, snapshot-based process selection mechanism to improve boot performance is proposed. This mechanism enhances traditional method based on software suspend and resume. Which a certain point of state of the system into the non-voatile storage system. while the system is shutting down, it recovers the system to the original state that it saved before during initialization. With this method, fast booting is enabled since this process skips out kernel initialization and software execution partially. The existing research has the following disadvantage. When the system creates snapshot images, a huge amount of system page will be saved to the swapping area, that leads to shrinking the size of the snapshot image. Even though this may shorten the booting time, it may also cause the execution speed down to swap-in that has to be done after booting. In addition, if the size of pages saved in swap territory is decreased to prevent the previous case, it results in lengthening booting time since pages included in snapshot images increase. Through research paper I propose the method that improves booting time by creating snapshot images from partial process, not entire process, that yields to proper number and size of pages saved in the swap territory.
more

