From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torsten Bronger Newsgroups: gmane.emacs.bugs Subject: bug#3977: 23.1.50; Tramp slows down Emacs Date: Fri, 31 Jul 2009 08:33:33 +0200 Organization: Phoenix Foundation Message-ID: <87prbhuzsy.fsf@physik.rwth-aachen.de> References: <87iqha8f5z.fsf@physik.rwth-aachen.de> <873a8dy0e4.fsf@gmx.de> Reply-To: Torsten Bronger , 3977@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249023425 15149 80.91.229.12 (31 Jul 2009 06:57:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 06:57:05 +0000 (UTC) Cc: 3977@emacsbugs.donarmstrong.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 08:56:58 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWm2z-0000GL-EC for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 08:56:57 +0200 Original-Received: from localhost ([127.0.0.1]:43594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWm2y-0001Q2-Np for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 02:56:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWm2t-0001Pl-EM for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 02:56:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWm2n-0001PR-W2 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 02:56:50 -0400 Original-Received: from [199.232.76.173] (port=42182 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWm2n-0001PO-QJ for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 02:56:45 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:27102) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWm2n-0008OU-63 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 02:56:45 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWm2m-0006vX-Em for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2009 02:56:44 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6V6kitc029255; Thu, 30 Jul 2009 23:46:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6V6e99G028499; Thu, 30 Jul 2009 23:40:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Torsten Bronger Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 31 Jul 2009 06:40:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3977 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3977-submit@emacsbugs.donarmstrong.com id=B3977.124902202327877 (code B ref 3977); Fri, 31 Jul 2009 06:40:08 +0000 Original-Received: (at 3977) by emacsbugs.donarmstrong.com; 31 Jul 2009 06:33:43 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mta-2.ms.rz.rwth-aachen.de (mta-2.ms.rz.RWTH-Aachen.DE [134.130.7.73]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6V6Xanp027860 for <3977@emacsbugs.donarmstrong.com>; Thu, 30 Jul 2009 23:33:37 -0700 Original-Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0KNM00ADNVJZJ8A0@mta-2.ms.rz.RWTH-Aachen.de> for 3977@emacsbugs.donarmstrong.com; Fri, 31 Jul 2009 08:33:35 +0200 (CEST) X-IronPort-AV: E=Sophos;i="4.43,300,1246831200"; d="scan'208";a="20989768" Original-Received: from relay-1.ms.rz.rwth-aachen.de (HELO relay.rwth-aachen.de) ([134.130.7.74]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Fri, 31 Jul 2009 08:33:34 +0200 Original-Received: from wilson (xdsl-87-78-91-27.netcologne.de [87.78.91.27]) by relay.rwth-aachen.de (8.13.8+Sun/8.13.8/1) with ESMTP id n6V6XYLP017451; Fri, 31 Jul 2009 08:33:35 +0200 (CEST) X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-PGP-Affinity: will accept encrypted message for GPG X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Binford: 6100 (more power) X-Accept-Language: de, en Jabber-ID: torsten.bronger@jabber.rwth-aachen.de Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWVTEMoFxP8/Pnw4Nn8 tqbbi3ju7eqxc2XlqJjz8u/LYySDAAACVElEQVR4nF2UMW/bMBCFqUEluokIUGf21i1xArTd ilZBM6pICGpMa0C2NiYuQXdrDBNlt0IGDOvf9h1JKUJv0MBPd+/ueEfW9mSPYrTZYk7GwvlK TOw8gradOjD67CLA+SmdkmVCnI2hLoUoGOOWDD6zAJoQqWA4k2QKLovkcUQUbo2svfdS6ihC HpBgOJeeTCohnpLHShQccfy+LL13iPU6gb8ACFTCbgM4S+ABkaTcl5FMwFrwAK6JEHiVwEkw Q+DqKoFB45BA+fk6gqeU7jH7T2M3Vl5wWSeArIpuaOIzgE8ABc6GJr4PoBxANna3yhizdcwK zcqKTQQHzTJ0fUv/o+3mkeUD0Bl6DXKT4bK41rwL4gCMfPKywg0ao60l0LQHC8AKm5fKMMtl xe33AJZGc5Ybacq6/u2MrIyKHq3VdNk197WTpnaVMqHyplUahXvHHe5wj9JtAs0XTfUpHvvl FB/AOyTvXRXBrbRym8AJoJY6d/KeSrdqkzTeKmp7ZaARJOynBLoTg3q1dTK03d7NU6i2R3yv f9yQhgvJRo++/wVQ5dJSUnYzHz2OAFJxW1Mo+3MCPoZJN94jKb17Af1FGPbaY6zVBDTHFdpr 7/e3tAZT0KwZtd7SzCu2eAHtEqFoo1CjnYKm0Rwu+N8pzf50E3DBQyzsE8veYHBGsEZTJDws bv+877shq+ah4FuPrYESRrfr5l30aJ8x8J6KKCztOYJFsBQFbZvUGa+w8+28Sxp4SzBYXEOJ Xo/iwyD+jd4LehyMDI8HSASXBKhA+TW9Tf4fSktOMtuPmUoAAAAASUVORK5CYII= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Fri, 31 Jul 2009 02:56:50 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29756 Archived-At: Hall=F6chen! Michael Albinus writes: > Torsten Bronger writes: > >> After starting Tramp, Emacs is slowed down significantly. It is >> sufficient to trigger Tramp just by tab-completion of a remote >> path. From this moment on, Emacs is slow. It's even sufficient to say customize-group -- tramp. > Does it also happen, when you start "emacs -Q"? See below. >> I can't really tell whether it is slow per se or because Tramp >> does so many network connections in the background because I use >> Emacs through the network itself (ssh -X). > > I don't believe that this matters to Tramp. I sniffed the network activity, and I found out more. When using Emacs locally, you don't see this effect. However, here at work, I start Emacs on my home machine through an SSH tunnel, and then Tramp slows down Emacs significantly; not Emacs per se but only the display. For example, I can scroll through a large text file and it needs the same amount of time. But with Tramp, I don't see the text scrolling, just reaching the end. The reason seems to be that Tramp causes X network traffic (approx. 20 TCP packages) every 5 seconds. Apparently, it makes Emacs talking to the local client window in a way. The 5 seconds are very constant. Note that the machine I tried to open a file on with Tramp is different from the machine which runs the X server, so I can distinguish safely between Tramp's file system traffic and Tramp's X traffic. With emacs -Q, the effect is different. I don't see time intervals anymore, but a continuous sending of 60 TCP packages per second. So the effect is even worse but different. Tsch=F6, Torsten. --=20 Torsten Bronger, aquisgrana, europa vetus Jabber ID: torsten.bronger@jabber.rwth-aachen.de or http://bronger-jmp.appspot.com