! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Orage clock panel plugin produces 5-10 wakeups/sec
Status:
CLOSED: FIXED
Component:
clock-plugin

Comments

Description Sampsa Hämäläinen 2007-06-30 14:31:06 CEST
The orage clock panel plugin (not the plain clock plugin) polls the processor 5-10 times per second on xfce 4.4.0 and 4.4.1 (ubuntu feisty and gutsy) even though it is only displaying minutes.

In xfce 4.4.0 (in feisty) the number wakeups fluctuate somewhere around 6-10, where as in 4.4.1 the number seems to stay fairly constant at 5 wakeups/sec

Orage it's self, when opened, polls only once every 5 seconds.

Reproducible: Always

Steps to reproduce:
1. Right-click panel -> Add new Item -> Orage clock
2. View wakeups with powertop (www.linuxpowertop.org)

powertop output:
  3.0% (  5.0)        orageclock : schedule_timeout (process_timeout)
  0.1% (  0.2)             orage : schedule_timeout (process_timeout)
Comment 1 juha editbugs 2007-06-30 18:15:41 CEST
true. 
I am planning to tune both Orage and orage-clock polling frequency.
Thanks for the BUG. It serves as good reminder. But I will be on 
holiday for a few weeks, so this will not happen in the near future.

(When those tools were build, I only considered cpu usage and not this 
polling, which influences battery usage...)
Comment 2 juha editbugs 2007-06-30 18:18:17 CEST
fixing to orage (instead of datetime)
Comment 3 juha editbugs 2007-08-12 22:37:44 CEST
Fixed in Orage 4.5 trunk in revision 25979.
Comment 4 juha editbugs 2007-08-13 17:14:37 CEST
Fix now also in 4.4 svn revision 25980.

Fix will appear in 4.4.2 (if that is ever releasd)

Comment 5 juha editbugs 2007-10-29 22:10:23 CET
Orage also now polls only 1 time per minute.
And if trayicon is not used, Orage only fires when alarm happens.
These fixes are in svn revision 26220 and only in Orage 4.5.10.3.
(If foreign files are used Orage adds a new timer which fires each 30 secs.)

These will not get backported to Orage 4.4

Bug #3363

Reported by:
Sampsa Hämäläinen
Reported on: 2007-06-30
Last modified on: 2007-10-29

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information