Bug 129482 - Listing large remote directories (fish) uses too much cpu resources
Summary: Listing large remote directories (fish) uses too much cpu resources
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 13:27 UTC by Florian Hackenberger
Modified: 2012-01-07 04:26 UTC (History)
1 user (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 Florian Hackenberger 2006-06-20 13:27:59 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Ubuntu Packages
OS:                Linux

When listing the content of directories containing a LOT of files on a remote server (fish), konqueror uses to much cpu resources while continually updating the content. AFAIK this is due to constant redrawing (including the background, which is unnecessary). It cycled my cpu at over 90% for about two minutes when accessing a directory containing 2600 files.

-- How to reproduce --
- Create a directory on a (slow) server containing a LOT of files.
- Access this directory using the fish ioslave from another computer (over the internet).
- Observe konqueror using your available computing power excessively.
Comment 1 Henrik Skov Midtiby 2008-05-18 20:18:33 UTC
Tried it on Ubuntu 8.04 with KDE 4.0.3, on a dual core 1.2 GHz machine.

Test directory: /usr/bin with approx 2300 files and directories in total.
Internet connection: 5 mbit up / 1 mbit down.

With the fish:// protocol the loading time was approx 10 seconds where the process "kde4init: kio_fish [kdeinit] fish" used the main part of the processing power of one core and konqueror used approximately 50 % of the other core.

With the sftp:// protocol loading time was approx 30 seconds where konqueror used approx 35 % of the processing time of one core. In this case the process "kde4init: kio_sftp [kdeinit] stfp" maximally used approx 5 % of one core.

Comment 2 Dawit Alemayehu 2012-01-07 04:26:59 UTC
Cannot reproduce this with KDE v4.7.4 and higher. Feel free to reopen this ticket if that is not the case for you.