[Bug 455969] Re: reading database slow since upgrading to karmic

Raphaël Hertzog hertzog at debian.org
Sat Nov 26 10:25:51 UTC 2011


This has been fixed in dpkg 1.15.6 and later.

  * Use FIEMAP when available (on Linux based systems) to sort the .list
    files loading order. With a cold cache it improves up to a 70%.
    Thanks to Morten Hustveit <morten at debian.org>.
  * When FIEMAP is not available use posix_fadvise() to start preloading the
    .list files before loading them. With a cold cache it improves up to 40%.
    Thanks to Stefan Fritsch <sf at sfritsch.de>. Closes: #557560


** Changed in: dpkg (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/455969

Title:
  reading database slow since upgrading to karmic

Status in “dpkg” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: dpkg

  Ever since I upgraded to karmic, reading database when installing
  takes 10-20 secs where it was almost instantaneous before.  I have
  over 300k files under apt package control.

  ProblemType: Bug
  Architecture: amd64
  Date: Mon Oct 19 20:48:57 2009
  DistroRelease: Ubuntu 9.10
  Package: dpkg 1.15.4ubuntu2
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
  SourcePackage: dpkg
  Uname: Linux 2.6.31-14-generic x86_64

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




More information about the foundations-bugs mailing list