[Bug 170758] New: high load when tagging

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 170758] New: high load when tagging

Arnd Baecker
http://bugs.kde.org/show_bug.cgi?id=170758

           Summary: high load when tagging
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 3.5.9)
OS:                Linux
Installed from:    Ubuntu Packages

When associating tags, I encounter a substantial CPU load,
caused by (sometimes several) kio_digikamdates and
kio_digikamalbums processes.

The origin of this seems to be the following:
At some point one gets on the konsole:
"Noticed file change in directory /home/username/Pictures"
(i.e. the directory containing the database!)
this then triggers DIO::scan
which then calls in dio.cpp in
void Watch::slotDone(KIO::Job*)
    Digikam::AlbumManager::instance()->refresh();
    Digikam::AlbumLister::instance()->refresh();
I.e. those which then lead to the invocation of
kio_digikamalbums and kio_digikamdates.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 170758] high load when tagging

Arnd Baecker
http://bugs.kde.org/show_bug.cgi?id=170758





--- Comment #1 from Arnd Baecker <arnd baecker web de>  2008-09-09 18:17:46 ---
Created an attachment (id=27339)
 --> (http://bugs.kde.org/attachment.cgi?id=27339)
prevent kio_digikamalbums/dates  (etc.) when database file is changed

Marcel pointed out to me on the mailing list that for 0.10, a solution
has been implemented.

The attached patch is a modified backport from the KDE4 version,
which ensures that data-base changes don't trigger a rescan.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 170758] high load when tagging

Bugzilla from andi.clemens@gmx.net
In reply to this post by Arnd Baecker
http://bugs.kde.org/show_bug.cgi?id=170758





--- Comment #2 from Andi Clemens <andi clemens gmx net>  2008-09-12 13:34:45 ---
Hi Arnd,

I've just checked your patch, works fine here... as Marcel mentioned on the ML:
I guess you can just apply the patch.

Andi


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 170758] high load when tagging

Arnd Baecker
In reply to this post by Arnd Baecker
http://bugs.kde.org/show_bug.cgi?id=170758


Arnd Baecker arnd baecker web de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Arnd Baecker <arnd baecker web de>  2008-09-22 18:08:09 ---
Fixed in r863588.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 170758] high load when tagging

Gilles Caulier-4
In reply to this post by Arnd Baecker
https://bugs.kde.org/show_bug.cgi?id=170758

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |0.9.5

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 170758] high load when tagging

bugzilla_noreply
In reply to this post by Arnd Baecker
https://bugs.kde.org/show_bug.cgi?id=170758

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|0.9.5                       |5.7.0
          Component|general                     |Database
                 CC|                            |[hidden email]

--- Comment #4 from [hidden email] ---
Problem not reproducible since digiKam 5.0.0 as all KIO slave have been
replaced by a multithreaded interface to query the database.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 170758] high load when tagging

bugzilla_noreply
In reply to this post by Arnd Baecker
https://bugs.kde.org/show_bug.cgi?id=170758

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Scan

--
You are receiving this mail because:
You are the assignee for the bug.