Summary: | kamera ioslave is very slow (redundant calls!?) [patch] | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Daniel Hahler <kde-bugzilla> |
Component: | kamera | Assignee: | Marcus Meissner <marcus> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
The patch mentioned above. Taken from http://lists.kde.org/?l=kde-devel&m=112637748006798&w=2
kio_kamera.pat |
Description
Daniel Hahler
2007-04-27 02:01:19 UTC
Created attachment 20390 [details] The patch mentioned above. Taken from http://lists.kde.org/?l=kde-devel&m=112637748006798&w=2 The patch as Szombathelyi "György" has sent it to kde-devel. and did you try it? the problem is still that multiple IO slaves get started, so we have to close the camera at some point. The underlying problem is really that we close and open the camera for every request due to the multiple ioslaves problem. If we just could tell the trader that we only want 1 slave ... but this was not possible last time I checked. I have now changed the slave to be faster. Due to problem of the multiple slaves it is not an optimal solution, but for common access patterns it will be faster now. Created attachment 20581 [details]
kio_kamera.pat
patch I committed to 3_5 BRANCH
still have to port it to TRUNK. also committed to TRUNK (kde4) Thanks for attacking this problem! But I think this bug is not really resolved yet. E.g., I'm just deleting 45 files on my camera. The progress window says "Initialising camera" for a short period, then "Deleting file" for ~ 3-5 seconds and then "Stalled" for 10-30 seconds. This gets done for every file and the most time here gets spent in "Stalled" state. Additionally, it first collects info about the total number of files, which also took quite long! In total, deleting 45 files takes more than half an hour! (I'm using Ubuntu Feisty with KDE 3.5.7 from kubuntu.org) what camera are you using? and what libgphoto2 version? libgphoto2-2 2.3.0-0ubuntu4 and a FujiFilm F30 camera. This appears to be fixed (tested in 4.2.98). |