DOI QR코드

DOI QR Code

Improving Bootup Time of Embedded Linux using Snapshot Image Created on Boot Time

부팅 시 생성한 스냅샷 이미지를 이용한 임베디드 리눅스의 부팅 속도 향상 방안

  • 조인휘 (한양대학교 컴퓨터공학부 이동네트워크 연구실) ;
  • 이상철 (한양대학교 컴퓨터공학부 이동네트워크 연구실)
  • Received : 2010.08.30
  • Accepted : 2011.03.21
  • Published : 2011.03.31

Abstract

This paper attempts to propose a method to improve the snapshot boot method, one of the methods to enhance the booting speed of the embedded Linux based system and to increase its efficiency. Snapshot boot is a method of using suspend/resume that is a method of saving and restoring the entire information of the current tasks, and it enhances the booting speed by processing a restoration of previous tasks from the bootloader instead of processing the Linux booting. The facing problem of snapshot boot is that it takes a long time to create images and save them to the storage device during the suspend process since it targets every pages. Additionally, if the switch is turned off while creating an image by some extraordinary circumstances, then the image is not created and thus, the resume process of snapshot boot cannot be executed. The suggest method in this paper creates the snapshot image for once only and utilize the image to enhance the speed and stability on booting.

임베디드 리녹스 기반의 시스템에서 부팅 속도를 향상시키기 위한 방안 중 하나인 Snapshot boot기법을 개선하여 그 방법의 효용성을 높이고자 한다. Snapshot boot란 현재 수행중인 작업들의 대한 정보를 모두 저장하고 복원하는 방법인 Suspend/Resume을 사용하는 기법으로 리녹스의 일반 부팅과정을 거치지 않고, 부트로더에서 이전 작업의 복원을 처리하는 것으로 부팅속도의 향상을 가져온 기법이다. Snapshot boot의 문제점으로는 Suspend 과정에서 이미지를 생성해 저장장치에 저장을 하게 되는데 모든 페이지를 대상으로 하기 때문에 이 시간이 오래 걸리는 단점이 있다. 또한 이미지 생성 중 예외 상황이 발생 되어 전원이 OFF되면 이미지를 생성하지 못하게 되어 Snapshot boot의 Resume 과정을 수행 할 수 없게 된다. 본 논문에서 제안한 기법은 Snapshot image를 단 한번만 생성을 하고 이것을 활용하도록 하여 부팅 시 속도 및 안정성의 향상의 효과를 볼 수 있다.

Keywords

References

  1. CE Linux Forum (CELF) Kernel XIP "http://tree.celinuxforum.org/CelfPubWik/KernelXIP"
  2. 박우람, 나윤주, 박찬익 "지연된 장치 탐색을 이용한 부팅시간 향상 기법" 정보과학회 2006 추계학술대회
  3. Hiroki Kaminaga, "Imporving Linux Startup Time Using Software Resume," 2006 Linux Symposium
  4. 박세진, 송재환 "개선된 스냅샷 부트를 이용한 임베디드 리눅스의 빠른 부팅 기법." 정보과학학회지 : 컴퓨팅의 실제 및 레터 제 14권 6호 2008.8
  5. http://android.git.kernel.org
  6. http://git.kernel.org/?p=linux/kernel/git/kki_ap/linux-2.6-samsung.git;a=summary
  7. Bovet and Cesati, "Understanding Linux Kernel 3rd Edition" O'Reilly