EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: A fix for running Java GUI applications over Remote X
From: "Chevtsov, Sergei" <[email protected]>
To: <[email protected]>
Date: Fri, 23 Mar 2007 10:21:54 -0700
I would like to present a possible fix for Java2D-based applications whose performance suffers dramatically when they are run over Remote X (ssh). 
This includes, but is not limited to, GUI applications that use Swing and/or AWT and are running on JDK 1.4 or greater.

LINKS to technical background information
--------
http://java.sun.com/products/java-media/2D/perf_graphics.html
http://java.sun.com./javase/6/webnotes/trouble/TSG-Desktop/html/java2d.html
http://java.sun.com/javase/6/webnotes/trouble/TSG-Desktop/html/java2d-props.html

SOLUTION
--------
When running Java GUI applications over Remote X, you should pass the following property to Java VM: -Dsun.java2d.pmoffscreen=false, e.g.
java -Dsun.java2d.pmoffscreen=false -jar archiveviewer.jar

Our test software at SLAC was the ArchiveViewer 1.2, and we indeed saw a dramatic improvement.

Thanks,
Sergei Chevtsov 


Navigate by Date:
Prev: vxWorks 5.5.2 (Tornado 2.2.2) on MVME6100 Andrew Johnson
Next: Vortex / XIA USB electronics D. Peter Siddons
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: vxWorks 5.5.2 (Tornado 2.2.2) on MVME6100 Andrew Johnson
Next: Vortex / XIA USB electronics D. Peter Siddons
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·