! 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 !
xfce-panel-plugin cause lot of wakeups of acpi
Status:
RESOLVED: FIXED
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description Luca Guglielmetti 2007-06-15 14:02:41 CEST
adding xfce4-battery-panel to the panel cause a large increase of the wakeups of acpi:

output of powertop [1]

Top causes for wakeups:
  47.2% ( 63.1)       <interrupt> : acpi 
  10.7% ( 14.3)   xfce4-battery-p : schedule_timeout (process_timeout)

expected: a refresh time between 1 and 5 s

[1] http://www.linuxpowertop.org/

best regards
Guglie
Comment 1 Guillaume DELVIT 2007-08-14 20:00:45 CEST
Same issue :

with  xfce4-battery-panel : 

powertop :
  45,5% (209,6)       <interrupt> : acpi 

without :

   1,9% (  4,0)       <interrupt> : acpi


1 refresh / second is a good value for this information.
Comment 2 Auke Kok editbugs 2008-09-04 19:48:44 CEST
problem is that the timeout for acpi updates is 2 seconds, but each acpi read causes 4-5 acpi interrupts total, so we end up with 2-3 interrupts per second average.

I'm changing the timeout interval so that it's significantly less (30s interval). That will fix the issue for now. The change is already in SVN and an updated tarball should be coming soon.
Comment 3 Auke Kok editbugs 2008-09-04 21:22:01 CEST
Addressed in release 0.5.1.

Bug #3339

Reported by:
Luca Guglielmetti
Reported on: 2007-06-15
Last modified on: 2010-12-24

People

Assignee:
Xfce-Goodies Maintainers
CC List:
4 users

Version

Version:
0.5.1 or older
Target Milestone:
0.5.1 or older

Attachments

Additional information