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
<2007>
2008
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
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|