This forum has been archived. All content is frozen. Please use KDE Discuss instead.

High CPU Usage

Tags: None
(comma "," separated)
imported4-Anonymous
Registered Member
Posts
329
Karma
0

High CPU Usage

Thu Sep 22, 2005 11:04 am
Ktorrent is looking great!

I did have an issue with the pop up dialog boxes when a tracker goes offline. Popups are annoying to me.

The cpu usage is higher than other clients. Ver 1.0 uses about 40% cpu with 12 torrents. Ver1.1rc1 uses about 100% cpu for the same number of torrents, both with low network transfer.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Thu Sep 22, 2005 12:38 pm
I did have an issue with the pop up dialog boxes when a tracker goes offline. Popups are annoying to me.

Well this is changed in 1.1rc1 just use this version until final 1.1 is not released.
The cpu usage is higher than other clients. Ver 1.0 uses about 40% cpu with 12 torrents. Ver1.1rc1 uses about 100% cpu for the same number of torrents, both with low network transfer.

Nobody reported this before and we haven't experienced similar behavior (KT uses max 7% CPU here with 12 torrents).

It would be helpfull if you post here as much info as you can (e.g your PC details, OS, did you compile KT or used binary packages etc...). Also check out Settings->Configuration->Downloads->Max connections if the value is too high it could eat your CPU...
George
Moderator
Posts
5421
Karma
1

Thu Sep 22, 2005 1:37 pm
Are you talking about the passive popup or the dialog boxes where you have to press OK ?
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Fri Sep 23, 2005 9:36 pm
George wrote:Are you talking about the passive popup or the dialog boxes where you have to press OK ?


The ones I have to click ok. Please make any messages appear only in a status or last error column in the display. Tooltip type message when mouseover are ok.

If a tracker goes down there is nothing I can do anyway.


My goal would be to minimize to the system tray icon and not be bothered. The only tooltip on the icon should be transfer stats.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Fri Sep 23, 2005 9:43 pm
Ivan wrote:Nobody reported this before and we haven't experienced similar behavior (KT uses max 7% CPU here with 12 torrents).

It would be helpfull if you post here as much info as you can (e.g your PC details, OS, did you compile KT or used binary packages etc...). Also check out Settings->Configuration->Downloads->Max connections if the value is too high it could eat your CPU...


Sorry for the lack of info, just thought I would check to see if this was a known problem first....


The high cpu was with 1.1rc1 on gentoo, all compiled from source :-) with an older box, dual pentII 333mhz. I'll post more details after I change the max connections if there is still a problem.

I downgraded to 1.0 to see if the cpu usage was better and it was. Maybe this was just luck. With 1.0 I did notice that the max connections was set at the default of '0 - no limit' - I'll lower this and retry.

Maybe the default should be set to something more reasonable?
George
Moderator
Posts
5421
Karma
1

Sat Sep 24, 2005 8:36 am
When you got high CPU usage, the torrent which is shown in the infowidget (at the bottom of the window), how many chunks did it have ? Did you got flickering on the chunk bars ?

I'm thinking the whole CPU usage thing is caused by the to frequent redrawing of chunkbars, when there are lots of chunks.
George
Moderator
Posts
5421
Karma
1

Tue Sep 27, 2005 5:43 pm
You should check out the svn version now, I have made some dramatic improvements in performance. One torrent which was using 80 % or more now constantly stays below 10 (with a couple of peeks into the 20's), the arts deamon beats it most of the time.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Fri Sep 30, 2005 1:59 am
I can confirm much lower cpu usage in svn version. Thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell