NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Unnecessary Display Refreshing Hurts Performance?

I noticed that the Earth example in visad/examples continues to use up
processor time even when the cursor is outside both of its windows.  On
my Sun Ultra 60 I see this by repeatedly doing "ps -ef | grep java" and
looking at the accumulated time.

Actually, I first noticed this on my real application, which gets slower
as I add more displayed data.  It eventually gets to the point where it
takes 20 seconds to refresh a window with nothing but a JTable in it.  I
have another Java3D program which doesn't use VisAD, and it doesn't have
this behavior.

Profiling suggests a lot of time spent in the J3D-Renderer-1 thread in
Canvas3D.callDisplayList.  My question is, is VisAD continually
refreshing the display even when it hasn't changed?  If so, why, and how
can I make it stop?  Or have I misunderstood what's going on?

Thanks for any help.

Randall W. Simons
Sandia National Laboratories


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: