Dealing apt-get tasks is really slow under btrfs

Bug #977461 reported by František Zatloukal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Dealing apt-get tasks is really slow under btrfs filesystem. It is usually about on 500% time of ext4. Tested with stock mount options and my custom (compress=lzo autodefrag) - no difference. Tested on x86_64 and x86 system too. Tested on two different machines.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt-utils 0.8.16~exp12ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Mon Apr 9 20:57:09 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120330)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
František Zatloukal (zatloukal-frantisek) wrote :
Revision history for this message
Julian Andres Klode (juliank) wrote :

I'm assuming that you're talking about the usual problem with btrfs that package installations/removals/etc take a long time. This is caused by dpkg synchronising the file system after a file was written. This turns out to be very slow on btrfs, but needed for reliability. You can work around the problem using the eatmydata package, but this is not really recommended.

Changed in apt (Ubuntu):
status: New → Invalid
Revision history for this message
Bart (dmitriy-murzin) wrote :

I have the exact same problem (Ubuntu 12.04.1 x86)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.