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:
Vladimir Mosgalin <[log in to unmask]>
Reply To:
Vladimir Mosgalin <[log in to unmask]>
Date:
Thu, 6 Nov 2014 14:49:37 +0300
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Hi Konstantin Olchanski!

 On 2014.11.05 at 15:36:25 -0800, Konstantin Olchanski wrote next:

> 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?
I've seen only gzip used in EL and Fedora systems.
In fact, both highly benefit from parallel gzip (pigz). I always install
it on all systems because it makes initramfs rebuilding go blazing fast.
Dracut uses it automatically when found. Try it, it should help.

/sbin/new-kernel-pkg supposed to call dracut without extra arguments,
and dracut uses gzip compression (with pigz if available, with gzip if
not) by default. So where bzip2 comes from?

I just checked Fedora 19, SL6 and SL7 systems and existing initramfs was
gzip-compressed on all systems.


Well, except for a single SL7 system where it's uncompressed (?!).
Maybe because it's under 20 MB uncompressed dracut didn't compress it,
or there was some glitch. Idk. What's strange is that on that system
initramfs files have "755" permissions while on all others (including
different SL7 system), where they are gzip-compressed, they have "700"
permissions. Go figure...

-- 

Vladimir

ATOM RSS1 RSS2