Package: apt-cacher
Version: 1.6.8
Severity: normal
apt-cacher-cleanup.pl reads:
387: my ($zip,$encoding) = ($name=~/bz2$/ ? ("bzip2","x-bzip2") :
($name=~/gz$/ ? ("gzip -9nc","x-gzip") : "cat"));
The compression level -9 is overkill and too heavy for old hardware. A better
compression
level would be -3. See effects of various compression levels e.g. at:
"Practical Compressor Test"
> Results - graphs
> Results - table
http://users.elis.ugent.be/~wheirman/compression/
results
-------
The -9 vs. -3 in the tests were 13.3 seconds vs. 3.2 seconds (10x),
where compression gain was neglible in higher levels.
In contrast bzip2 -1 took *18.4* seconds.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-cacher depends on:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii ed 0.7-3 The classic unix line editor
ii libdigest-sha1-perl 2.11-2+b1 NIST SHA-1 message digest algorith
ii libfreezethaw-perl 0.45-1 converting Perl structures to stri
ii libwww-curl-perl 4.05-1 Perl bindings to libcurl
ii libwww-perl 5.820-1 WWW client/server library for Perl
ii perl 5.10.0-19 Larry Wall's Practical Extraction
Versions of packages apt-cacher recommends:
ii libberkeleydb-perl 0.38-1 use Berkeley DB 4 databases from P
Versions of packages apt-cacher suggests:
ii libio-socket-inet6-perl 2.54-1 Object interface for AF_INET6 doma
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]