Gentoo Archives: gentoo-dev

From: James Cloos <cloos@×××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] omitting redirecting man pages from compression
Date: Tue, 21 Sep 2010 09:54:46
In Reply to: Re: [gentoo-dev] omitting redirecting man pages from compression by Ulrich Mueller
>>>>> "UM" == Ulrich Mueller <ulm@g.o> writes:
UM> If we take the second route, then maybe it should be a more general UM> solution, i.e. exclude all tiny files (man page or not) from UM> compression? First, from a user’s perspective, not compressing small files is a good thing. Man pages perhaps most of all, given makewhatis, et al. (Think of all the C₁₂ which won’t be un-sequestered quite so soon. ☺ ;^) Ideally, there would be some way to configure, per filesystem and/or per directory, what constitutes a small file. If the fs uses fixed-size blocks then anything already smaller than one block needn’t be compressed. OTOH, if the fs supports partial block file packing, then a smaller threshold may be better. Even for large files, if the compression fails to save any blocks then it may be better to leave it uncompressed. That said, some backup strategies may be better served by compressing all but the smallest files. Good heuristics for the default compress-or-don’t threshold should cover most systems, but the ability to easily override the default is desirable. -JimC -- James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6


Subject Author
Re: [gentoo-dev] omitting redirecting man pages from compression Mike Frysinger <vapier@g.o>