all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Tramp performance (was: Emacs unconditionally loads tramp.el)
Date: Sun, 30 Apr 2006 15:04:58 +0200	[thread overview]
Message-ID: <874q0bqkn9.fsf_-_@gmx.de> (raw)
In-Reply-To: <85ejzg2h7d.fsf@lola.goethe.zz> (David Kastrup's message of "Sat,  29 Apr 2006 23:40:54 +0200")

David Kastrup <dak@gnu.org> writes:

>> In my experience tramp is _much_ slower than even ange-ftp (in all
>> ways, but especially establishing connections).  I think this
>> severely limits its utility for general use, and potential audience.
>
> The thing I find annoying is how slow it is for establishing a local
> connection, like with /su::/etc/fstab.  Should be instantaneously,
> really.

Tramp doesn't make a special handling for su(do)? methods. It runs all
the initialization commands, like being in the terra incognita of a
remote host. Changing this, could be an optimization, indeed.

There are other optimizations planned, like keeping a connection
history, in order to reduce the number of checks to be performed.

But: Tramp 2.0, as integrated in GNU Emacs 22, is in maintenance
mode. No new development shall happen there.

Tramp 2.1 has experienced several optimizations already, for example
reducing the number of commands to be sent, delaying checks until they
are needed, and file attributes caching. Some months ago I've
published comparison data, see commentary in
<http://cvs.savannah.gnu.org/viewcvs/tramp/test/tramp-time.el?rev=1.4&root=tramp&view=markup>.

It has been asked sometimes whether Tramp 2.1 could be integrated into
GNU Emacs 22. I've refused it always, because of stability, and
because there are other experimental features which need further
development before going to mainstream use.

If performance of Tramp is a critical issue for acceptance, we could
revise this decision. It should be simple to deactivate (not remove
the code of) the experimental features, because all needed defadvices
are in tramp-util.el. When this file is not present, Tramp won't use
that code.

But stability. Tramp 2.1 code basis is remarkable different from Tramp
2.0. It is used by several people, but I really don't know whether it
is a good decision to integrate it into GNU Emacs 22 so short before
the release.

Best regards, Michael.

  parent reply	other threads:[~2006-04-30 13:04 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-24  9:16 Emacs unconditionally loads tramp.el Romain Francoise
2006-04-24 11:33 ` Michael Albinus
2006-04-24 12:12   ` Romain Francoise
2006-04-24 13:18     ` Michael Albinus
2006-04-24 13:33       ` Stefan Monnier
2006-04-24 13:49         ` Romain Francoise
2006-04-24 19:43         ` Michael Albinus
2006-04-25 16:48           ` Richard Stallman
2006-04-25 18:10             ` Michael Albinus
2006-04-25 18:44               ` Stefan Monnier
2006-04-28  4:11                 ` Michael Albinus
2006-04-26  3:56               ` Richard Stallman
2006-04-28  4:26                 ` Michael Albinus
2006-04-28  6:15                   ` Eli Zaretskii
2006-04-28 20:01                     ` Michael Albinus
2006-04-29 14:26                       ` Eli Zaretskii
2006-04-29 16:09                         ` Michael Albinus
2006-04-29 16:55                           ` Eli Zaretskii
2006-04-29 18:30                             ` Michael Albinus
2006-04-29 18:57                               ` Michael Price
2006-04-29 19:10                                 ` Michael Albinus
2006-04-29 20:47                                   ` Miles Bader
2006-04-29 21:37                                     ` Michael Albinus
2006-04-29 22:50                                       ` Miles Bader
2006-04-30  8:23                                         ` Michael Albinus
2006-04-29 21:40                                     ` David Kastrup
2006-04-29 22:12                                       ` Drew Adams
2006-04-29 22:49                                         ` Jason Rumney
2006-04-29 22:58                                           ` Lennart Borgman
2006-04-30 11:18                                             ` Oscar Fuentes
2006-04-30 12:13                                               ` Jason Rumney
2006-04-30 13:03                                                 ` Oscar Fuentes
2006-04-30 17:46                                                   ` Eli Zaretskii
2006-04-29 23:33                                           ` Drew Adams
2006-04-30  3:45                                             ` Eli Zaretskii
2006-04-30 14:18                                               ` Drew Adams
2006-04-30 14:47                                                 ` Michael Price
2006-04-30 16:31                                                 ` Eli Zaretskii
2006-04-30 16:51                                                   ` Drew Adams
2006-04-30 17:36                                                     ` Eli Zaretskii
2006-04-30 17:41                                                       ` Drew Adams
2006-04-30 18:06                                                     ` Michael Albinus
2006-04-30 18:08                                                       ` Drew Adams
2006-04-30  5:26                                             ` Stefan Monnier
2006-04-30 14:11                                               ` Drew Adams
2006-04-30  6:50                                           ` Tramp & Cygwin (was: Emacs unconditionally loads tramp.el) Michael Albinus
2006-04-30 12:12                                             ` Tramp & Cygwin Jason Rumney
2006-04-30 12:28                                               ` Michael Albinus
2006-04-30 14:10                                                 ` Drew Adams
2006-04-30 14:19                                             ` Tramp & Cygwin (was: Emacs unconditionally loads tramp.el) Drew Adams
2006-04-30 16:11                                             ` Eli Zaretskii
2006-04-30 16:45                                               ` Tramp & Cygwin Michael Albinus
2006-04-30 17:19                                                 ` Eli Zaretskii
2006-04-30 13:04                                       ` Michael Albinus [this message]
2006-04-30  3:47                               ` Emacs unconditionally loads tramp.el Eli Zaretskii
2006-04-30  7:00                                 ` Michael Albinus
2006-04-30 16:16                                   ` Eli Zaretskii
2006-04-28 15:45                   ` Richard Stallman
2006-04-28 19:58                     ` Michael Albinus
2006-04-29 14:31                       ` Eli Zaretskii
2006-05-01 13:45                         ` Michael Albinus
2006-04-29 19:09                       ` Richard Stallman
2006-04-29 19:55                         ` Michael Albinus
2006-04-30  3:04                           ` Richard Stallman
2006-05-01 13:28                         ` Michael Albinus
2006-04-24 17:52   ` Richard Stallman
2006-04-24 19:48     ` Michael Albinus

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=874q0bqkn9.fsf_-_@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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.