SCIENTIFIC-LINUX-USERS Archives

November 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Konstantin Olchanski <[log in to unmask]>
Reply To:
Konstantin Olchanski <[log in to unmask]>
Date:
Fri, 7 Nov 2014 19:00:24 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
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

ATOM RSS1 RSS2