[Bug 6936] eMule uses 40% CPU when idle permanently, independent of CPU speed

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 28 18:29:51 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=6936





--- Comment #27 from Keith <keith_kw_muir at blueyonder.co.uk>  2007-11-28 18:29:50 ---
(In reply to comment #26)
> Hello again,
> 
> another option would be to use a newer emule version (> 0.47c).
> I fetched the 0.48a source code just to look at the usual MFC brain damage and
> it seems they improved the idle processing situation a bit (in my opinion not
> enough).
> By filtering a specific amount of WM_TIMER to prevent idle processing overkill,
> the generated CPU load is reduced by a few points.
> 
> If you don't want to use a newer version because you have own modded/hacked
> emule version, you can of course "backport" the changes.
> Look for CemuleApp::IsIdleMessage, only a few source lines.
> Though I would recommend trimming idle handling a bit more aggressively. 
> 
> Lastly you could filter WM_KICKIDLE in wine by yourself and "eat" a specific
> amount using diff ticks to enforce a specific idle message rate.
> Though I wouldn't really recommend this change because its somewhat intrusive
> and might break other applications.
> 
> Regards
> 

My personal experience of the Emule development team is that "we don't support
linux" seems to be their entire attitude. If someone from the wine team
approached them that might make a difference far more likely is to approach one
of the many modders to get this work done.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list