Hello Bastian, On Mon, 19 Dec 2011, Bastian Blank wrote: > dpkg-deb uses the -6 preset of xz by default, or at least documents it > this way. According to xz(1), this mode needs 9MiB of memory for > decompression (and 94MiB for compression). > > This should be no problem for most mainstream arches. However for arches > like mips*, arm* and m68k, where a lot of systems out there only have > very limited memory, this may be a large burden.
What exactly worries you? The 9MiB for decompression? I don't think we want to have different defaults per architectures. We picked -6 precisely because decompression required very few memory and was supposed to be acceptable for all arches. I don't think that Debian is appropriate for systems with less than 16 Mb of RAM. Anyone using a system with so few memory is likely to use a custom kernel anyway (I used to maintain an image of an embedded system with 8Mb of RAM but it's been a few years since the replacement generation came with 128Mb). If you really want to have a lower values for those arches and for the kernel, I suggest you deal with it in your debian/rules. You're free to pass -z3 to dpkg-deb when you detect DEB_HOST_ARCH being mips/mipsel/arm/armel/armhf/m68k. I think I'll close this bug in a while in the absence of a more compelling argument. Cheers, -- Raphaël Hertzog ◈ Debian Developer Pre-order a copy of the Debian Administrator's Handbook and help liberate it: http://debian-handbook.info/liberation/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org