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

Comment(by HolgiH):

 This is caused by the use of Twisted for noblocking IO, since python
 doesn't have a working thread model and cannot afford to block for
 extended periods of time. It got worse with twisted >11.0.0 (which I'm
 currently using on Gentoo/x86); updating to 11.1.0 or later significantly
 raises the CPU use & context switch rate on an otherwise completely idle
 system, in line with the 4% observed here.
 Looking at http://labs.twistedmatrix.com/2011/11/twisted-1110-has-been-
 released.html I see: "The poll() reactor as default where applicable,
 instead of select() everywhere."

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1490#comment:11>
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