all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Why is Emacs so slow when used remotely?
Date: Wed, 22 Sep 2010 08:12:51 +1000	[thread overview]
Message-ID: <87ocbqsq3g.fsf@puma.rapttech.com.au> (raw)
In-Reply-To: 3ebca0e6-c698-44dd-a4fd-6166233f5eba@q26g2000vbn.googlegroups.com

"Russ P." <russ.paielli@gmail.com> writes:

> On Sep 20, 6:40 pm, des...@verizon.net wrote:
>> "Russ P." <russ.paie...@gmail.com> writes:
>> > As I explained a few days ago, I am trying to switch from XEmacs to
>> > Emacs so I can use Ensime (an Emacs-based IDE for Scala). I finally
>> > got my .emacs file debugged, but now I am finding that Emacs seems to
>> > be very slow when used remotely.
>>
>> > When I work from home, I login from one Linux machine to another using
>> > ssh -X over a high-speed Internet connection, using my home machine as
>> > an X terminal for my work machine. I am using Emacs 23.2.1 on Red Hat.
>> > I am finding that opening a file or switching buffers by middle-
>> > clicking in dired or the buffer menu takes approximately 20-30
>> > seconds. With XEmacs it takes less than one second. I hope I am doing
>> > something wrong that can be corrected, because I'll grow old sitting
>> > around that long every time I open a file or switch buffers. Any
>> > suggestions? Thanks.
>>
>> Did you file a bug report?
>
> No. I don't  know if this behavior is a bug or just poor performance.
> (Nor do I know, off hand, how to file a bug report.)
>
> This is disappointing. As far as I can tell, Emacs seems to be
> essentially unusable for remote usage. I can't believe I am the only
> one who has noticed this problem. Am I the only one who uses Emacs/
> XEmacs to work remotely over ssh -X?
>

A few things to try ...

1. turn off tooltip mode

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

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. 

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. 


HTH 

Tim



-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2010-09-21 22:12 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 23:20 Why is Emacs so slow when used remotely? Russ P.
2010-09-21  1:40 ` despen
2010-09-21 18:29   ` Russ P.
2010-09-21 18:53     ` Thorsten Bonow
2010-09-21 21:19       ` despen
2010-09-21 21:23     ` despen
2010-09-21 22:12     ` Tim X [this message]
2010-09-21 22:31       ` Pascal J. Bourguignon
2010-09-22  6:54         ` David Kastrup
2010-09-22 13:05           ` Pascal J. Bourguignon
2010-09-22 13:25             ` David Kastrup
2010-09-22 13:41               ` Pascal J. Bourguignon
2010-09-22 22:33             ` Tim X
2010-09-23 22:50           ` Stefan Monnier
2010-09-21 22:19     ` David Kastrup
2010-09-22 21:56     ` Andrea Venturoli
2010-09-23 22:54       ` Stefan Monnier
2010-09-24 15:48       ` Giacomo Boffi
2010-09-24 18:01         ` despen
2010-09-23 22:44     ` Stefan Monnier
2010-09-24  2:29       ` despen
2013-11-15 15:47   ` mgrojo
2013-11-15 22:24     ` Bob Proulx
2013-11-15 22:58       ` Drew Adams
2013-11-15 23:30         ` Bob Proulx
2013-11-21 20:13       ` Manuel Gómez
2013-11-21 21:39         ` Bob Proulx
2013-11-27 17:58         ` Ken Goldman
2013-11-27 23:16           ` Peter Dyballa
2013-11-28  2:34             ` Bob Proulx
2013-11-28 11:35               ` Peter Dyballa
2013-11-28 19:48                 ` Bob Proulx
2013-11-28 21:53                   ` Peter Dyballa
2013-11-29 18:56                     ` Bob Proulx
2013-11-30 15:23                       ` Perry Smith
2013-11-30 23:03                         ` Peter Dyballa
2013-12-01 15:41                           ` Perry Smith
2013-11-28  4:11         ` Stefan Monnier
     [not found]       ` <mailman.6780.1385064830.10748.help-gnu-emacs@gnu.org>
2013-11-24 16:17         ` Kenneth Jacker
2013-11-24 20:02           ` Manuel Gómez
     [not found]     ` <mailman.6297.1384554313.10748.help-gnu-emacs@gnu.org>
2013-11-16  2:13       ` Dan Espen
2010-09-22 10:44 ` Uday Reddy
     [not found] ` <306c0aac-97e2-47b4-bf63-afe247dea2b3@u13g2000vbo.googlegroups.com>
2010-09-23 22:06   ` Tim X
2010-09-24 15:45 ` Giacomo Boffi
2010-09-24 22:32   ` Russ P.
2010-09-25  0:39     ` Tim X
2010-09-27 13:30     ` Giacomo Boffi
2010-09-27 21:11       ` Stefan Monnier
2010-09-27 21:16         ` Giacomo Boffi
2010-09-27 23:01           ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2010-09-21 22:32 Russ P.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ocbqsq3g.fsf@puma.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.