Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 809742] New: Please stop using gzip -9 in mkinitrd
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 15 Mar 2013 21:52:41 +0000
  • Message-id: <>

Summary: Please stop using gzip -9 in mkinitrd
Classification: openSUSE
Product: openSUSE 12.3
Version: Final
Platform: Other
OS/Version: openSUSE 12.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: andi-nbz@xxxxxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:19.0)
Gecko/20100101 Firefox/19.0

[This is really for 12.3 and beyond, but bugzilla doesn't know that release

Kernel installs with full modules always take incredible long (several minutes)
This is related to mkinitrd using gzip -9 to compress the initrd. -9 only
gives a tiny bit of space saving, but takes a lot longer than the default
settings. I usually remove the -9, but every update brings it back.

- Consider changing the default: just drop the -9

-rw-r--r-- 1 root root 23232956 Mar 15 22:47 initrd-3.7.10-1.1-default
-rw-r--r-- 1 root root 23355299 Mar 15 22:47

Only 0.5% difference.

- If you really want to keep it make it a sysconfig setting at least.
- If you really want to save space rather use bzip2 or so, the kernel should
support that and it's still much faster than gzip -9

-rw-r--r-- 1 root root 21588996 Mar 15 22:48 initrd-3.7.10-1.1-default.bz2

~8% savings over both gzips.

Reproducible: Always

Steps to Reproduce:

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >