Announcement
Collapse
No announcement yet.
The Dracut Initramfs Generator Is Slow - Could Be Much Faster As Shown By Distri's Minitrd
Collapse
X
-
I wonder if using zstd for compressing the image would result in a significant gain in compression/decompression time?
- Likes 7
-
It doesn't surprise me that a lot of performance was left on the table as the original compressor was just using a single thread (he got down from 31s to 9s by just changing to a multithreaded compressor). His blog post is insightful and hopefully achieves his goal to inspire more optimizations. Also there are a couple of other areas where single-threaded compression is still used today, e.g. the rpm-pkg and deb-pkg build target of the kernel which slows down these builds significantly on modern hardware. This needs to go!
- Likes 3
Leave a comment:
-
Originally posted by R41N3R View PostArch Linux is considering as well dracut, so I tried it as well and I must say it is not really convincing. It might cover more edge cases that mkinitcpio, but it feels really slow. As i install always the latest released kernel and lts I would not like to switch if it will not perform better.
For me, I don't really care if the initramfs generates faster or not. 99.999% of the time I'm building one it's during a kernel upgrade. It takes around 5 minutes to build all the dkms modules I use and no initramfs generator is going to speed the "compiling software" part of the process up.
Leave a comment:
-
initrd generation has been the slowest part of the whole package management infrastructure since forever. Every time I've seen this step during an Ubuntu update I've asked myself why it would take so long.
- Likes 8
Leave a comment:
-
20x improvement, wow.
It would be so nice if this were in the next Ubuntu LTS.
Leave a comment:
-
Arch Linux is considering as well dracut, so I tried it as well and I must say it is not really convincing. It might cover more edge cases that mkinitcpio, but it feels really slow. As i install always the latest released kernel and lts I would not like to switch if it will not perform better.
- Likes 2
Leave a comment:
-
The Dracut Initramfs Generator Is Slow - Could Be Much Faster As Shown By Distri's Minitrd
Phoronix: The Dracut Initramfs Generator Is Slow - Could Be Much Faster As Shown By Distri's Minitrd
Dracut that is used for generating the initramfs image on Linux distributions like Fedora / RHEL, Debian, openSUSE, and many other distributions could be much faster...
Tags: None
Leave a comment: