On Sun, Jan 11, 2015 at 09:40:20PM -0800, Elliott Mitchell wrote:
> Package: apt
> Version: 0.9.7.9+deb7u7

Thanks for your bugreport.
 
> I've ended up examining how much space programs are using in /var, and
> APT is the top pig, using close to half of /var as /var/lib/apt/lists,
> one factor does appear to be exasperating this, `dpkg` has 5 foreign
> architectures.
> 
> Trying a few compression methods:
> 
> 426248  lists
> 114580  lists.gz
> 90868   lists.bz2
> 85648   lists.lzma
> 86532   lists.xz
> 
> Nearly all of this space is being used for the Packages files.  Merely
> compressing them would be a rather major improvement.  The main Debian
> testing file is the biggest of these.

You can use the configuration option 
"""
Acquire::GzipIndexes "1";
"""
to keep the indexes compressed on disk. You trade the speed for
building the mmap cache with the size of the data on disk. 

Note that this option works best with later apt versions (1.0.9.2 or
later) where this option supports all compressions that apt supports
(the older versions only support gzip).

Cheers,
 Michael

> 
> -- 
> (\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
>  \BS (    |         ehem+sig...@m5p.com  PGP 87145445         |    )   /
>   \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
> 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
> 
> 
> -- 
> To UNSUBSCRIBE, email to deity-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/20150112054020.ga74...@scollay.m5p.com
> 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to