! 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 !
timeout inefficiency
Status:
RESOLVED: WONTFIX
Severity:
enhancement
Product:
Xfce4-cpufreq-plugin
Component:
General

Comments

Description Matthias-Christian Ott 2007-07-26 15:58:21 CEST
Currently the XFCE4 CPUFreq plugin uses a poll-based method via a timeout to update its status. This is very inefficient [1] and can cause unnecessary CPU load. Please you use an event-based method like libevent [2].

[1] http://www.linuxpowertop.org/
[2] http://monkey.org/~provos/libevent

(This bug report does not refer to cpugraph, but there is no component entry for cpufreq.)
Comment 1 Jean-François Wauthy editbugs 2007-08-02 22:06:58 CEST
(In reply to comment #0)
> 
> (This bug report does not refer to cpugraph, but there is no component entry
> for cpufreq.)
> 

The cpufreq component has been added now
Comment 2 Harald Judt 2013-08-19 22:40:51 CEST
The plugin still uses polling, however only every second or in larger intervals. I don't think there would be any benefit now in using libevent? Besides, those events might fire even more often than every second. I'm closing this bug, if you're still watching this feel free to reopen and explain.

Bug #3418

Reported by:
Matthias-Christian Ott
Reported on: 2007-07-26
Last modified on: 2013-08-19

People

Assignee:
Harald Judt
CC List:
3 users

Version

Version:
0.0.1 or older

Attachments

Additional information