Gentoo Archives: gentoo-portage-dev

From: Mike Frysinger <vapier@g.o>
To: James Cloos <cloos@×××××××.com>
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH v2] prepman: do not compress files <=128 bytes
Date: Thu, 21 Mar 2013 18:40:02
Message-Id: 201303211443.48766.vapier@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH v2] prepman: do not compress files <=128 bytes by James Cloos
1 On Thursday 21 March 2013 07:51:49 James Cloos wrote:
2 > >>>>> "MF" == Mike Frysinger <vapier@g.o> writes:
3 > MF> +SIZE_LIMIT='128'
4 >
5 > The limit probably should be larger, given that nothing which fits into
6 > one filesystem block will use less space compressed.
7 >
8 > In many cases a limit of 4096 would be appropriate. But a limit of 1024
9 > should cover the lowest common denominator.
10
11 realistically, there are no man pages that are under 4k. look at the
12 referenced bug for more details.
13
14 you're also ignoring things like tail packing. i really don't want to start
15 customizing code for FS idiosyncrasies that are not reliable.
16 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH v2] prepman: do not compress files <=128 bytes James Cloos <cloos@×××××××.com>