On Thu, Nov 06, 2014 at 02:49:37PM +0300, Vladimir Mosgalin wrote:
>
> > P.S. To add injury to insult, the super advanced Red Hat kernel module management
> > system (dracut) does the super slow (bzip2 -9) rebuilt of initramfs not once,
> > but twice - once on install of new driver and second time on removal of old driver.
> > What should have taken 5 seconds takes a good 2-3 minutes (/usr/bin/time yum update kmod-nvidia).
>
> Are you sure?
You are right, it is "gzip -9", not "bzip2 -9". "gzip -9" is super slow for almost no gain in compression. (to save 10 bytes on 32GB RAM machines!)
> In fact, both highly benefit from parallel gzip (pigz).
Thanks, will look into it.
> ...
And yes, I confirm I see initramfs rebuild/recompressed twice - one on the install stage, two on the cleanup stage.
--
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
|