Bug#610472: libvte9: burns lot of cpu cycles on timer stuff

Dirk Griesbach spamthis at freenet.de
Tue Jan 18 21:19:18 UTC 2011


Package: libvte9
Version: 1:0.27.4-1
Severity: normal

Hi

in contrast to libvte9 in unstable (0.24.3-2), this version does use
some nasty timer stuff which consumes about 10-15% of CPU cycles on my
machine when one xfce4-terminal is opened but has nothing to do at all.
The CPU load will increase with more terminals opened.

,----[ short excerpt strace xfce4-terminal ]-
| clock_gettime(CLOCK_MONOTONIC, {10100, 224280124}) = 0
| poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN}], 5, 27) = 0 (Timeout)
| clock_gettime(CLOCK_MONOTONIC, {10100, 251598964}) = 0
| clock_gettime(CLOCK_MONOTONIC, {10100, 251998803}) = 0
| clock_gettime(CLOCK_MONOTONIC, {10100, 252145889}) = 0
| poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
| writev(4, [{"5\30\4\0u\33 \2\3\0 \2\371\3R\1\224\4\5\0v\33 \2u\33 \2*\0\0\0"..., 3076}, {NULL, 0}, {"", 0}], 3) = 3076
| read(4, 0x8f904b0, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
| nanosleep({0, 0}, 0xbf8929e0)           = 0
| read(4, 0x8f904b0, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
| poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=3, events=POLLIN}], 4, 0) = 0 (Timeout)
| ioctl(8, TIOCGWINSZ, {ws_row=24, ws_col=145, ws_xpixel=0, ws_ypixel=0}) = 0
| time(NULL)                              = 1295384205
| read(4, 0x8f904b0, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
| read(4, 0x8f904b0, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
| clock_gettime(CLOCK_MONOTONIC, {10100, 254584874}) = 0
| poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN}], 5, 28) = 0 (Timeout)
| clock_gettime(CLOCK_MONOTONIC, {10100, 282938828}) = 0
| clock_gettime(CLOCK_MONOTONIC, {10100, 283358712}) = 0
| clock_gettime(CLOCK_MONOTONIC, {10100, 283481213}) = 0
| poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
`----

Regards,
Dirk

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvte9 depends on:
ii  libatk1.0-0               1.32.0-2       The ATK accessibility toolkit
ii  libc6                     2.11.2-8       Embedded GNU C Library: Shared lib
ii  libcairo2                 1.10.2-1       The Cairo 2D vector graphics libra
ii  libfontconfig1            2.8.0-2.1      generic font configuration library
ii  libfreetype6              2.4.2-2.1      FreeType 2 font engine, shared lib
ii  libgdk-pixbuf2.0-0        2.23.0-2       GDK Pixbuf library
ii  libglib2.0-0              2.27.91-1      The GLib library of C routines
ii  libgtk2.0-0               2.23.90-1      The GTK+ graphical user interface 
ii  libncurses5               5.7+20101128-1 shared libraries for terminal hand
ii  libpango1.0-0             1.28.3-4       Layout and rendering of internatio
ii  libvte-common             1:0.27.4-1     Terminal emulator widget for GTK+ 
ii  libx11-6                  2:1.4.1-1      X11 client-side library

libvte9 recommends no packages.

libvte9 suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list