High cpu usage during download

General support for problems installing or using Deluge
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: High cpu usage during download

Post by bro »

f.lambe wrote:ok, i'll do that. It's necessary to use thin client with deluged daemon?
I'm not sure, I tested this only with the daemon. Anyways, it's easier to just profile the component that behaves oddly.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: High cpu usage during download

Post by bro »

Smyl3 wrote:
bro wrote:Can verify if it's the daemon or client that uses all the CPU?
Can I? I'm using the windows version of Deluge..
Did you check the link to thin client setup?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Smyl3
New User
New User
Posts: 5
Joined: Thu May 09, 2013 1:56 am

Re: High cpu usage during download

Post by Smyl3 »

bro wrote:Did you check the link to thin client setup?
On page 1? Yes, I realised there is a thin client in the windows installation already as well. I ran the deluged.exe and I could connect to it with the deluge.exe:
deluged.exe used 0-1% cpu power
deluge.exe used 1-3% cpu power (it regularly did <21% spikes, sometimes that occured as well when I started to move its window)
Almost got same values with a seeded torrent (no seeding activity tho), and without any torrent. (state dir files deleted)
When I switched back to classic mode, deluge.exe began to use 10% cpu power again as before, without any torrent.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: High cpu usage during download

Post by bro »

@Smyl3
Created ticket for this issue: http://dev.deluge-torrent.org/ticket/2330
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: High cpu usage during download

Post by bro »

@Smyl3
We think this is caused by using the twisted gtk2reactor to handle all the events. On Windows, the reactor uses select which has trouble handling the events for both the daemon and the client. A solution is to simply use thint client mode, and just make it automatically connect to the localhost on startup.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Post Reply