[Bug 601299] Re: btrfs fsync() is extremely slow

Alberto Salvia Novella es20490446e at gmail.com
Wed Dec 10 20:09:55 UTC 2014


If you are still experiencing this issue, please set this bug status
back to "confirmed".

** Also affects: dpkg (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588254
   Importance: Unknown
       Status: Unknown

** Package changed: linux (Ubuntu) => dpkg (Ubuntu)

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

** Changed in: dpkg (Ubuntu)
   Importance: Low => Medium

** Changed in: dpkg (Ubuntu)
       Status: Triaged => 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/601299

Title:
  btrfs fsync() is extremely slow

Status in dpkg package in Ubuntu:
  Fix Released
Status in dpkg package in Debian:
  Unknown

Bug description:
  Installation and upgrades on btrfs are *extremely* slow.  This is
  because dpkg makes extensive fsync() calls to make sure that a power
  loss in the middle of an operation does not leave the system in a
  broken state.  These calls have a significant performance penalty on
  other filesystems ( such as ext[234] ), but on btrfs, the penalty is
  multiple orders of magnitude.

  As a workaround, you can use the eatmydata package/command around dpkg
  /apt-get to disable the fsync() calls and restore good performance
  during upgrades, at the risk of hosing the system if it crashes.  The
  apt-btrfs-snapshot package will have apt make a snapshot before it
  begins an upgrade so that if things do go wrong, you can at least roll
  back to the snapshot.

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



More information about the foundations-bugs mailing list