After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 438817 - evolution wakes up needlessly, consuming power
evolution wakes up needlessly, consuming power
Status: RESOLVED NOTGNOME
Product: evolution
Classification: Applications
Component: Mailer
2.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Matthew Barnes
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-05-16 08:08 UTC by Sven Neumann
Modified: 2007-05-16 17:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
performance patch (2.33 KB, patch)
2007-05-16 14:27 UTC, André Klapper
reviewed Details | Review

Description Sven Neumann 2007-05-16 08:08:33 UTC
Please excuse if this has already been reported, but I couldn't find a bug report for it. http://www.linuxpowertop.org/ has a patch for evolution 2.10 that should be considered for inclusion upstream. Here's the description of the patch:

Author: Arjan van de Ven <arjan@linux.intel.com>

Evolution has 2 event queues that are polled 10 times per second
for activity; these queues are empty most of the time.

This patch changes the code so that the timer to poll these queues
only runs when there are actually events going on; if there are no 
events, the timer will stop.

Full patch at http://www.linuxpowertop.org/patches/evolution-2.10.patch
Comment 1 André Klapper 2007-05-16 14:27:52 UTC
Created attachment 88295 [details] [review]
performance patch

attaching the patch here so it does not get lost and can receive a status (i had too many 404's in the last years with regard to links in bugzilla.gnome.org).
Comment 2 André Klapper 2007-05-16 16:06:14 UTC
quoting from from http://www.linuxpowertop.org/known.php :
"The Evolution email client has a 10Hz timer to process one of it's internal event queues. Most of the time, there is nothing to do, the event queue is empty. We've created a patch for Evolution to only use the timer when there are actual events to be processed.
You can download the patch for evolution 2.10 here."

i wonder if this patch is already internally used (read: tested) at intel?
Comment 3 Matthew Barnes 2007-05-16 16:52:45 UTC
This patch is written against the patch for bug #362638, which hasn't been accepted yet.
Comment 4 Matthew Barnes 2007-05-16 17:14:30 UTC
The patch itself looks okay.  I'll fold it into the next revision of my patch for bug #362638, which I'm working on now.

In the meantime, closing this bug as NOTGNOME.