Summary: | dolphin slow and resource hungry when batch renaming | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | dmatt <xdarkmatter> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.11.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/9cbca7241f55da4c77d037dba39c36403b9c762b | Version Fixed In: | 4.11.1 |
Description
dmatt
2013-08-20 17:01:06 UTC
When I closed dolphin window, dolphin process survived and continued renaming files at higher rate 10 renames/second. The weirdest thing is it keeps my eth0 interface busy 30KB down/55 up. Netstat show five pairs of these: unix 3 [ ] STREAM CONNECTED 587726 20416/dolphin /tmp/ksocket-ubik/dolphini20416.slave-socket unix 3 [ ] STREAM CONNECTED 589129 7557/dolphini20416. and five of these: unix 3 [ ] STREAM CONNECTED 423003 20416/dolphin After renaming finished, load on eth0 continued. It only stopped once I issued "akonadictl restart". No idea what is going on here. Thanks for the bug report. I can confirm that renaming a large number of files makes Dolphin very slow. The main reason is that we resort all items (which is a rather slow operation) after each successful renaming. This is quite straightforward to fix. However, there might be some slowness remaining even if we fix that because KDirLister repeatedly re-lists the entire folder contents. This thing, and also the high memory usage (and probably the network usage, which I have no idea about) can probably only be fixed with modifications in kdelibs. Also the 3 minutes freeze before the renaming starts (which I cannot reproduce, BTW) has most likely nothing to do with the resorting. It might be related to the setup of the 15000 "move file" jobs. Unfortunately, I don't think kdelibs provides a way to have one job rename multiple files. Git commit 9cbca7241f55da4c77d037dba39c36403b9c762b by Emmanuel Pescosta. Committed on 24/08/2013 at 16:13. Pushed by emmanuelp into branch 'KDE/4.11'. Make use of the "resort all items timer" in KFileItemModel::slotRefreshItems to avoid too much expensive resorting calls, in case of many refresh items signals. Followup to patch 111146 Related: bug 303873, bug 299565 FIXED-IN: 4.11.1 REVIEW: 111195 M +1 -1 dolphin/src/kitemviews/kfileitemmodel.cpp http://commits.kde.org/kde-baseapps/9cbca7241f55da4c77d037dba39c36403b9c762b |