[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg 1.15.6 is slow as hell

On Sun, 2010-03-21 at 11:00:39 +0000, Colin Watson wrote:
> On Sun, Mar 21, 2010 at 10:10:38AM +0100, Guillem Jover wrote:
> > I implemented this and in my tests with linux-headers-2.6.32-4-common
> > (which contains around 2500 files) on ext3 it reduced the installation
> > times from 12~ to 5~ seconds (with warm cache).
> Isn't the rather massive problem with this that it will mean that
> unpacking any package temporarily takes twice as much disk space as the
> amount occupied by the package?  For large packages this is bound to be
> pretty significant.

Nope, as currently we are already keeping a backup (.dpkg-tmp) file until
the extraction of the whole package has finished. So we switch from
file + file.dpkg-tmp to file.dpkg-new + file.dpkg-tmp (which is just a
hardlinkg of file) + file, for every file in the extracted package.


Reply to: