| Summary: | Ktorrent consumes 86.5% of the CPU | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | Alejandro Diaz Caro <alejandro> |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | top command where you can see ktorrent consuming 78.8% of CPU load | ||
|
Description
Alejandro Diaz Caro
2007-05-13 05:20:49 UTC
Euhm, that seems a bit much ? Does it improve if you set no download limits ? No, I normally don't set any download limits. I mean download and upload limits ? Just set no limits at all and see what the CPU usage is. Yes, I understood, I set no limits at all, and the CPU usage (after a few minuts) is near 90% I am trying this right now. And I don't know why, but now ktorrent consumes "only" 45% of the CPU (ok, is still too much, but isn't 90%) How fast are you actually downloading ? 200~250 kb/s in average, but that depends on what so popular is torrent. A lot of CPU usage, for those speeds. Yes, I know. Right now, I am downloading Ubuntu Feisty DVD at 188.3 kB/s in average with a CPU usage of 25% by Ktorrent. Created attachment 20618 [details]
top command where you can see ktorrent consuming 78.8% of CPU load
Here, I was downloading 2 files, one of 3.97Gb at 199 kB/s and the other one of
350.1Mb at 35 kB/s
SVN commit 666055 by guisson:
Make network thread sleeptime configurable upto 50 ms.
BUG: 145370
M +1 -1 apps/ktorrent/advancedpref.ui
M +2 -2 libktorrent/ktorrent.kcfg
--- trunk/extragear/network/ktorrent/apps/ktorrent/advancedpref.ui #666054:666055
@@ -322,7 +322,7 @@
<number>1</number>
</property>
<property name="maxValue">
- <number>10</number>
+ <number>50</number>
</property>
<property name="value">
<number>3</number>
--- trunk/extragear/network/ktorrent/libktorrent/ktorrent.kcfg #666054:666055
@@ -203,9 +203,9 @@
</entry>
<entry name="cpuUsage" type="Int">
- <default>3</default>
+ <default>25</default>
<min>1</min>
- <max>10</max>
+ <max>50</max>
</entry>
<entry name="minDiskSpace" type="Int">
Thanks! |