#1490: Daemon uses 4% cpu when idle
--------------------+-------------------------------------------------------
  Reporter:  tes    |       Owner:             
      Type:  bug    |      Status:  pending    
  Priority:  minor  |   Milestone:  performance
 Component:  core   |     Version:  1.3.5      
Resolution:         |    Keywords:             
--------------------+-------------------------------------------------------

Comment(by AdmiralSausage):

 I shrink CPU usage to under 1% if I change the AlertManager's update
 interval from 0.05 (20 times a second) to 1 (once per second) in
 deluge/core/alertmanager.py. Are there any downsides to this?

 It seems... odd... practice to have to poll for alerts (especially that
 frequently) but I don't know how the libtorrent API works so perhaps it's
 necessary.

 In any case Twisted appears to be performing as advertised. It's not to
 blame just because it's being used to implement something approaching a
 tight loop.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1490#comment:16>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to