Bug 282500 - copy is slow and CPU-intensive with Dolphin
Summary: copy is slow and CPU-intensive with Dolphin
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: SVN
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-09-21 19:17 UTC by gedgon
Modified: 2018-10-29 02:23 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gedgon 2011-09-21 19:17:16 UTC
Version:           1.7 (using KDE 4.7.1) 
OS:                Linux

Dolphin can be very slow when copying a lot of files. About 5x slower than kde-cp and more than 15x than cp command (in tested environment*).

*Environment: 
C2D @ 1.2GHz, (old school) HDD, 25 666 smal files (~120MiB)
Cache flushed before each test.

---
Results:
1. Dolphin: Time: ~5m 9s; CPU usage: Dolphin ~60-70% CPU core, kio_file ~30% CPU core (+some dbus-daemon and kuiserver)

2. (kio_file) kde-cp: Time:~1m 5s; CPU usage: kde-cp ~40 % CPU core; kio_file ~40% CPU core; bus-daemon ~15% CPU core and kuiserver ~15% CPU core

3. cp: Time: ~18s; CPU usage: 20-30%

Reproducible: Always

Steps to Reproduce:
...

Actual Results:  
...

Expected Results:  
Dolphin shouldn't be much slower than pure kio.

http://www.youtube.com/watch?v=M_MDlPa9jeE
Comment 1 gedgon 2011-09-21 19:34:31 UTC
Peter, this is not only kio_file bug, also Dolphin's. Please, take a look at Dolphin vs kio results.

Regards.
Comment 2 underline 2012-09-10 16:48:57 UTC
This bug affects me as well. It can be reproduced using Krusader as well. I was copying a lot of small files and in the end my notification box in tray was showing something like "227 804 / 227 805 files" for very long time even though the last file was not that big, I'm sure. Processor usage was almost 100% for 1 core.

I'm using Kubuntu 11.10, KDE: 4.7.4, 64-bit system.
Comment 3 Dawit Alemayehu 2013-06-19 05:55:59 UTC
Does increasing the value of "maxInstance" property in file.protocol help at all?
Comment 4 gedgon 2013-06-19 11:46:18 UTC
(In reply to comment #3)
> Does increasing the value of "maxInstance" property in file.protocol help at
> all?

I haven't tried it yet, but only one kio process is spawned anyhow, so it's far from current max (5).
Comment 5 Tom Mittelstädt 2015-12-13 08:20:54 UTC
This bug is still present in kde 15.08
Comment 6 Tom Mittelstädt 2015-12-13 08:26:35 UTC
htop says:
 20   0 4116M  264M   98M R 121.  4.4  3:37.31 /usr/bin/plasmashell --shut-up
 20   0  261M 31496 25900 R 71.2  0.5  1:05.82 /usr/bin/kuiserver
 20   0 45008  4864  2296 R 63.7  0.1  1:02.59 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 5477 me    20   0 5936M  100M 59372 S 60.3  1.7  1:40.15 /usr/bin/dolphin
 1682
Comment 7 Johannes 2017-02-08 15:55:17 UTC
What kind of INFO is required?
Comment 8 Andrew Crouthamel 2018-09-28 03:22:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-10-29 02:23:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!