all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Thierry Leurent <thierry.leurent@asgardian.be>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp too slow to be usefull
Date: Wed, 02 Aug 2017 08:54:33 +0200	[thread overview]
Message-ID: <878tj2wjbq.fsf@detlef> (raw)
In-Reply-To: <9945491.03ngrJWQ3Y@e6430> (Thierry Leurent's message of "Tue, 01 Aug 2017 18:09:20 +0200")

Thierry Leurent <thierry.leurent@asgardian.be> writes:

> Hello,

Hi Thierry,

> I'm trying to use tramp but it's very slow even I work with a local
> file owned by root.

Quoting from the Tramp manual, "Frequently Asked Questions":

   • How could I speed up TRAMP?

     In the backstage, TRAMP needs a lot of operations on the remote
     host.  The time for transferring data from and to the remote host
     as well as the time needed to perform the operations there count.
     In order to speed up TRAMP, one could either try to avoid some of
     the operations, or one could try to improve their performance.

     Use an external method, like ‘scp’.

     Use caching.  This is already enabled by default.  Information
     about the remote host as well as the remote files are cached for
     reuse.  The information about remote hosts is kept in the file
     specified in ‘tramp-persistency-file-name’.  Keep this file.  If
     you are confident that files on remote hosts are not changed out of
     Emacs’ control, set ‘remote-file-name-inhibit-cache’ to ‘nil’.  Set
     also ‘tramp-completion-reread-directory-timeout’ to ‘nil’, *note
     File name completion::.

     Disable version control.  If you access remote files which are not
     under version control, a lot of check operations can be avoided by
     disabling VC.  This can be achieved by

          (setq vc-ignore-dir-regexp
                (format "\\(%s\\)\\|\\(%s\\)"
                        vc-ignore-dir-regexp
                        tramp-file-name-regexp))

     Disable excessive traces.  The default trace level of TRAMP,
     defined in the variable ‘tramp-verbose’, is 3.  You should increase
     this level only temporarily, hunting bugs.

> Thnaks for your help.
>
> Regards, 
>
> -----
> Thierry Leurent

Best regards, Michael.



  reply	other threads:[~2017-08-02  6:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-01 16:09 Tramp too slow to be usefull Thierry Leurent
2017-08-02  6:54 ` Michael Albinus [this message]
2017-08-21 20:44   ` Thierry Leurent

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=878tj2wjbq.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=thierry.leurent@asgardian.be \
    /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.