From: Torsten Bronger <bronger@physik.rwth-aachen.de>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 3977@emacsbugs.donarmstrong.com
Subject: bug#3977: 23.1.50; Tramp slows down Emacs
Date: Fri, 31 Jul 2009 08:33:33 +0200 [thread overview]
Message-ID: <87prbhuzsy.fsf@physik.rwth-aachen.de> (raw)
In-Reply-To: 873a8dy0e4.fsf@gmx.de
Hallöchen!
Michael Albinus writes:
> Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
>
>> After starting Tramp, Emacs is slowed down significantly. It is
>> sufficient to trigger Tramp just by tab-completion of a remote
>> path. From this moment on, Emacs is slow.
It's even sufficient to say customize-group -- tramp.
> Does it also happen, when you start "emacs -Q"?
See below.
>> I can't really tell whether it is slow per se or because Tramp
>> does so many network connections in the background because I use
>> Emacs through the network itself (ssh -X).
>
> I don't believe that this matters to Tramp.
I sniffed the network activity, and I found out more.
When using Emacs locally, you don't see this effect. However, here
at work, I start Emacs on my home machine through an SSH tunnel, and
then Tramp slows down Emacs significantly; not Emacs per se but only
the display. For example, I can scroll through a large text file
and it needs the same amount of time. But with Tramp, I don't see
the text scrolling, just reaching the end.
The reason seems to be that Tramp causes X network traffic
(approx. 20 TCP packages) every 5 seconds. Apparently, it makes
Emacs talking to the local client window in a way. The 5 seconds
are very constant.
Note that the machine I tried to open a file on with Tramp is
different from the machine which runs the X server, so I can
distinguish safely between Tramp's file system traffic and Tramp's X
traffic.
With emacs -Q, the effect is different. I don't see time intervals
anymore, but a continuous sending of 60 TCP packages per second. So
the effect is even worse but different.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: torsten.bronger@jabber.rwth-aachen.de
or http://bronger-jmp.appspot.com
next prev parent reply other threads:[~2009-07-31 6:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <nq1vns817d.fsf@alcatel-lucent.de>
2009-07-30 13:38 ` bug#3977: 23.1.50; Tramp slows down Emacs Torsten Bronger
2009-07-31 3:52 ` Michael Albinus
2009-07-31 6:33 ` Torsten Bronger [this message]
2009-08-03 15:49 ` Michael Albinus
2009-08-03 16:22 ` Torsten Bronger
2009-08-04 3:41 ` Michael Albinus
2009-08-04 6:10 ` Torsten Bronger
2009-08-04 8:00 ` bug#3977: marked as done (23.1.50; Tramp slows down Emacs) Emacs bug Tracking System
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=87prbhuzsy.fsf@physik.rwth-aachen.de \
--to=bronger@physik.rwth-aachen.de \
--cc=3977@emacsbugs.donarmstrong.com \
--cc=michael.albinus@gmx.de \
/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.