[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697335: marked as done (initramfs-tools: hardcoded "xz -8" hurts low-RAM systems for little gain)



Your message dated Wed, 04 Mar 2015 21:19:26 +0000
with message-id <E1YTGhS-0004UP-4A@franck.debian.org>
and subject line Bug#697335: fixed in initramfs-tools 0.119
has caused the Debian Bug report #697335,
regarding initramfs-tools: hardcoded "xz -8" hurts low-RAM systems for little gain
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
697335: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697335
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.109
Severity: normal

Dear Maintainer,

Right now, mkinitramfs runs the hardcoded command "xz -8 --check=crc32"
when COMPRESS=xz is given in mkinitramfs.conf.

This runs for a *LONG* time on my system because I only have only 256
MiB of RAM.

I was able to workaround this like so:

  export XZ_DEFAULTS="-v --memlimit-compress=64MiB"

but it feels dirty to need to do this, especially given that it turns
out that this costs very little in compression ratio: just a thousandth
or two.

-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-686-pae root=UUID=1c08ee41-6454-409d-bf06-ef837a72d296 ro

-- resume
# RESUME=/dev/hda2
RESUME='UUID=6bfc93a9-cfd1-4117-8a64-ab120037e560'
-- /proc/filesystems
	ext3
	fuseblk
	ext2
	ext4
	reiserfs
	xfs
	jfs
	msdos
	vfat
	ntfs
	minix
	hfs
	hfsplus
	qnx4
	ufs
	btrfs

-- lsmod
Module                  Size  Used by
cpuid                  12620  0 
btrfs                 489035  0 
crc32c                 12576  1 
libcrc32c              12394  1 btrfs
zlib_deflate           21318  1 btrfs
ufs                    57656  0 
qnx4                   12992  0 
hfsplus                70426  0 
hfs                    40744  0 
minix                  26960  0 
ntfs                  162346  0 
vfat                   17116  0 
msdos                  12829  0 
fat                    44497  2 msdos,vfat
jfs                   134977  0 
xfs                   524001  0 
reiserfs              172065  0 
ext4                  302770  0 
crc16                  12327  1 ext4
jbd2                   52246  1 ext4
ext2                   49826  0 
dm_mod                 57362  0 
tcp_diag               12400  0 
nfnetlink_log          12909  0 
nfnetlink              12786  1 nfnetlink_log
inet_diag              17001  2 tcp_diag
ppdev                  12651  0 
lp                     12797  0 
autofs4                22746  1 
binfmt_misc            12813  1 
fuse                   52153  1 
xt_hl                  12409  16 
ip6t_rt                12451  3 
xt_tcpudp              12506  144 
ipt_MASQUERADE         12530  4 
nf_nat_ftp             12420  0 
iptable_nat            12800  1 
nf_nat                 17924  3 iptable_nat,nf_nat_ftp,ipt_MASQUERADE
nf_conntrack_ipv4      13726  25 nf_nat,iptable_nat
nf_defrag_ipv4         12443  1 nf_conntrack_ipv4
xt_TCPMSS              12590  20 
ip6t_LOG               12537  45 
ipt_LOG                12533  48 
ip6t_REJECT            12508  0 
ipt_REJECT             12454  0 
ip6table_mangle        12492  0 
iptable_mangle         12488  0 
xt_multiport           12492  0 
xt_state               12455  44 
xt_limit               12484  107 
xt_conntrack           12601  0 
nf_conntrack_ftp       12533  1 nf_nat_ftp
nf_conntrack_ipv6      13124  22 
nf_defrag_ipv6         12684  1 nf_conntrack_ipv6
nf_conntrack           43121  9 nf_conntrack_ipv6,nf_conntrack_ftp,xt_conntrack,xt_state,nf_conntrack_ipv4,nf_nat,iptable_nat,nf_nat_ftp,ipt_MASQUERADE
ip6table_filter        12492  1 
ip6_tables             17185  4 ip6table_filter,ip6table_mangle,ip6t_LOG,ip6t_rt
iptable_filter         12488  1 
ip_tables              17079  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               18121  20 ip_tables,iptable_filter,ip6_tables,ip6table_filter,xt_conntrack,xt_limit,xt_state,xt_multiport,iptable_mangle,ip6table_mangle,ipt_REJECT,ip6t_REJECT,ipt_LOG,ip6t_LOG,xt_TCPMSS,iptable_nat,ipt_MASQUERADE,xt_tcpudp,ip6t_rt,xt_hl
sit                    17331  0 
tunnel4                12557  1 sit
bridge                 59964  0 
stp                    12368  1 bridge
tun                    17868  3 
speedstep_lib          12574  0 
lm85                   17936  0 
hwmon_vid              12398  1 lm85
i2c_i801               12670  0 
joydev                 17010  0 
snd_cs46xx             23445  0 
snd_ac97_codec         84201  1 snd_cs46xx
snd_pcm_oss            36181  0 
snd_mixer_oss          17668  1 snd_pcm_oss
snd_pcm                53390  3 snd_pcm_oss,snd_ac97_codec,snd_cs46xx
snd_page_alloc         12867  2 snd_pcm,snd_cs46xx
snd_seq_midi           12744  0 
snd_seq_midi_event     13124  1 snd_seq_midi
snd_rawmidi            18376  2 snd_seq_midi,snd_cs46xx
snd_seq                39487  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         13016  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              22356  2 snd_seq,snd_pcm
snd                    42691  9 snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_ac97_codec,snd_cs46xx
evdev                  17225  0 
soundcore              12921  1 snd
ac97_bus               12462  1 snd_ac97_codec
gameport               13332  1 snd_cs46xx
i2c_piix4              12480  0 
parport_pc             22036  1 
serio_raw              12803  0 
pcspkr                 12515  0 
i2c_core               19116  3 i2c_piix4,i2c_i801,lm85
dcdbas                 13080  0 
parport                31254  3 parport_pc,lp,ppdev
shpchp                 26717  0 
container              12525  0 
processor              27565  1 
thermal_sys            17752  1 processor
button                 12817  0 
ext3                  138190  6 
mbcache                12897  3 ext3,ext2,ext4
jbd                    47281  1 ext3
microcode              13265  0 
sg                     21476  0 
sr_mod                 17468  0 
sd_mod                 35425  9 
crc_t10dif             12332  1 sd_mod
cdrom                  34813  1 sr_mod
ata_generic            12439  0 
ata_piix               21175  7 
libata                124981  2 ata_piix,ata_generic
floppy                 48121  0 
uhci_hcd               22337  0 
ehci_hcd               35509  0 
usbcore               104470  3 ehci_hcd,uhci_hcd
scsi_mod              134998  4 libata,sd_mod,sr_mod,sg
3c59x                  30658  0 
mii                    12595  1 3c59x
natsemi                26577  0 
usb_common             12338  1 usbcore

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Do not create symbolic links in /
do_symlinks = Yes
do_initrd = Yes

# update-grub stuff
do_bootloader = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=xz
export XZ_DEFAULTS="-v --memlimit-compress=64MiB"
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fuse
intel_microcode
keymap
klibc
kmod
ntfs_3g
thermal
udev
v86d

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11-8
ii  klibc-utils        2.0.1-3.1
ii  kmod               9-2
ii  module-init-tools  9-2
ii  udev               175-7

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.20.0-7

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.0-1

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed:
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=xz
export XZ_DEFAULTS="-v --memlimit-compress=64MiB"
DEVICE=
NFSROOT=auto


-- no debconf information

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.119

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 697335@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 01 Mar 2015 23:58:49 +0000
Source: initramfs-tools
Binary: initramfs-tools
Architecture: all source
Version: 0.119
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Closes: 627547 678696 688794 697335 707583 744836 752789 759552 762042 762768 762984 764020 764022 764388 765614 766448 771301 773250
Description: 
 initramfs-tools - generic modular initramfs generator
Changes:
 initramfs-tools (0.119) unstable; urgency=medium
 .
   The "Wait smarter not harder" release
 .
   [ Ben Hutchings ]
   * [bf238f6] Always generate ORDER files in mkinitramfs (Closes: #688794)
   * [8529550] Move get_source, set_initlist, get_prereq_pairs, call_scripts to
     hook-functions
   * [6ba2e93] hook-functions: Add modules for various important device types
     (Closes: #762042)
   * [9c8bde8] mkinitramfs.8: Update default temporary directory
     (Closes: #764388)
   * [1bd461e] initramfs-tools.8: Refer to lsinitramfs rather than suggesting
     gunzip | cpio (Closes: #764022)
   * [64d39d0] Add comment to /usr/share/initramfs-tools/modules that it is not
     a config file (Closes: #752789)
   * [4f1414b] initramfs-tools.8: Improve documentation of break parameter.
     Thanks to Helmut Grohne <helmut@subdivi.de> (Closes: #707583)
   * [a5fbfb8] update-initramfs: Fix error message in case of excess arguments
     (Closes: #627547)
   * [738678f] initramfs.conf.5: Update configuration directory (Closes: #759552)
   * [3862d9b] update-initramfs: Consistently show which options take arguments
     (Closes: #762768)
   * [35bdb74] Refer to lsinitramfs(8) from {initramfs-tools,mkinitramfs,
     update-initramfs}(8) (Closes: #764020)
   * [cf9691d] mkinitramfs: Use default xz compression level rather than -8
     (Closes: #697335)
   * [10ebca7] mkinitramfs: Improve warning text when missing modules.
     Thanks to Trent W. Buck <trentbuck@gmail.com> (Closes: #744836)
   * [540dcb6] initramfs-tools.8: Refer to 'phase' rather than 'stage' of
     initramfs execution
   * [c7a3b31] initramfs-tools.8: Briefly document the kernel hooks
   * [274f945] hooks/fsck: Remove dependency on hwclock by disabling e2fsck time
     check
   * [1780a66] checkfs: Continue unless fsck reports uncorrectable errors
     (Closes: #765614)
   * [e5526cd] checkfs: Correct error messages and emergency shell in case of
     failure
   * [9daea18] hooks/fsck: Fix type lookup for mount by UUID or label with
     type=auto (Closes: #766448)
   * [2b1d834] dep_add_modules: Add modules needed for /usr device
   * [a164229] NEWS: Begin a NEWS entry for the fsck and /usr-mount changes
   * [2bbe817] NEWS: Document the possible need to update mdadm INITRDSTART
     (Closes: #771301)
   * [884a518] control: Ensure cryptsetup is upgraded to support mounting /usr
   * [7b4635c] Allow passing arguments to hooks and scripts
   * [2e2f753] local: Call local-block boot scripts to prepare additional block
     devices
   * [3a1db85] control: Add versioned Breaks on lvm2 without a local-block boot
     script (Closes: #762984)
   * [d4e5601] local: Invoke local-block scripts from the loop in
     local_device_setup (Closes: #678696)
   * [8402332] local: Use max(30, rootdelay) as timeout for block device to
     appear
   * [adfa0f6] NEWS: Add an entry about e2fsck behaviour with RTC set to local
     time
 .
   [ Bastian Blank ]
   * [9bc3a78] hook-functions: Add xhci-pci to module list (Closes: #773250)
Checksums-Sha1: 
 01602f05882a14e119bcd3450a1c44e73ea0e29c 1709 initramfs-tools_0.119.dsc
 ea3094b9b105532768c869513ce9e0838bbf2c27 80016 initramfs-tools_0.119.tar.xz
 c67f8ea782560493272d38ba68718c0ff7eb8512 95294 initramfs-tools_0.119_all.deb
Checksums-Sha256: 
 8e4fad86d563dde610e81f7976ec811aef6ab0762dde4f8e6e0ad9f11ca0b3fe 1709 initramfs-tools_0.119.dsc
 80624cf26b0c52da40d4888dffc1140a030849e16536808d6a83a5d21e66166a 80016 initramfs-tools_0.119.tar.xz
 6b781a29249616a4e6fe369fe9cc57e8d9e5f8b82d8007c9e81d52f047d780ed 95294 initramfs-tools_0.119_all.deb
Files: 
 d7e311ee5dada18ec57fe60b4a19ed3c 1709 utils optional initramfs-tools_0.119.dsc
 0fd19c5c9581b799e76e08af366f9976 80016 utils optional initramfs-tools_0.119.tar.xz
 071a6cf6d93386b171dbea89b3060d62 95294 utils optional initramfs-tools_0.119_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVPdom+e/yOyVhhEJAQqf7w/5AZrA3UgG/6+5l0SnN3sHdvrEoYBYXlaV
0+z58jnni+Zfo5z15wTRvd0yFkL40K+0p0bbsw8uNGBwC97lfYi+UtHRK4KmEP2S
J+t0W2qYIIb+tyz8OFjqbdZ+PtkvH+WHeLPqrCMDN9q9AS1TKBtpm35fcSDCCa4s
UeK9Robs+FhLcCjPHu3fo3cZQzckwuTHRkBUYcMKX+00u2bLynXreJjouAJcvLeA
A3MVn80085FNgZERBBWRDt499hAFegO/6RWesTJhaZ8GxT3tcPmMz8g+WoKlt3Dz
W7gc2Im/177tqrSWemJhb3r51sgzucm46GkSy2kyQvMxnFpfpAcjJsGc6ScVqZvW
/eepjucUwSXCsCyLw4IsOauil/RVtqyWGNIdhsCOeeSjfWfJClUplfS4/UeNIr+U
2u3xCGon4KOGXB7vWPxw+4gmVPdbcOamNb2ft7MF5jxIKU+2GuiUHi7rYnpUEY7z
n1FMqesTMLnattyoWVYm2BE2fVodxi42iBDcHljfxBId5xFFxF4Lvb8kwn+yvEKx
iFKP//RqUUAOYFOYWtcEmB6gB0OceBgrC4cKLgbuGpqoWpBjyu1JAzupx+wI9S3C
c8ywX8RkzRo4CkHJXjXSL2SG20fnlAKKjZAcIyQxQ4KI47TljZXmQN0SKuvZDvqo
BN+7xH28PlM=
=kxdX
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: