Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce size of initramfs or kernel for performance #44

Open
UriHerrera opened this issue Nov 5, 2019 · 1 comment
Open

Reduce size of initramfs or kernel for performance #44

UriHerrera opened this issue Nov 5, 2019 · 1 comment
Labels
discussion-feedback Issues to discuss users feedback on this software. feature-request Issues to discuss future features to be added to this software.

Comments

@UriHerrera
Copy link
Member

UriHerrera commented Nov 5, 2019

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 #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.

@UriHerrera UriHerrera added the feature-request Issues to discuss future features to be added to this software. label Nov 5, 2019
@UriHerrera UriHerrera changed the title Reduce size of initramfs Reduce size of initramfs or kernel for performance Nov 5, 2019
@UriHerrera UriHerrera added the discussion-feedback Issues to discuss users feedback on this software. label Nov 5, 2019
@UriHerrera
Copy link
Member Author

Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion-feedback Issues to discuss users feedback on this software. feature-request Issues to discuss future features to be added to this software.
Projects
None yet
Development

No branches or pull requests

1 participant