Bug#709029: gnome-shell using around 50% CPU with audacious
Matthieu Dalstein
deb at dalmat.net
Mon May 20 11:07:35 UTC 2013
Package: gnome-shell
Version: 3.4.2-7
Severity: normal
Dear Maintainer,
When playing music with audacious, the gnome-shell process is eating aound half
a CPU.
I noticed that this does not occur with the same configuration for gnome-
mplayer for instance.
Please find some strace stats related to the issue below for traces of around
2s
gnome-shell idle:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
100.00 0.000214 0 5250 ioctl
0.00 0.000000 0 1 restart_syscall
0.00 0.000000 0 45 17 read
0.00 0.000000 0 20 write
0.00 0.000000 0 8 open
0.00 0.000000 0 8 close
0.00 0.000000 0 1 getppid
0.00 0.000000 0 42 gettimeofday
0.00 0.000000 0 3 readlink
0.00 0.000000 0 4 munmap
0.00 0.000000 0 66 writev
0.00 0.000000 0 158 poll
0.00 0.000000 0 4 mmap2
0.00 0.000000 0 4 fstat64
0.00 0.000000 0 152 gettid
0.00 0.000000 0 211 clock_gettime
0.00 0.000000 0 3 3 inotify_add_watch
0.00 0.000000 0 240 183 recv
------ ----------- ----------- --------- --------- ----------------
100.00 0.000214 6220 203 total
gnome-shell gnome-mplayer:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
76.06 0.000216 0 4151 ioctl
15.49 0.000044 0 160 124 recv
8.45 0.000024 1 34 gettimeofday
0.00 0.000000 0 40 15 read
0.00 0.000000 0 16 write
0.00 0.000000 0 8 open
0.00 0.000000 0 8 close
0.00 0.000000 0 4 munmap
0.00 0.000000 0 28 writev
0.00 0.000000 0 97 poll
0.00 0.000000 0 4 mmap2
0.00 0.000000 0 4 fstat64
0.00 0.000000 0 134 gettid
0.00 0.000000 0 179 clock_gettime
0.00 0.000000 0 3 3 inotify_add_watch
------ ----------- ----------- --------- --------- ----------------
100.00 0.000284 4870 142 total
gnome-shell with audacious:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
92.29 0.001078 0 18606 ioctl
3.94 0.000046 0 1117 849 recv
3.77 0.000044 0 905 clock_gettime
0.00 0.000000 0 1 restart_syscall
0.00 0.000000 0 179 76 read
0.00 0.000000 0 88 write
0.00 0.000000 0 14 open
0.00 0.000000 0 14 close
0.00 0.000000 0 177 gettimeofday
0.00 0.000000 0 6 munmap
0.00 0.000000 0 353 writev
0.00 0.000000 0 771 poll
0.00 0.000000 0 6 mmap2
0.00 0.000000 0 6 fstat64
0.00 0.000000 0 696 gettid
0.00 0.000000 0 3 3 inotify_add_watch
------ ----------- ----------- --------- --------- ----------------
100.00 0.001168 22942 928 total
As you can see, when playing music with audacious, both the ioctl and recv
syscalls increase dramatically (with recv mainly going into errors).
In included the strace output for both mplayer and audacious.
Is it expected that gnome-shell activity increases that much when using such an
application ?
Note: audacious is using PulseAudio. When using ALSA instead, the gnome-shell
activity raises from around 42% (PulseAudio) to 84% (ALSA).
-- System Information:
Debian Release: 7.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.4.44-Dalmat (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-shell depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.12.1-3
ii gconf-service 3.2.5-1+build1
ii gir1.2-accountsservice-1.0 0.6.21-8
ii gir1.2-atk-1.0 2.4.0-2
ii gir1.2-caribou-1.0 0.4.4-1
ii gir1.2-clutter-1.0 1.10.8-2
ii gir1.2-cogl-1.0 1.10.2-7
ii gir1.2-coglpango-1.0 1.10.2-7
ii gir1.2-folks-0.6 0.6.9-1+b1
ii gir1.2-freedesktop 1.32.1-1
ii gir1.2-gconf-2.0 3.2.5-1+build1
ii gir1.2-gcr-3 3.4.1-3
ii gir1.2-gdesktopenums-3.0 3.4.2-3
ii gir1.2-gdkpixbuf-2.0 2.26.1-1
ii gir1.2-gee-1.0 0.6.4-2
ii gir1.2-gkbd-3.0 3.4.0.2-1
ii gir1.2-glib-2.0 1.32.1-1
ii gir1.2-gmenu-3.0 3.4.2-5
ii gir1.2-gnomebluetooth-1.0 3.4.2-1
ii gir1.2-gtk-3.0 3.4.2-6
ii gir1.2-json-1.0 0.14.2-1
ii gir1.2-mutter-3.0 3.4.1-5
ii gir1.2-networkmanager-1.0 0.9.4.0-10
ii gir1.2-pango-1.0 1.30.0-1
ii gir1.2-polkit-1.0 0.105-3
ii gir1.2-soup-2.4 2.38.1-2
ii gir1.2-telepathyglib-0.12 0.18.2-2
ii gir1.2-telepathylogger-0.2 0.4.0-1
ii gir1.2-upowerglib-1.0 0.9.17-1
ii gjs 1.32.0-5
ii gnome-bluetooth 3.4.2-1
ii gnome-icon-theme-symbolic 3.4.0-2
ii gnome-settings-daemon 3.4.2+git20121218.7c1322-3
ii gnome-shell-common 3.4.2-7
ii gnome-themes-standard 3.4.2-2.1
ii gsettings-desktop-schemas 3.4.2-3
ii libatk1.0-0 2.4.0-2
ii libc6 2.13-38
ii libcairo-gobject2 1.12.2-3
ii libcairo2 1.12.2-3
ii libcanberra0 0.28-6
ii libclutter-1.0-0 1.10.8-2
ii libcogl-pango0 1.10.2-7
ii libcogl9 1.10.2-7
ii libcroco3 0.6.6-2
ii libdbus-1-3 1.6.8-1
ii libdbus-glib-1-2 0.100.2-1
ii libebook-1.2-13 3.4.4-3
ii libecal-1.2-11 3.4.4-3
ii libedataserver-1.2-16 3.4.4-3
ii libedataserverui-3.0-1 3.4.4-3
ii libffi5 3.0.10-3
ii libfolks25 0.6.9-1+b1
ii libgck-1-0 3.4.1-3
ii libgconf-2-4 3.2.5-1+build1
ii libgcr-3-1 3.4.1-3
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libgee2 0.6.4-2
ii libgirepository-1.0-1 1.32.1-1
ii libgjs0b [libgjs0-libmozjs185-1.0] 1.32.0-5
ii libgl1-mesa-glx [libgl1] 8.0.5-4
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libgnome-keyring0 3.4.1-1
ii libgnome-menu-3-0 3.4.2-5
ii libgstreamer0.10-0 0.10.36-1.2
ii libgtk-3-0 3.4.2-6
ii libical0 0.48-2
ii libjson-glib-1.0-0 0.14.2-1
ii libmozjs185-1.0 1.8.5-1.0.0+dfsg-4
ii libmutter0 3.4.1-5
ii libnm-glib4 0.9.4.0-10
ii libnm-util2 0.9.4.0-10
ii libnspr4 2:4.9.2-1
ii libnspr4-0d 2:4.9.2-1
ii libp11-kit0 0.12-3
ii libpango1.0-0 1.30.0-1
ii libpolkit-agent-1-0 0.105-3
ii libpolkit-gobject-1-0 0.105-3
ii libpulse-mainloop-glib0 2.0-6.1
ii libpulse0 2.0-6.1
ii libsoup2.4-1 2.38.1-2
ii libstartup-notification0 0.12-1
ii libtelepathy-glib0 0.18.2-2
ii libtelepathy-logger2 0.4.0-1
ii libx11-6 2:1.5.0-1
ii libxcomposite1 1:0.4.3-2
ii libxdamage1 1:1.1.3-2
ii libxext6 2:1.3.1-2
ii libxfixes3 1:5.0-4
ii libxi6 2:1.6.1-1
ii libxml2 2.8.0+dfsg1-7+nmu1
ii python 2.7.3-4
ii telepathy-mission-control-5 1:5.12.3-1
Versions of packages gnome-shell recommends:
ii gkbd-capplet 3.4.0.2-1
ii gnome-contacts 3.4.1-1+b1
ii gnome-control-center 1:3.4.3.1-2
ii gnome-session-fallback 3.4.2.1-4
ii gnome-user-guide 3.4.2-1+build1
ii unzip 6.0-8
gnome-shell suggests no packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace-gnome.shell.tgz
Type: application/x-gzip
Size: 30166 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130520/1dfb9268/attachment-0001.bin>
More information about the pkg-gnome-maintainers
mailing list