From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David Abrahams" Newsgroups: gmane.emacs.help Subject: Re: remote X11/GNU emacs/ssh: Incredible slowness loading libs Date: Sun, 29 Sep 2002 18:16:19 -0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: "David Abrahams" NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1033340776 16337 127.0.0.1 (29 Sep 2002 23:06:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Sep 2002 23:06:16 +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 17vn8g-0004FN-00 for ; Mon, 30 Sep 2002 01:06:15 +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 17vn8u-0001kF-00; Sun, 29 Sep 2002 19:06:28 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!jpix!nntp2.iprev.net!nntp1.iprev.net!giga-nspixp2!newsfeed.gol.com!feed1.news.rcn.net!rcn!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 44 Original-X-Trace: UmFuZG9tSVYXXDvCg+M071Sc0fSJuh5KVEg4Yp2AjPJeXX12FDeF8UnulktZVaXh Original-X-Complaints-To: abuse@rcn.com Original-NNTP-Posting-Date: 29 Sep 2002 22:50:56 GMT X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal Original-Xref: nntp.stanford.edu comp.emacs:74905 gnu.emacs.help:105518 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:2062 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2062 "Krishnakumar B" wrote in message news:dmlu1k8cwsc.fsf@charanga.cs.wustl.edu... > On Sunday, 29 September 2002, "David Abrahams" wrote: > > I've been doing some work on remote machines on the other U.S. coast > > recently, and have noticed strange and horrible delays associated with > > running GNU emacs in an X window. At first I thought the problem was the > > speed of traffic associated with X11, but I don't think so any more. The > > reason I say these delays are strange is that they seem to be worst when > > emacs is loading libraries (especially during startup), or just when it's > > trying to respond to "C-x C-f" the first time. On some machines, it takes > > literally minutes to give me the "find file:" prompt. I don't see the same > > problems when running "emacs -nw" in an xterm (that just blasts along like > > crazy), so it can't be having trouble loading the libraries. I don't see > > anything this bad when running Xemacs, so I doubt there's a real problem > > with the X11 GUI stuff. Can't imagine what the problem is. Any ideas? > > Enable ssh compression. It helps a lot. Makes absolutely no perceivable difference. However, there is an enormous amount of network traffic going by, as I can see by the flashing light on my NIC. This happens any time a new emacs mode (library) loads on the remote machine. What in the world could it be accessing on my local machine? All that handshaking, just as emacs starts up?!? I heard some rumour that you can work around this with .Xauthority, but I'm tired of diddling around with things I don't really understand, and I still can't understand why there should be any difference between emacs -nw and emacs when it comes to loading libraries. still-baffled-ly y'rs, dave -- ----------------------------------------------------------- David Abrahams * Boost Consulting dave@boost-consulting.com * http://www.boost-consulting.com