Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: James Cloos <cloos@...>
Subject: Re: omitting redirecting man pages from compression
Date: Tue, 21 Sep 2010 05:26:36 -0400
>>>>> "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@...>         OpenPGP: 1024D/ED7DAEA6


Replies:
Re: omitting redirecting man pages from compression
-- Mike Frysinger
References:
omitting redirecting man pages from compression
-- Mike Frysinger
Re: omitting redirecting man pages from compression
-- Ulrich Mueller
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: omitting redirecting man pages from compression
Next by thread:
Re: omitting redirecting man pages from compression
Previous by date:
Re: openrc: oldnet vs newnet
Next by date:
Re: RFC: per package eclass GLEP


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.