From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Tramp too slow to be usefull Date: Wed, 02 Aug 2017 08:54:33 +0200 Message-ID: <878tj2wjbq.fsf@detlef> References: <9945491.03ngrJWQ3Y@e6430> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1501656920 20676 195.159.176.226 (2 Aug 2017 06:55:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2017 06:55:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Thierry Leurent Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 02 08:55:14 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 1dcnYo-00051q-DB for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Aug 2017 08:55:14 +0200 Original-Received: from localhost ([::1]:45765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcnYs-0000VN-Qg for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Aug 2017 02:55:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcnYO-0000Ts-Mk for help-gnu-emacs@gnu.org; Wed, 02 Aug 2017 02:54:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcnYJ-0001BR-SN for help-gnu-emacs@gnu.org; Wed, 02 Aug 2017 02:54:48 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:63765) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcnYJ-0001AH-H3 for help-gnu-emacs@gnu.org; Wed, 02 Aug 2017 02:54:43 -0400 Original-Received: from detlef.gmx.de ([212.86.43.132]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LxxNo-1dZVoE1kwu-015GIS; Wed, 02 Aug 2017 08:54:34 +0200 In-Reply-To: <9945491.03ngrJWQ3Y@e6430> (Thierry Leurent's message of "Tue, 01 Aug 2017 18:09:20 +0200") X-Provags-ID: V03:K0:EKITJJAMhyv8zn7KgIiv1kV3LSxbEHK9Ji6KVKnEepGdzowOFJT I1k5Z6vBH1DQRC9HZ8NQydmqeFAULJoDVmN7h3cmzjS/WZ7iOwr/e4Rq49pOPe7dHeS22CR xIZL1nVm4s4RF3SChrlM9IByfytn4wWaO4fHeXjgnOi+XS7ca7ONEINGT5nxBECPpu/V4bc pu6GeeT2D4r3sWbZOWDFQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:DTDJr8qzDvY=:cSXSkH0I0IPhk3UoJB0NoG noQlrJUt6f5WYxXSX2ectRs3h7Ez9XKefK7jWd3UfRGpAI8kfFkZh6qKbpuqqpRzATjFOjO0E sGBYCVXuKwZ7zlUHrmXwPh4k8eln1KIodqHFFL6pJeQ/g+ylPwW5blEa7I9ufPc6rfjm44KUF SE6pAvs3Ho36yQ11S5tsisv3fm1TUFqAg+xrvCsLSPvufu0gu5jm9u4VwNB2T0TJ5m0rwraCK OrOrcKj9v6NBJJpjZ031oJYeu+ru/ZBF8Tri229TEAkWySmX/GE3tLxMHfbePB5CeaPOPGdsI FEU5Fy0ruWvEEuVYbBxZkkOiMihY5wXHhZOQbSvoMrVRf8mk3J+q91W3L/vwv+5TENgoTI+uH OgAOHr/I4Wi1/ZDvXMJg0VUdfEygzCdGxUzLrINEg6UurmoywFQdgEdeBb+umTZf0lF+FidWF WocmesHhkX9lPaeYm4at+/6r0J3QFo6w8MoCyCo8XWwlbBVGAGR/F1Rmpl6IK62kMAh9E8Ze1 UoihJ7CWIfhMJ0VUPVHNs2/myeIQA3V5/AHIGAAxgvsKkHBupfYnuLJ/HubDfPO/+oLD6NE8t mkmixV4Cnci0YftV/z4uoD273GYSL2otQa032E2JBE04ETrkYRreRDrF1U5n+VTs2ugOGptVR I0gTsOxj3ZkA9Pseps4a04mT1+IU/slj2hkh9KmimTsqb4gmVEWjMnbuJKCYZWWyl0cjK9TeS ABzmN4KGHlx7HGI38NqEP2uoYdwvUZljOCIZgSAKnPPjvYKYcB6DgnPXZcUtE5c5CGwiGfwO X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 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:113920 Archived-At: 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": =E2=80=A2 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 =E2=80=98scp=E2=80=99. 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 =E2=80=98tramp-persistency-file-name=E2=80=99. Keep this= file. If you are confident that files on remote hosts are not changed out of Emacs=E2=80=99 control, set =E2=80=98remote-file-name-inhibit-cache=E2= =80=99 to =E2=80=98nil=E2=80=99. Set also =E2=80=98tramp-completion-reread-directory-timeout=E2=80=99 to = =E2=80=98nil=E2=80=99, *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 =E2=80=98tramp-verbose=E2=80=99, is 3. You sh= ould increase this level only temporarily, hunting bugs. > Thnaks for your help. > > Regards,=20 > > ----- > Thierry Leurent Best regards, Michael.