[OpenMap Users] RE: [OpenMap UserMapbean performance on Linux/Xwindows (revisited)

From: Rob Ratcliff <rrr6399_at_futuretek.com>
Date: Wed, 3 Aug 2005 22:08:59 -0500

Hi David,

Have you tried using "java -Dsun.java2d.pmoffscreen=false"?

You can also try some of these:
setenv NO_J2D_DGA 1
setenv USE_DGA_PIXMAPS
setenv J2D_PIXMAPS shared
See http://java.sun.com/products/java-media/2D/perf_graphics.html
for more details.

Also get rid of all semi-transparent colors. They don't work
well over remote X connections.

Are you using the
com.bbn.openmap.layer.policy.BufferedImageRenderPolicy
for your layers that do lots of line drawings?

You are using at least JDK 1.4 right? Anything before that is worthless remote
X connections. JDK 1.5 has lots of nice rendering improvements and many
more knobs to twiddle.

> -----Original Message-----
> From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]On
> Behalf Of David Ward
> Sent: Wednesday, August 03, 2005 9:06 PM
> To: openmap-users_at_bbn.com
> Subject: [OpenMap Users] Poor Mapbean performance on Linux/Xwindows
> (revisited)
>
>
>
> This is a topic I've seen here before, but can find the postings.
>
> On Linux/Xwindows my application suffers from poor performance. (Linux is a
> customer requirement).
>
> The majority of the processing is being done by the Xserver with X ometimes
> reaching 80-90% CPU.
>
> My application has 15 layers. 3 are very active layers that obtain data from a
> server. 4 layer are associated with input and drawing. The remaining 8 layers
> provide the underlying map and geographic features. These eight layers I
> recently placed in a BufferedLayer and witness an additional performance
> increase.
>
> The active layers hold and render as many as 60,000-70,000 graphics. The
> graphics rendering doesn;t seem to be as much of an impact as bliting the
> buffer to the sever screen.
>
> I've researched the issue and discovered a JVM problem with text antialiasing
> and alpha blending when running on Xwindows. I disabled the antialiasing as
> much transperent rendering as I could. This resulted in a marked increase in
> performance.
>
> However, I am still seeing poor performance.
>
> Does anyone have any tips or techniques to address the Xwindows rendering
> issue.
>
> Cheers,
> David
>
>
>
> ----
> David Ward
> ROLANDS & ASSOCIATES Corporation
> 500 Sloat Avenue
> Monterey, CA 93940
> USA
> Tel: 1.831.373.2025
> Fax: 1.831.373.2841
> Email: synriga_at_yahoo.com
>

--
[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 Wed Aug 03 2005 - 23:44:07 EDT

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