Registered Member
|
Hi I compiled ktorrent from svn yesterday and today (rev. 567860). Both times cpu usage went through the roof(60-90%). I am dl-ing 4 torrents (3 6gb and 1 12 gb).
To try and find problem I downloaded rev from 22th of this month ->
This problem does not effect it (rev 564759) I think the problem lies somewhere in the new ul/dl speed measuring/limiting classes. Another note/hint might be that according to my cpu metter most of this time is spent somewhere in kernel (when the cpu gets high), this probably means ktorrent is causing a lot of syscalls or something. It might also have something to do whit number of peers (I am dlig Stargate session so there are lots of them ) ). Let me know if I can run some additional test. |
Moderator
|
|
Moderator
|
|
Registered Member
|
I'm using 2.0rc1 and usually its the infowidgetplugin that's responsible for the CPU usage when large torrents are selected.
The infowidgetplugin has tabs. Does it periodically calculate all the statistics for all the infowidget tabs, not just the active one? Does it need to? Why not calculate them just for the active infowidget tab and when the user activates another tab? |
Moderator
|
All stats get updated, but that's probably not what is causing it. You should increase the GUI update interval to 1 or 2 seconds, should cut down on the CPU usage by the infowidget. My guess is that the chunkbars are causing it when there are lots of chunks in the torrent in question. |
Moderator
|
|
Registered Member
|
I've got the same problem, but with the latest stable version (2.0). It has nothing to do with the files tab or whatever, it's just eating CPU at random times. Only 2 torrents sized 4.4GB and 2GB are leeching/seeding, but my P4 2.8ghz (2GB RAM) uses mostly the same amount of CPU as topic starter. Even unloading all plugins doesn't seem to have any influence.
[edit] It seems that it has something to do with the upload speed limiter, when disabled (set to 0) it peaks to only 30% CPU.[/edit] |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft