[Xastir] Fwd: [Bug 454740] Re: xastir consumes CPU time in X11 socket I/O

David Aitcheson david.aitcheson at gmail.com
Tue Dec 29 18:54:51 EST 2009


XASTIR Group & Kamal KA6MAL,

Is there some way we ("XASTIR Group" & "Ubuntu/Debian Maintainers")
can share information directly?

I think this issue has already been killed on xastir.org

73
Dave
KB3EFS
FN24BI81GP




---------- Forwarded message ----------
From: Kamal Mostafa <kamal at whence.com>
Date: Tue, Dec 29, 2009 at 4:46 PM
Subject: [Bug 454740] Re: xastir consumes CPU time in X11 socket I/O
To: david.aitcheson at gmail.com


The problem still occurs in the latest upstream version xastir-1.9.6 (
available for testing in my PPA:
https://launchpad.net/~kamalmostafa/+archive/xastir ).

Strace on xastir-1.9.6 shows this sequence spinning hard:

sched_yield()                           = 0
sched_yield()                           = 0
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}], 2, 9) = 0 (Timeout)
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}], 2, 0) = 0 (Timeout)
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
[...]

--
xastir consumes CPU time in X11 socket I/O
https://bugs.launchpad.net/bugs/454740
You received this bug notification because you are a direct subscriber
of the bug.

Status in “xastir” package in Ubuntu: Confirmed

Bug description:
Binary package hint: xastir

kjotte at zarya:~$ lsb_release -rd
Description:    Ubuntu 9.04
Release:        9.04

kjotte at zarya:~$ apt-cache policy xastir
xastir:
 Installed: 1.9.4-3
 Candidate: 1.9.4-3
 Version table:
 *** 1.9.4-3 0
       500 http://archive.linux.duke.edu jaunty/universe Packages
       100 /var/lib/dpkg/status

After upgrading from Intrepid (xastir 1.9.2) to Jaunty I noticed my
CPU was running at a constant ~10%.  Running an strace revealed there
was quite a bit time spent timing out of polls on the X11 socket fd.
I tried setting the DISPLAY to use TCP instead of UNIX sockets, but
the high poll activity still occurred.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/xastir/+bug/454740/+subscribe



More information about the Xastir mailing list