現今的作業系統為了因應更多不同的需求,系統的設計越來越複雜,導致開機時間也越來越長,因此有了快速開機的需求。一套良好的設計,可以明顯的改善開機時所需等待的時間。本研究所設計的快速開機是建立在系統休眠(Hibernation)這個機制來實現的。 Hibernation的回復過程中,仍需要先由bootloader來載入Linux Kernel,並且會先將Linux初始化過一遍後,才會開始載入hibernation file進行系統回復。但是在回復流程中kernel初始化的目主要是為了讓kernel可以載入hibernation file以便後續的回復動作。加上使用kernel載入hibernation file的過程中主要為讀取hibernation file到記憶體中,並且跳回關機前那一刻的狀態,這兩個部份,在bootloader中亦可達成。因此本研究希望將載入hibernation file的階段移至bootloader的階段,進而可以省略kernel初始化階段所需的時間。
This paper propose a method to reduce the boot time. When restoring system, we use u-boot as a loader to load hibernation file instead of kernel. It's a waste of time using kernel to load hibernation file, because we have to initial kernel in advance.