[Xastir] Xastir -CPU

Curt Mills archer at eskimo.com
Thu Sep 16 22:17:53 EDT 2004


On Thu, 16 Sep 2004, Tom Russo wrote:

> On Windows 2000, on another 2GHz machine with 640MB ram, we're looking at
> 80%-90% CPU usage with the only feed being the server port on the above home
> machine.  Spikes up to 90+% every time there's a packet received or an expose
> event, drops to around 82% and stays there when everything's quiet.  X doesn't
> eat that CPU when xastir is not running, but it's clearly related to xastir's
> use of X.

Henk de Groot has been keeping me informed of such things.  I think
he may do a bit more work on getting that CPU usage down on Cygwin.
I have a hard time finding test machines to do it with.

If you get a chance though, crank up "nexttime" in
main.c:UpdateTime() to see if it helps on Cygwin.  Henk was doing
some of that and got it down to 30% or so.  If you can do a bit more
and track down where the CPU is really getting used, that'd be even
better.  We can put in Cygwin-specific delays once we find the
culprit, or code around the problem.

-- 
Curt, WE7U.				archer at eskimo dot com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"




More information about the Xastir mailing list