From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thierry Leurent Newsgroups: gmane.emacs.help Subject: Re: Tramp too slow to be usefull Date: Mon, 21 Aug 2017 22:44:23 +0200 Message-ID: <1933420.Ahi9y8IKuF@e6430> References: <9945491.03ngrJWQ3Y@e6430> <878tj2wjbq.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: blaine.gmane.org 1503348326 16689 195.159.176.226 (21 Aug 2017 20:45:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2017 20:45:26 +0000 (UTC) User-Agent: KMail/5.2.3 (Linux/4.12.0-1-amd64; KDE/5.28.0; x86_64; ; ) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 21 22:45:18 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djtZQ-0003Zk-C5 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 22:45:12 +0200 Original-Received: from localhost ([::1]:53636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djtZX-00079e-1k for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 16:45:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djtYy-00078I-3c for help-gnu-emacs@gnu.org; Mon, 21 Aug 2017 16:44:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djtYu-0005AW-6R for help-gnu-emacs@gnu.org; Mon, 21 Aug 2017 16:44:44 -0400 Original-Received: from 8.mo4.mail-out.ovh.net ([188.165.33.112]:54521) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1djtYu-00057y-0E for help-gnu-emacs@gnu.org; Mon, 21 Aug 2017 16:44:40 -0400 Original-Received: from player772.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id A41D88C060 for ; Mon, 21 Aug 2017 22:44:30 +0200 (CEST) Original-Received: from e6430.localnet (216.223-246-81.adsl-dyn.isp.belgacom.be [81.246.223.216]) (Authenticated sender: thierry.leurent@asgardian.be) by player772.ha.ovh.net (Postfix) with ESMTPSA id 90CB6740074 for ; Mon, 21 Aug 2017 22:44:30 +0200 (CEST) In-Reply-To: <878tj2wjbq.fsf@detlef> X-Ovh-Tracer-Id: 5056979432249570262 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeelkedruddtledgudehiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 188.165.33.112 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114088 Archived-At: Thans fo your solution. It's work On Wednesday, 2 August 2017 08:54:33 CEST Michael Albinus wrote: > Thierry Leurent 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