[KPhotoAlbum] Performance issue: KPA too slow when clicking on "big" supercategories

Robert L Krawitz rlk at alum.mit.edu
Tue Dec 26 16:27:11 CET 2006


   From: "Jesper K. Pedersen" <blackie at blackie.dk>
   Date: Tue, 26 Dec 2006 12:05:05 +0100

   One of my goals is to push all this onto a worker thread, so it is
   backgrounded. Esp md5sum calculation is tedious at when new images
   are found.

The time required to actually import the images isn't bad.  The
problem is the time spent scanning for images when you're only
importing a few.

Importing 100 images or so only takes about a minute.  Scanning my
filesystem for new images, with 17000 already present, currently takes
about 100 seconds.  This is likely to scale linearly with the number
of images already present (specifically, with the number of files in
the image directory and all of its children).

   On Sunday 24 December 2006 17:16, Robert L Krawitz wrote:
   |
   | Another thing I'd like to look at is scanning for images.  It takes me
   | about 100 seconds on a database of 20000 images the first time I do it
   | (succeeding times are very fast -- a fraction of a second).  This is
   | using reiserfs with a single 250 GB 7200 RPM drive.  It's likely that
   | different filesystems will yield different -- possibly radically
   | different -- results.


More information about the KPhotoAlbum mailing list