[Bug 1663749] Re: Backport "libdpkg: Only preallocate disk size for files bigger than 16 KiB".

Łukasz Zemczak 1663749 at bugs.launchpad.net
Tue Apr 11 11:03:38 UTC 2017


I was asked to test this bug on a slower non-SSD disk. Checked zesty,
yakkety and xenial. The detailed test result:

zesty:
- 1.18.10ubuntu1:
real    0m39.559s
user    0m7.176s
sys 0m8.780s
- 1.18.10ubuntu2:
real    0m20.273s
user    0m6.096s
sys 0m7.164s

yakkety:
- 1.18.9ubuntu2
real    0m38.154s
user    0m7.008s
sys 0m9.112s
- 1.18.10ubuntu1.1
real    0m24.107s
user    0m6.028s
sys 0m7.116s

xenial:
- 1.18.4ubuntu1
real    0m41.030s
user    0m8.164s
sys 0m8.632s
- 1.18.4ubuntu1.2
real    0m19.263s
user    0m6.792s
sys 0m5.644s

Retried a few times afterwards to make sure the results are
reproducible. With this, I consider the bug as verified for both stable
releases.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1663749

Title:
  Backport "libdpkg: Only preallocate disk size for files bigger than 16
  KiB".

Status in dpkg:
  Fix Released
Status in dpkg package in Ubuntu:
  Fix Released
Status in dpkg source package in Xenial:
  Fix Committed
Status in dpkg source package in Yakkety:
  Fix Committed

Bug description:
  Please backport upstream dpkg patch "libdpkg: Only preallocate disk
  size for files bigger than 16 KiB" to xenial, yakkety, and zesty
  versions of dpkg.

  dpkg 1.17.11 commit "dpkg: Try to preallocate the disk size for
  extracted files" causes installs of packages with many small files to
  be slow.
  https://anonscm.debian.org/git/dpkg/dpkg.git/commit/?id=87b0b20b86407baf1deb4e91b3fd839e01228ac8

  This was fixed in dpkg 1.18.15 with "libdpkg: Only preallocate disk
  size for files bigger than 16 KiB".
  https://anonscm.debian.org/git/dpkg/dpkg.git/commit/?id=a971ad91437af8880cad4703695dcf12ee45959b

  trusty dpkg is based off 1.17.5 and is not affected. xenial dpkg based
  off 1.18.4, yakkety dpkg based off 1.18.10, and zesty dpkg based off
  1.18.10 need the fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dpkg/+bug/1663749/+subscriptions



More information about the foundations-bugs mailing list