unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thierry Leurent <thierry.leurent@asgardian.be>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp too slow to be usefull
Date: Mon, 21 Aug 2017 22:44:23 +0200	[thread overview]
Message-ID: <1933420.Ahi9y8IKuF@e6430> (raw)
In-Reply-To: <878tj2wjbq.fsf@detlef>

Thans fo your solution. It's work
On Wednesday, 2 August 2017 08:54:33 CEST Michael Albinus wrote:
> 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.


-- 

-----
Thierry Leurent



      reply	other threads:[~2017-08-21 20:44 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
2017-08-21 20:44   ` Thierry Leurent [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1933420.Ahi9y8IKuF@e6430 \
    --to=thierry.leurent@asgardian.be \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).