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

Yves-Alexis Perez corsac at corsac.net
Sun May 27 15:02:26 UTC 2007


(please keep 379354 at bugs.debian.org in CC: list)

On dim, 2007-05-27 at 16:42 +0200, Hein Zelle wrote:
> Yves-Alexis Perez 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.
> 
> I've just checked, and I can't spot the CPU usage anymore on the
> same system, still running xfce4 and the clock in the panel is
> active.  The only things eating CPU time at a constant rate ar
> xfce4-terminal (1.5 % or so) which could be due to the top process
> running in it, top itself, and some other processes.
> 
> The xfce4-panel is currently taking up 0% cpu time with the clock
> running.  If I change it to include seconds, it takes up about 0.3%
> cpu time.
> 
> Below I'm including my current list of installed xfce4 packages.
> Kernel is 2.6.18-3-k7:
> 
> ii  linux-image-2.6.18-3-k7  2.6.18-8       Linux 2.6.18 image on AMD K7
> 
> Kind regards,
>      Hein Zelle

Mhmh, maybe the bug was fixed between 4.3.90.1 and 4.3.99.2. This would
be nice :) Or maybe the bug was in a panel plugin. Do you remember if
you had the same configuration at that time?

If it was, or if you can't remember, I'll assume the bug is fixed. If
not, we'll reassign to the plugin package.

Regards,

> 
> 
> [hein] ~ :-) dpkg -l '*xfce*' | grep ii
> ii  gtk2-engines-xfce          2.3.99.2-1     A GTK+-2.0 theme engine for Xfce
> ii  libxfce4mcs-client3        4.3.99.2-1     Client library for Xfce4 configure interface
> ii  libxfce4mcs-manager3       4.3.99.2-1     Manager library for Xfce4 configure interfac
> ii  libxfce4util4              4.3.99.2-1     Utility functions library for Xfce4
> ii  libxfcegui4-4              4.3.99.2-1     Basic GUI C functions for Xfce4
> ii  xfce4                      4.3.99.2       Meta-package for the Xfce Lightweight Deskto
> ii  xfce4-appfinder            4.3.99.2-1     Application finder for the Xfce4 Desktop Env
> ii  xfce4-artwork              0.1-1          additional artwork for the Xfce4 Desktop Env
> ii  xfce4-battery-plugin       0.4.90.3-1     battery monitor plugin for the Xfce4 panel
> ii  xfce4-clipman-plugin       0.5.99.1-2     clipboard history plugin for the Xfce4 panel
> ii  xfce4-cpufreq-plugin       0.2-1          cpufreq information plugin for the Xfce4 pan
> ii  xfce4-cpugraph-plugin      0.3-1          CPU load graph plugin for the Xfce4 panel
> ii  xfce4-diskperf-plugin      2.0-2          disk performance display plugin for the Xfce
> ii  xfce4-fsguard-plugin       0.3.0-2        filesystem monitor plugin for the Xfce4 pane
> ii  xfce4-genmon-plugin        3.0-2          Generic Monitor for the Xfce4 panel
> ii  xfce4-goodies              4.3.99.2.1     enhancements for the Xfce4 Desktop Environme
> ii  xfce4-icon-theme           4.3.99.2-1     Xfce Standard icon theme
> ii  xfce4-mailwatch-plugin     1.0.1-2        mail watcher plugin for the Xfce4 panel
> ii  xfce4-mcs-manager          4.3.99.2-1     Settings manager for Xfce4
> ii  xfce4-mcs-plugins          4.3.99.2-1     Special modules for the xfce4-mcs-manager
> ii  xfce4-minicmd-plugin       0.4-2          Mini-command line plugin for the Xfce4 panel
> ii  xfce4-mixer                4.3.99.2-1     Xfce4 Mixer frontend
> ii  xfce4-mixer-alsa           4.3.99.2-1     Xfce4 Mixer ALSA backend
> ii  xfce4-mount-plugin         0.4.8-1        mount plugin for the Xfce4 panel
> ii  xfce4-netload-plugin       0.4-2          network load monitor plugin for the Xfce4 pa
> ii  xfce4-notes-plugin         1.3.99.1-1     Notes plugin for the Xfce4 desktopii  xfce4-panel                4.3.99.2-1     The Xfce4 desktop environment panel
> ii  xfce4-quicklauncher-plugin 1.9.2-1        rapid launcher plugin for the Xfce4 panel
> ii  xfce4-screenshooter-plugin 1.0.0-2        Screenshots plugin for Xfce panel
> ii  xfce4-sensors-plugin       0.10.0-1       hardware sensors plugin for the Xfce4 panel
> ii  xfce4-session              4.3.99.2-3     Xfce4 Session Manager
> ii  xfce4-smartbookmark-plugin 0.4.2-1        search the web via the Xfce4 panelii  xfce4-systemload-plugin    0.4-2          system load monitor plugin for the Xfce4 pan
> ii  xfce4-terminal             0.2.5.8rc2-1   Xfce terminal emulator
> ii  xfce4-utils                4.3.99.2-1     Various tools for Xfce
> ii  xfce4-verve-plugin         0.3.4-1+b1     Verve (command line) plugin for Xfce 4.4 pan
> ii  xfce4-wavelan-plugin       0.5.3-1        wavelan status plugin for the Xfce4 panel
> ii  xfce4-weather-plugin       0.5.99.1-2     weather information plugin for the Xfce4 pan
> 
> 
> 
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
>  Hein Zelle                     hein at icce.rug.nl
> 	                        http://www.icce.rug.nl/~hein
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
-- 
Yves-Alexis





More information about the Pkg-xfce-devel mailing list