Oops, I didn't mean to reply only to Dmitri, I guess the Java2D interest list doesn't have Reply-To set like the JAI interest list does.
Reposting this here for everyone to see as it could be useful. > -----Original Message----- > From: Dmitri Trembovetski [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 4:48 PM > To: Nidel, Mike > Subject: Re: [JAVA2D] java2d and X sessions > > > > Hi Mike, > > On Fri, Nov 03, 2006 at 04:21:38PM -0500, Nidel, Mike wrote: > > Wow, thanks for the fast response. > > > > This was 1.4.2_11 to the best of my knowledge, > > Ugh. > > > > > # uname -a > > SunOS astro 5.9 Generic_118558-22 sun4u sparc > SUNW,Sun-Blade-1000 > > > > > > > If 1.5 will solve the problem, we'll try our hardest to > move to it > but it may not be possible due to factors > beyond our control. > > OK, I understand. > > The motif toolkit (which is the default in 1.4.2 everywhere and > on Solaris in 5.0) is very bad at high latency connections. > > In 5.0 AWT added XAWT - X11-based toolkit, it's much, much better. > But it wasn't made the default on Solaris, only on linux, > so you'll need to force it. > > Try running on 5.0 with the XAWT instead > the motif toolkit: > AWT_TOOLKIT=XToolkit java YourApp > (or you can set a -D property for the default toolkit). > > In 6.0 remote performance improved even more (and the XAWT > toolkit is the default on all unix platforms). > > Also, does your application do any kind of complex rendering, > like antialiased rendering or alpha compositing (translucent images > , etc)? > > If so, you might want to set this property: > -Dsun.java2d.pmoffscreen=false > It might help. > > > We're doing some testing now with disabling > double-buffering and > using simple scrolling (as > recommended in the bug report, > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4204845) > > but if we can get by without needing to do this, it might save us. > > I hope you won't have to do that. > > Thanks, > Dmitri > Java2D Team > > P.S. Could you please reply to the alias so that others > can benefit from this conversation? > > > thanks again, > > > > Mike > > > > > -----Original Message----- > > > From: Discussion list for Java 2D API > > > [mailto:[EMAIL PROTECTED] On Behalf Of > Dmitri Trembovetski > > Sent: Friday, November 03, 2006 4:16 > PM > > To: [EMAIL PROTECTED] > > Subject: Re: > [JAVA2D] java2d and X sessions > > > > > > > > Hi Mike, > > > > > > which java release were you using? > > > Also, what OS? > > > > > > jdk5 and jdk6 especially have better performance > > > over high-latency remote connections. > > > > > > Thanks, > > > Dmitri > > > > > > > > > On Fri, Nov 03, 2006 at 04:12:04PM -0500, Nidel, Mike > wrote: > > > We have a simple app that just has a few > panels, buttons > > > etc. > > Performance over an X session over a long network > > > connection > is very slow, it takes several seconds to > > > update the GUI. I saw > a bug in the database regarding > > > this, but all the entries were > ancient (2000). The > > > technical notes indicated this is fixed in > 1.4, but from > > > what I could gather the "fix" isn't just a > straight-up > > > performance improvement but requires application > > > > modifications. > > Are there any JVM options or anything we > > > can enable to optimize > performance over X? > > If you > > > don't think this is a Java2D question let me know where > to > > > ask it. > > thanks, > > Mike > > > > > ============================================================== > > > ============= > > > > To unsubscribe, send email to [EMAIL PROTECTED] and > > > include in the body > of the message "signoff > > > JAVA2D-INTEREST". For general help, send email to > > > > [EMAIL PROTECTED] and include in the body of the > message "help". > > > > > ============================================================== > > > ============= > > > To unsubscribe, send email to [EMAIL PROTECTED] and > > > include in the body of the message "signoff JAVA2D-INTEREST". > > > For general help, send email to [EMAIL PROTECTED] and > > > include in the body of the message "help". > > > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".