Bug 151832 - ktorrent causes up to 400 wakeups/second
Summary: ktorrent causes up to 400 wakeups/second
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-03 23:10 UTC by Yves Glodt
Modified: 2008-11-10 13:56 UTC (History)
0 users

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 Yves Glodt 2007-11-03 23:10:53 UTC
Version:           2.2.1 (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

On my fully up-to-date Kubuntu Gutsy, ktorrent 2.2.1 causes between 380 and 400 wakeups per second, here is the relevant line of the powertop output:

36.5% (380.2)          ktorrent : futex_wait (hrtimer_wakeup)

At this moment, 3 downloads were loaded and active in ktorrent.

I like ktorrent :-) Will it be possible to reduce this very high amount of wakeups.

Let me know if you need more information about my system.
Comment 1 Yves Glodt 2007-11-03 23:49:07 UTC
There is another source of 86 wakeups in ktorrent on my system:

11.6% ( 86.0)          ktorrent : schedule_timeout (process_timeout)
Comment 2 Joris Guisson 2007-11-04 13:44:54 UTC
You can't get work done when you are sleeping. It might be possible to reduce this a bit, but I doubt we could substantially reduce that.
Comment 3 Joris Guisson 2008-11-10 13:56:59 UTC
Latest SVN never manages to get above a couple of percentages, while it is downloading at 700 KB/s, so this bug can be closed.