Article Title: How fast can the Linux + Oracle database system be started ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
A friend has a friend a few days ago. Due to project implementation, how long does it take to start Oracle on Linux? Their requirement is less than 10 seconds. Because the system may frequently lose power.
At that time, I considered how to implement it within 30 seconds. It would be too difficult to compress it to less than 10 seconds. It may take a long time for the database to recover from power failure.
Today, I saw some news and news about the Linux Startup speed.
First, the fastest Linux system can be started in 2.97 seconds: Linux boots in 2.97 seconds
| Lineo, an embedded Linux system designed by a Japanese company, can be started in 2.97 seconds on low-power systems. They call this Quick Start Software System Warp 2, Warp 2 a boot loader, a customized Linux software package, and a suspend-to-disk (sleep to the hard disk) similar) components of the software hibernation driver. This "hibernation driver" can write the RAM snapshot information into the flash memory to form an image instead of writing it to the hard disk. It is reported that it can save 50% of RAM information. Warp 2 can save multiple system RAM snapshots to provide a clean startup environment for restart, or directly read the previously saved RAM image at startup, which can speed up the startup. Their testing environment is a system that uses arm CPU and runs Warp 2. Of course, Warp 2 contains Linux, X display subsystem, Window Manager twm, and three xterm command line tools. It starts a 2.97 mb ram image and takes seconds. In the same environment, it takes 3.17 seconds to start a m RAM image. |
In LWN.net, another article describes the Linux kernel started in five seconds:
| Two developers beat the five second mark with two software loads: one modified Fedora and one modified Moblin. |
This indicates that the Linux Startup time can be simplified, but such a kernel requires the cooperation of the corresponding hardware system.
During Linux Startup and initialization, a good auxiliary tool is BootChart, which can be used to show the Linux Startup time consumption for analysis and optimization.