Debootstrap is very slow. Please use eatmydata to fix this.

Bug #1126314 reported by Phillip Susi on 2013-02-15
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debootstrap (Debian)
New
Unknown
debootstrap (Ubuntu)
Undecided
Unassigned

Bug Description

Debootstrap is very, very slow. I watched a server install crawl by for something like an hour at a rate of about 1 package per second. A simple debootstrap chroot takes 10 minutes to setup, with a predownloaded tarball. This slowness is due to dpkg making excessive use of fsync(). Requests to fix dpkg in the past have been rejected and I was told to use eatmydata. After patching debootstrap to add eatmydata to the required list, and activate it during the second stage install, the time to construct the chroot dropped from 10m to 2m. This should also make installing new systems MUCH faster.

Changed in debootstrap (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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