[Bug 607632] Re: DPKG is very slow when using BTRFS

Isaac Aaron 607632 at bugs.launchpad.net
Fri Oct 21 06:59:45 UTC 2011


*** This bug is a duplicate of bug 601299 ***
    https://bugs.launchpad.net/bugs/601299

I can confirm that the nosync workaround worked for me.
I tried to upgrade Ubuntu 11.04 to 11.10 on a netbook using a SD card with btrfs.
The time estimate before I killed was 1 day and 22 hours.
I couldn't even run dpkg --reconfigure -a

After the fix the dpkg --reconfigure -a took about 3 minutes and upgrade
(just the package installation) took about 1.5 hour

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

Title:
  DPKG is very slow when using BTRFS

Status in “dpkg” package in Ubuntu:
  Opinion

Bug description:
  Binary package hint: dpkg

  Installed using the Maverick daily build from 19th July (32 bit)
  UPDATE: Confirmed also in release, both 64 and 32 bit

  Installed using a root partition formatted as BTRFS

  Noted that DPKG was noticeably slower and took longer for every operation than the same system with an ext4 partition.
  UPDATE: ext3, ext2 partitions are roughly the same speed as ext4. Only btrfs is slower.

  Examples of slowness include:
  * apt-get update takes a very long time, particularly at the end after downloading the package lists
  * Installing packages takes 2 to 3 times as long as on ext4/3/2
  * Particularly unpacking the deb file, this takes the longest. Basically any IO operations are slower.

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




More information about the foundations-bugs mailing list