From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: Why is Emacs so slow when used remotely? Date: Wed, 22 Sep 2010 00:31:54 +0200 Organization: Informatimago Message-ID: <87tylizq1x.fsf@kuiper.lan.informatimago.com> References: <76f5ba95-cc68-4326-a962-f515c0fb70cd@y31g2000vbt.googlegroups.com> <3ebca0e6-c698-44dd-a4fd-6166233f5eba@q26g2000vbn.googlegroups.com> <87ocbqsq3g.fsf@puma.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291864397 25863 80.91.229.12 (9 Dec 2010 03:13:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 03:13:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 04:13:01 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQWwF-0003OI-DN for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 04:12:59 +0100 Original-Received: from localhost ([127.0.0.1]:36959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQWwE-0003QG-IF for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:12:58 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: individual.net 2loHR79PgtS4HixDuaIjxw/Xa4t0xL38miRfWUE9ThS5IADzgc Cancel-Lock: sha1:NmZhZjZiNjA1ZjdhNzY5ZDczZjM0NGIyZDY4MDVlNzMzZGNmM2ZjMQ== sha1:w5uK7+M/PS4GSZCGl8Bxi/JCNOM= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no Importance: normal User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:181407 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76525 Archived-At: Tim X writes: > A few things to try ... > > 1. turn off tooltip mode Yes. Anything graphic. > 2. Try running with -nw to turn off X and only have a terminal UI and > see what the performance is like. this will let you know if the problem > is basic emacs or the X protocol stuff This is not useful, if you only work with text. The X protocol is not significantly worse than any other terminal protocol to send over text. > 3. Have you considered running tramp rather than a remote emacs? I've > not bothered with a remote emacs for a long time, preferring to run > tramp (especially with tramps support for remote execution of commands > etc). > > 4. Have you experimented with ssh compression? Sometimes you need to try > various values to get the optimal setting for your connection. Most X > protocol packets are quite small and too high a setting for compression > can actaully slow things down. Also, on a trusted network (ie. a LAN), you could bypass ssh, and just send X directly over the LAN. > 5. When I did run remote X based emacs versions, I found using one of > the X compression protocols gave a huge performance improvement. From > memory, the one I used was something like xdcp (X differential > compression protocol or something similar). I believe recent X.org > versions come with support for such protocols. Maybe look at setting > this up. -- __Pascal Bourguignon__ http://www.informatimago.com/