Re: [OpenMap Users] OMGraphicHandler Layer and high CPU usage

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 28 Jun 2005 11:16:48 -0400

Hi Sean,

Are you running OpenMap on a remote machine? You might be seeing the
effects of the X server struggling to handle transparent colors,
where painting requires several overhead transactions. Can you
isolate the problem to a particular layer?

- Don

On Jun 28, 2005, at 10:53 AM, King, Sean wrote:

> I have recently have taken over some map development for a project
> that keeps track of objects moving around on a map. There are
> multiple dynamic layers that need to be updated continuously (say
> once a second) on a detailed terrain. Currently the layers are
> being repainted every second. This appears work fine in Windows
> but in Linux I am experiencing the high levels of CPU usage on the
> X Server process which make map functionality slow. It seems the
> cause of the high level of X usage is because of the repaints to
> the OMGraphicHandlerLayers. Zooming in and out on the map also
> causes high CPU usage w/ the X server but I am sure this stems from
> the same repaint problems. Zooming in the OpenMap demo doesn’t
> cause high CPU usage so I am sure the fault lies w/in our code.
>
>
>
> My question is, has anybody experience similar problems in Linux
> before and does anybody have some insight on how to fix this
> problem? Currently, all the layers are calling repaint(). Should
> I just call repaint(x,y,h,w) on the moving objects w/in the layer.
>
>
>
>
>
>
>
> Sean King
>
>
>
>
>
>

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Jun 28 2005 - 11:18:09 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT