About a month ago there was some discussion on Java slowness on this list
(the thread title was "Java GUI broken on LTSP 5").

In Ubuntu Hardy, with LTSP5, some Java applications are simply
unusable slow.  The issues appear to have something to do with how
Java uses X-client libraries to send data to an X server.  In Ubuntu
Feisty the problem does not exist, and it most probably does not exist
in Gutsy either.  Between Gutsy and Hardy, there has been a significant
change in the X11-client library, that has started using XCB (X protocol
C-language Binding, see http://xcb.freedesktop.org/) as an underlying
X protocol library.

The sluggishness of some Java applications can be solved in Ubuntu
Hardy by replacing the /usr/lib32/libX11.so.6.2.0 file in Hardy with
the version in Gutsy (presuming Firefox and Java are 32-bit versions, so
they use 32-bit libraries).  The main difference between these versions
appears to be that the Hardy version links to /usr/lib/libxcb-xlib.so.0
and /usr/lib/libxcb.so.1, and the older version does not.  Similar change
may work as well with other LTSP distributions that are affected by this.
I do not know what it is in the actual X11-client implementation that
makes this difference, but it appears to make a dramatic difference
with many Java applications, for example the web-usable version in
http://www.typingmaster.com/.

Juha

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to