summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-10-23 17:22:25 +0000
committerRichard M. Stallman <rms@gnu.org>2002-10-23 17:22:25 +0000
commit828cd32831b7c34e1464bd9decb4582287ae34e7 (patch)
tree62109cd72a56714657dee3c57c0490ce3c919fea
parent4321e3b6a6f6eb1588465d1839fed14d98ff25be (diff)
downloademacs-828cd32831b7c34e1464bd9decb4582287ae34e7.tar.gz
Add suggestions for speedup for distant X connections.
-rw-r--r--etc/PROBLEMS34
1 files changed, 26 insertions, 8 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index e8b380ac3f2..8ad18fc122f 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -209,14 +209,32 @@ patch to assert.h should solve this:
* Improving performance with slow X connections
-If you don't need X Input Methods (XIM) for entering text in some
-language you use, you can improve performance on WAN links by
-configuring Emacs with option `--without-xim'. Configuring Emacs
-without XIM does not affect the use of Emacs' own input methods, which
-are part of the Leim package.
-
-If the connection is very slow, you might also want to consider
-switching off scroll bars, menu bar, and tool bar.
+There are several ways to improve this performance, any subset of which can
+be carried out at the same time:
+
+1) If you don't need X Input Methods (XIM) for entering text in some
+ language you use, you can improve performance on WAN links by
+ configuring Emacs with option `--without-xim'. Configuring Emacs
+ without XIM does not affect the use of Emacs' own input methods, which
+ are part of the Leim package.
+
+2) If the connection is very slow, you might also want to consider
+ switching off scroll bars, menu bar, and tool bar.
+
+3) Use ssh to forward the X connection, and enable compression on this
+ forwarded X connection (ssh -XC remotehostname emacs ...).
+
+4) Use lbxproxy on the remote end of the connection. This is an interface
+ to the low bandwidth X extension in most modern X servers, which
+ improves performance dramatically, at the slight expense of correctness
+ of the X protocol. lbxproxy acheives the performance gain by grouping
+ several X requests in one TCP packet and sending them off together,
+ instead of requiring a round-trip for each X request in a seperate
+ packet. The switches that seem to work best for emacs are:
+ -noatomsfile -nowinattr -cheaterrors -cheatevents
+ Note that the -nograbcmap option is known to cause problems.
+ For more about lbxproxy, see:
+ http://www.xfree86.org/4.2.0/lbxproxy.1.html
* Getting a Meta key on the FreeBSD console