Your message dated Wed, 16 Nov 2016 04:33:33 +0000
with message-id <[email protected]>
and subject line Bug#824636: fixed in dpkg 1.18.15
has caused the Debian Bug report #824636,
regarding dpkg: Slow install performance
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 [email protected]
immediately.)


-- 
824636: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824636
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.17.26
Severity: important

Dear Maintainer,

   * What led up to the situation?

   Installation of a system takes an extreme long time. The systems have
   RAID controllers included:

   - Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 
PCI-Express Fusion-MPT SAS-2
   - Serial Attached SCSI controller: Intel Corporation C606 chipset Dual 
4-Port SATA/SAS Storage Control Unit

   Classic SATA harddisks are connected to the IO controllers.

   Normally an install takes 10 minutes. On these systems it takes 50
   minutes.

   Machine informations:

Base Board Information
        Manufacturer: Supermicro
        Product Name: X9DR3-F
        Version: 1.11A
        Serial Number: VM2BS00000
        Asset Tag: To be filled by O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To be filled by O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Base Board Information
        Manufacturer: Supermicro
        Product Name: X8DTH
        Version: 11A
        Serial Number: M0IS00000
        Asset Tag: To Be Filled By O.E.M.
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: To Be Filled By O.E.M.
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   Perform a normal install process.

   * Analysis

   By bisecting the source code of "dpkg" package with git showed that
   commit 87b0b20b86407baf1deb4e91b3fd839e01228ac8

        commit 87b0b20b86407baf1deb4e91b3fd839e01228ac8
        Author: Guillem Jover <[email protected]>
        Date:   Tue Jul 15 21:00:52 2014 +0200

            dpkg: Try to preallocate the disk size for extracted files
            
            This might help in avoiding filesystem fragmentation, and possibly
            improve performance on some filesystems.
            
            We use the system specific methods if available, and only use
            posix_fallocate() if nothing else is available, because on some 
systems
            its semantics are counter to what we want to obtain here, as the 
libc
            library will fallback to manually writing '\0' to each block to 
force
            the preallocation, instead of just failing and leaving the 
application
            to do so if desired.

   introduced the massive slow down of the install process.

   After "git revert" of this commit the installation behaved as expected.

   So the problematic system call on these systems is "fallocate".

-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-7+b3
ii  libc6        2.19-18+deb8u4
ii  liblzma5     5.1.1alpha+20120614-2+b3
ii  libselinux1  2.3-2
ii  tar          1.27.1-2+b1
ii  zlib1g       1:1.2.8.dfsg-2+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  1.0.9.8.3

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.18.15

We believe that the bug you reported is fixed in the latest version of
dpkg, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <[email protected]> (supplier of updated dpkg 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 [email protected])


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

Format: 1.8
Date: Wed, 16 Nov 2016 03:28:05 +0100
Source: dpkg
Binary: dpkg libdpkg-dev dpkg-dev libdpkg-perl dselect
Architecture: source
Version: 1.18.15
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description:
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Closes: 824636 843714
Changes:
 dpkg (1.18.15) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * Improve PIE flags support:
     - Do not enable PIE when linking static programs. glibc-based systems
       do not support this combination and produce very bogus output.
       Proposed by Szabolcs Nagy <[email protected]>. Closes: #843714
   * On source builds add 'source' to the Architecture field in the
     .buildinfo file in dpkg-genbuildinfo.
   * Add new Build-Date field to .buildinfo files.
   * Generate deterministic .buildinfo filenames in dpkg-genbuildinfo,
     following the same pattern as used for .changes files.
   * Bump .buildinfo Format to version 0.2.
   * Change dpkg-buildpackage -j and -J on “auto” mode to fallback to serial
     execution when we cannot infer the number of online processors on
     unsupported or exotic systems. This should be a safer mode of operation.
     Proposed by Simon McVittie <[email protected]>.
   * Only preallocate disk size in dpkg for unpacked files bigger than 16 KiB.
     Closes: #824636
   * Perl modules:
     - Validate architecture arguments in Dpkg::Deps deps_parse().
       Prompted by Johannes Schauer <[email protected]>.
   * Documentation:
     - Escape dashes in field names in dpkg-buildinfo(1).
   * Test suite:
     - Mark partially documented POD modules as TAP TODO.
 .
   [ Updated man pages translations ]
   * German (Helge Kreutzmann).
Checksums-Sha1:
 e568fa3bdddace093b529a9f8e66577eee82dc73 2032 dpkg_1.18.15.dsc
 62508011a8e9955f3563f3dfc77e3c32ba57d8bf 4494820 dpkg_1.18.15.tar.xz
Checksums-Sha256:
 63fdc2bd7a0e8d2c4066da228bd88e770e3094e8c761c33a3a700dc9edb12fbe 2032 
dpkg_1.18.15.dsc
 aee936653b9c39403160c0a331ee7934563fbfa4e1f5adbc14a289c803cda371 4494820 
dpkg_1.18.15.tar.xz
Files:
 9f7411f6c967d594cf84ee8de7292e7e 2032 admin required dpkg_1.18.15.dsc
 7aa1b61da5bff4cbc5a1d2cb5a30d546 4494820 admin required dpkg_1.18.15.tar.xz

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

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAlgr3RIACgkQuXK/PqSu
V6PNRRAAyj6DYG29EpHDO3Z8Imu13C3ld9gA2Sp+/SeXtAy57LVTSgIwsIMPFwqL
awYzWEE73SB6RbmXnn+U94j5V47T8V2bbxtvUNFYh+hmqL1/2vwJFKGyyoEbLPTp
DNDv2NZcCuXj1NS8z4ivRa/gaf2YufrfaCb8ZlKEHH2v6BOVSqoT46M+jwUTuyFm
R5G9rnPJnbD43+dgfONvOD94fKezyErnura6+q4/al59CMTFacqq5w01VweCcqKN
SyrL5YGK8bAl1ct7y0aURu4oLYgMNdei7d0sIjMfpRSfBagsSmbWcfHr4KRY7AbF
CSGi2Vd4moJxGWyZlb6+ACCLRe9FRZXCUDAnhkqkDmEiB1BWt4qdgjr7VlQH3FLn
z/IO87jOy2w07OJHep5NBO0TccsaOSbea2Yjeb9RikEqMlAq9bNAuCS0tUE30b8D
pH23z05BD8vqboRT+Zk1LJbqCFpZd1GVO1rKqJCVWkboA/ellEubbDlTbF2hKWKP
hhPm0b7EcWZq7+vLzx+H9qJzgcuy8B/vlSf7NTPYvyk3QkNXjt/yvgE3B9RmLkTu
i8HS5NXEiYLfdwctf7SRGmnhslY2nrwhayg9K/2WOZlu8AQGK2MeW5aK6tkJPSKj
I5kCKjoEbEDXfQ06MawPZzh4aDokdZdl9Q0VwJTOjCBRWATkPzs=
=cx2Q
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to