[Digikam-devel] [Bug 151122] Opening Albums Has Become Very Slow

Arnd Baecker arnd.baecker at web.de
Sun Oct 21 07:56:06 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=151122         




------- Additional Comments From arnd.baecker web de  2007-10-21 08:56 -------
Created an attachment (id=21883)
 --> (http://bugs.kde.org/attachment.cgi?id=21883&action=view)
part of the strace


Hi,

I don't experience the problem, so what do you mean by
"big albums", i.e. how many entries are there?

Also, I had a look at the output of strace, i.e. using
  strace -o/tmp/strace.txt digikam
which is pretty overwhelming
(Even if nothing is done inside of digikam one gets a loop of:
gettimeofday({1192949034, 900696}, NULL) = 0
select(21, [3 5 7 9 12 13 14 15 16 17 18 19 20], [], [], {0, 95}) = 0
(Timeout)
gettimeofday({1192949034, 904522}, NULL) = 0
stat64("/home/abaecker/Pictures", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
gettimeofday({1192949034, 904786}, NULL) = 0
gettimeofday({1192949034, 904832}, NULL) = 0
gettimeofday({1192949034, 904856}, NULL) = 0
gettimeofday({1192949034, 904914}, NULL) = 0
)
Anyway, concerning reading every file: I have an album with
174 images, of which the first 4 are visible in the
album view, and only for these (apart from the initial scan during start-up)
I find an access to the file (see the attachment).
So this suggests to me (but I might be completely wrong)
that only the first few are accessed
(whether they are completely read or not is
beyond my capabilities to interpret the output of strace ...)

Arnd



More information about the Digikam-devel mailing list