[Digikam-users] lots of photos and startup time

Gilles Caulier caulier.gilles at gmail.com
Thu Jul 9 12:14:51 BST 2009


2009/7/9 Marcel Wiesweg <marcel.wiesweg at gmx.de>:
> I think we should clarify some points:
>
> 1) It is _not_ normal that digikam needs longer than about 1sec per 10000
> images to startup (on a modern machine)
> 2) we are not talking about the very first startup which includes a full
> collection scan, reading the metadata of every single files. Let's say this
> can take 1min / 10.000. (there is still a major problem with JPEG2000 images,
> so excluding them)
> 2) For KDE4, there is the problem of KDirWatch stat'ing every single file,
> which may explain a short delay (the mentioned 2 secs)
> 3) The scan at startup, with no modification, can probably be emulated by
> "ls":
> time ls -Rl /media/fotos/ | wc -l
> Here, about 1sec / 10.000
> Emulating db access at startup is more difficult

Perhaps it's easy to disable all DB queries at startup and lets only
FS access, and after compare with normal code to see how many time DB
access on startup is...

gilles



More information about the Digikam-users mailing list