From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.help Subject: Re: remote X11/GNU emacs/ssh: Incredible slowness loading libs Date: 01 Oct 2002 17:31:54 +1000 Organization: University of New England, NSW, Australia Sender: help-gnu-emacs-admin@gnu.org Message-ID: <87adlyaa39.fsf@blind-bat.une.edu.au> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033458350 2500 127.0.0.1 (1 Oct 2002 07:45:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 07:45:50 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17wHj2-0000eC-00 for ; Tue, 01 Oct 2002 09:45:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wHjI-00057H-00; Tue, 01 Oct 2002 03:46:04 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!news1.optus.net.au!optus!news.usyd.edu.au!news.une.edu.au!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: blind-bat.une.edu.au User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: nntp.stanford.edu comp.emacs:74955 gnu.emacs.help:105579 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2124 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2124 tfb@famine.OCF.Berkeley.EDU (Thomas F. Burdick) writes: > You didn't say explicitly (I don't think), but you impleid that you're > using Emacs 21. 21 is *much* *much* slower over a forwarded X11 > connection than 20.7 was. I'm not sure what's in all the network > traffic, but it generates a lot. If I'm working over an ssh/X11 link, > I never use 21. > > The other problem you could be having is dropped packets. ssh/X11 > connections in general seem to be really sensitive to dropped packets, > and too many of them will cause the connection to just hang for a > while. Combined with Emacs 21's chattiness, this can be really > unpleasant. > > Finally, if the remote server is Linux 2.4, I'm sorry. I've noticed > that its scheduler isn't very nice to interactive applications over an > ssh/X11 connection. It seems to want to give them fewer timeslices of > a longer duration than you'd want. I have had a much better time with > Solaris, or Linux 2.2. While this may not solve the problem, it might improve performance if you also use something like dxcp to get some additional compression of X protocol packets. also, since you are doing X over an ssh connection, try playing with the ssh compression levels. Also try executing other X applications and see if they have the same slowness. I would also turn off any "features" which you don't need/use like the toolbar. Also, make sure the fonts you are using are available on both machines - sometimes you can get really slow performance if the remote font specified for emacs is not available locally or is available, but mapping takes additional time etc. Although it might sound crazy, it may also be worth doing some traceroutes to check where the packets are going to get to your system. Good luck T