[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#806924: marked as done (apt-utils: Major performance regression in apt-ftparchive)



Your message dated Wed, 22 Jun 2016 13:18:33 +0000
with message-id <E1bFi37-00080E-61@franck.debian.org>
and subject line Bug#806924: fixed in apt 1.2.14
has caused the Debian Bug report #806924,
regarding apt-utils: Major performance regression in apt-ftparchive
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
806924: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806924
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-utils
Version: 1.1.2
Severity: normal

I'm running a set of scripts here to rebuild the archive using pbuilder, and 
they use apt-ftparchive to generate indices for "dogfooding" the results.  In 
the case where only a couple packages were updated between runs, it used to be 
able to complete within about 3 minutes per architecture (or less depending on 
disk cache).  However, approximately since the upgrade to apt 1.1, it's now 
taking about 15 minutes per architecture.

I've tried removing the cache DB files, in case there was some incompatible 
data from the previous version that was causing that.  However, that didn't 
resolve the slowed performance.  After the first run regenerating the cache DBs 
(which I think took about 2 or 3 hours per architecture), it went back to 
taking c. 15 minutes per arch.

When I run strace on an apt-ftparchive process (with DB), it still seems to be 
reading a great number of .deb files, even ones that haven't changed for 
months.

Here's the configuration file I'm using with apt-ftparchive generate.  (I 
haven't changed it since well before the upgrade.)

Dir {
        ArchiveDir ".";
        OverrideDir "dists";
        CacheDir "dists";
};

Default {
        Packages::Compress ". gzip bzip2";
        Contents::Compress ". gzip bzip2";
}

Tree "dists/sid" {
        Sections "main old partial";
        Architectures "amd64 i386";
        Directory "pool/$(SECTION)";
        Packages "dists/sid/$(SECTION)/binary-$(ARCH)/Packages";
        BinOverride "override.sid.main";
        ExtraOverride "override.sid.extra.main";
}
-- 
Daniel Schepler

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.2.14

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 806924@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 22 Jun 2016 14:54:48 +0200
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.2.14
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst2.0 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg5.0 - package management runtime library
Closes: 806924 827067 827713
Changes:
 apt (1.2.14) unstable; urgency=medium
 .
   [ Julian Andres Klode ]
   * New micro release (LP: #1595177)
 .
   [ Petter Reinholdtsen ]
   * Norwegian Bokmål program translation update (Closes: 827067)
 .
   [ David Kalnischkies ]
   * do not error if auto-detect-proxy cmd has no output (Closes: 827713)
   * source: if download is skipped, don't try to unpack
   * ensure filesize of deb is included in the hashes list
 .
   [ Dominic Benson ]
   * Reinstate caching of file hashes in apt-ftparchive (Closes: #806924)
Checksums-Sha1:
 7d724a08d57e759d9b3de5b753a0b360d910e555 2339 apt_1.2.14.dsc
 7146b6680dcc0120e4f4a3749fa8bf4aa8c7be04 2055184 apt_1.2.14.tar.xz
Checksums-Sha256:
 a261424fc13ae8fb54f769827aad20d0efdf4e7dc054e530a573a0e4d56a675e 2339 apt_1.2.14.dsc
 f8b45b71dbb0f2cb5bf9169980d07dadf30aad37394d8d54b157a3d692739471 2055184 apt_1.2.14.tar.xz
Files:
 87d7fc0bc8d708107063f22da5332ce0 2339 admin important apt_1.2.14.dsc
 3b69456e0b2529aaed577842cb715c70 2055184 admin important apt_1.2.14.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXaow8AAoJENc8OeVlgLOGxpMP/0jZOw9g3vwFgpoHFY4SHa4v
pycB2FLSbFuRkKCY8PU6q1kVLu6Sn3i0DQmz50/2IJ5KhcspC2pI9X8UoCMb1Kx/
p9J8pPVwGgiCiHC2yCkwMhosg5poDnYDX/U4myDP+/D/I//bIK+E3Zw0Jnnxli3E
lScbk7YGtnxx8MWmKh4hJHOvidcsyFTXyFqH7KJmpoypDgtwwYLQn+CMr41MCQZZ
COxvjpjRvyryjpsvTCNAsR1f2+vJkjCFvRk80Syt5sVbzm41IryoMZ+eke9H/0Ya
k2Gnr2MrU5VdstmWZG32NVaiDQLl9LW2mbyoakAqNcxDgruCe54IPwIhf+t4px2l
ruafXwKkwYgrHlqnDwTVltCq7svTLeEAcNTp9WMAJRHAxrn86LS9yVutjhMgIrwK
7hPG12IXiFA5ruTPv3nfMkFdWtcrVRwHleQAoxjL+YLmbM90hC+MSyQcyHiOXBzU
STJuRme8RH7IcWJorkZKbn3ybijtbfja6Jpk/NQKfK59vAGxu7ujsmAMlZtJC6Cv
J24k5N/nolN8nzMvjCuTQ2Fd63WmC1Z5aYjpDOtRDIuY6jklmim4i21abKm+NKek
RAmIJm5R6BF9YRmzEEbKJScx/Hq5q/+1FwhI7Am2wZQbt/fyyVE8CBOF/6ZHHqH4
vOjCszOxcYE3jTQWZh09
=sFg+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: