iso-tool
iso-tool copied to clipboard
Reduce size of initramfs or kernel for performance
The initramfs should only contain what is necessary for the operating system to boot. We have to determine what that is, and then we can reduce its size.
This issue is in addition to https://github.com/Nitrux/nitrux-iso-tool/issues/41. We're currently using initramfs-tools
to generate it, but also dracut
can be used; it seems that with dracut, its size is reduced.
But our scripts don't make use of it.
Another option is to reduce the size of the kernel that we use. As a comparison, our current Linux kernel starts in 4.7s vs. Clear Linux's 1.2s. The target should be to boot the system from GRUB to Desktop in 3 seconds, and this is not just for a better boot time for desktop computers, but for embedded devices where we can't have the luxury of have the user wait for the device to start up.