Your message dated Tue, 15 Dec 2009 11:44:53 +0100
with message-id <[email protected]>
and subject line Re: Bug#561104: dpkg: Add --readahead-db option to preload the 
database
has caused the Debian Bug report #561104,
regarding dpkg: Add --readahead-db option to preload the database
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
561104: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561104
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.15.5.4
Severity: wishlist

Currently, running dpkg on my system is rather slow and can take 10 seconds
or something to read the database. I propose an option --readahead-db which
uses readahead(2) on all database files; and would be called by APT during
package retrieval or dependency solving, so that the database is already
cached when dpkg is started to install packages.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  coreutils                     8.0-2      GNU core utilities
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  lzma                          4.43-14    Compression method of 7z format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.24     Advanced front-end for dpkg

-- no debconf information

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Hi!

On Mon, 2009-12-14 at 16:50:10 +0100, Julian Andres Klode wrote:
> Package: dpkg
> Version: 1.15.5.4
> Severity: wishlist
> 
> Currently, running dpkg on my system is rather slow and can take 10 seconds
> or something to read the database. I propose an option --readahead-db which
> uses readahead(2) on all database files; and would be called by APT during
> package retrieval or dependency solving, so that the database is already
> cached when dpkg is started to install packages.

The correct solution to the db slowness, is to make it faster, instead
of adding this specific hack for front-ends only.

There's several issues involved, one is the amount of *.list files,
that's going to be solved using the patch in 557560, and the one on
the mailing list to use FIEMAP, which I'll be merging for 1.15.6.
Further improvements might happen on this in the future, by using
either a cache, or by storing the files in a single archive or similar.

Then there's the problem of mostly always loading the available db,
which there's another bug report with patch which I'm also going to
merge for 1.15.6.

Those two should give a visible boost, for now. Thus I'm closing this
request, as it's being addressed already elsewhere.

regards,
guillem


--- End Message ---

Reply via email to