Bug 242398

Summary: SILC protocol causes WAY too many wakeups
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: pidginAssignee: Warren Togami <wtogami>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, eblanton, mark, redhat-bugzilla, stu
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-04 03:22:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 204948    

Description Jesse Keating 2007-06-04 01:22:27 UTC
When running pidgin with SILC account, the wakeups are huge:

Top causes for wakeups: 41.1% (316.0)            pidgin : schedule_timeout
(process_timeout)

Once I disabled SILC account pidgin doesn't even show up on the radar.

Comment 1 Mark Doliner 2007-06-04 02:24:04 UTC
It looks like the silcclient library has it's own event loop.  But in Pidgin we
use the glib event loop, so in order to process incoming silc events we have a
timer set to run silc_client_run_one() every 5 milliseconds.

I changed the timer to run every 50 milliseconds, and I'll let the silc guy know
about this bug report and hopefully he can work out something elegantly
event-driven.

Comment 2 Stu Tomlinson 2008-01-04 03:22:47 UTC
Latest silc client toolkit (libsilc) in rawhide is fully event based, not using
polling at all, so should resolve this completely. Pidgin works with it too! :)