[Pkg-xfce-devel] Bug#379354: Bug#379354: Bug#379354: xfce4-panel: xfce4-panel uses 2% cpu continuously due to polling

Alexander Toresson alexander.toresson at gmail.com
Sun May 27 10:52:52 UTC 2007


On 5/27/07, Yves-Alexis Perez <corsac at corsac.net> wrote:
> On dim, 2006-07-23 at 02:15 +0200, Hein Zelle wrote:
> > On my Debian unstable system (athlon 2600), xfce4-panel eats a
> > continuous 2% cpu, approximately.  A strace on the process shows that
> > within approximately 10 seconds, the following functions are called:
> >
> > > grep -c ioctl strace.log
> > 142
> > > grep -c gettime strace.log
> > 267
> > > grep -c poll strace.log
> > 141
>
> Following up on this bug, could you try powertop (available in debian
> unstable for i386) and see if xfce4-panel is waking up too much?
> Currently clock plugins wake up every second even if seconds aren't
> displayed, this should be "fixed" in current svn, for next releases.
>
> Regards,
> --
> Yves-Alexis
>

It might also be an idea to use sysprofile (m-a a-i sysprof-module &&
modprobe sysprof-module && apt-get install sysprof && sysprof) to try
to profile what is causing the cpu usage of xfce4-panel.

Regards, Alexander Toresson




More information about the Pkg-xfce-devel mailing list