xfce-mcs-manager -> suggest signal poll interval == 1s

Nick Schermer nickschermer at gmail.com
Thu May 24 10:16:33 CEST 2007


2007/5/24, Jani Monoses <jani.monoses at gmail.com>:
> >
> > I can't use powertop on my powerbook, but what about orage, clock and
> > datetime plugin when they're not displaying seconds? Is it still 1wps or
> > does it follow the displayed time?
>
> you can use plain select, since the culprits in the case of xfce apps are regular syscalls
> not kernel-space wake-ups.
>
> for instance strace -epoll xfce4-mixer will show you it also wakes up every second.
>
> strace -epoll `pidof xfce4-panel` shows it waking up every second as well, but since the
> plugins you mention are in-process I am not sure how to easily tell if it's the panel itself
> or one of the plugins that is doing the polls

The clock plugin launches every second and because it is an internal
plugin, xfce4-panel shows a 1s wakeup.

It is possible to launch the clock every minute when seconds are
disabled, we just need to sync the first minute. I can take a look at
this when holiday starts, the clock needs some cleanups anyway ;).

Nick



More information about the Xfce4-dev mailing list