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

Ship initoverlayfs with nmbl #25

Open
ericcurtin opened this issue Jul 5, 2024 · 0 comments
Open

Ship initoverlayfs with nmbl #25

ericcurtin opened this issue Jul 5, 2024 · 0 comments

Comments

@ericcurtin
Copy link

Hi Guys,

initoverlayfs was something I was working on for embedded use cases:

https://github.com/containers/initoverlayfs

it replaces initramfs with an erofs+overlayfs which leads to more scalable, faster initial filesystems, as in initoverlayfs we only read, verity bytes, etc. as we use them. Rather than cpio blob initramfses which are space sensitive due to the multiple copied of the data performed to populate that filesystem.

It was intended for our Automotive offerings, but recently we instead starting doing per-board OS builds, making our initramfses custom per-board, which makes them really tiny < 10 M making initoverlayfs only a handful of milliseconds faster when your initramfs is super small.

But in a generic operating system with a larger initramfs like Fedora or RHEL initoverlayfs makes even more sense, and it allows you to use larger binaries, etc. early boot.

To get the best performance out of initoverlayfs you need to build persistent storage drivers directly into the kernel, kinda like grub/sd-boot does.

With nmbl acting like a bootloader in Linux, maybe there's an opportunity to build persistent storage drivers directly in like a bootloader and ship initoverlayfs with nmbl

Interested in your feedback:

https://github.com/containers/initoverlayfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant