Ubuntu 18.04 boot time is further reduced

Guided reading The upcoming Ubuntu 18.04 LTS (Bionic Beaver) provides a more powerful compression algorithm for initializing the virtual memory disk, thereby further shortening the user's boot speed. In previous Ubuntu versions, the initramfs (initial ramdisk) stage mainly used the gzip compression algorithm. Canonical's Balint Reczey announced today that the new version of Ubuntu will deploy the LZ4 compression algorithm to provide faster compression speed and compression ratio on the premise of lossless data.

Ubuntu 18.04 boot time is further reduced Ubuntu 18.04 boot time is further reduced

Ubuntu 18.04 boot time is further reduced Ubuntu 18.04 boot time is further reduced

According to Reczey's preliminary test results on an old laptop, the initramfs fetch time dropped from 1.2 seconds to 0.24 seconds. The creation time of the initramfs is also improved by 2-3 seconds, even when dealing with larger initramfs files can reduce the time by about 24-21 seconds.

Ubuntu 18.04 boot time is further reduced Ubuntu 18.04 boot time is further reduced

Although Ubuntu 18.04 LTS (Bionic Beaver) is the first Ubuntu version to bring the LZ4 compression soft method to initramfs, it is not activated by default, so users need to activate it manually. Canonical plans to activate it by default in the October 2018 release of Ubuntu 18.10.

Provide the latest Linux technology tutorial books for free, and strive to do more and better for open source technology enthusiasts: http://www.linuxprobe.com/  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324931029&siteId=291194637