From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74855: 30.0.92; dired - slow copy across (wireless) LAN Date: Thu, 19 Dec 2024 12:48:22 +0100 Message-ID: <87ed23lwqh.fsf@gmx.de> References: <87ikrna69c.fsf@librehacker.com> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6554"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Christopher Howard , 74855@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 19 12:49:35 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOF26-0001VB-KQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Dec 2024 12:49:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOF1g-00028c-6t; Thu, 19 Dec 2024 06:49:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOF1b-00028L-Sz for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:49:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOF1b-0003g3-Kc for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:49:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=29xWfHxyKjo2RgOU0GR/T29QVUngZu63sSAb5o/R3iw=; b=ZXkqdGq3p8wHhs98SbwDp/DDSd9dfrJc2KT+B/Pu0yQYPD096vYFtDgMuW8Nx+zSFgW2/TOcVfH3Fw0ASWeXr7V5k8h1PMEU5lXtaSMwULNcObz+t7fTSTO97lO6aUOXZyh7Q9ZuIxz85X8gmvaMSUrwtrTvDfNbXeEffRjFpdx+Am43xa6KiNZzPaKScRhV4flCErKQXkO6I8qyOPN3e/JAkPV10QagdU1kmx0B2RL1dVs+hPyxywT3hZiwui25QNznrIxM33BER3WQQvAAd+MMPldhX5YnkbuhgRfq9hAHJHFSOFuMgO4ntsC8atYQkhebdcj4odMoA3YQrHTHew==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOF1a-0003MR-IR for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2024 11:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74855 X-GNU-PR-Package: emacs Original-Received: via spool by 74855-submit@debbugs.gnu.org id=B74855.173460891412845 (code B ref 74855); Thu, 19 Dec 2024 11:49:02 +0000 Original-Received: (at 74855) by debbugs.gnu.org; 19 Dec 2024 11:48:34 +0000 Original-Received: from localhost ([127.0.0.1]:37735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOF17-0003L4-RB for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:48:34 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:48601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOF15-0003Ko-9r for 74855@debbugs.gnu.org; Thu, 19 Dec 2024 06:48:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1734608903; x=1735213703; i=michael.albinus@gmx.de; bh=29xWfHxyKjo2RgOU0GR/T29QVUngZu63sSAb5o/R3iw=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=k3NuOK+BUCtf2aC5qSUL+uO0n8+oPsiSe7PBHsiuVcA/NTQquy79ouMPjp7IsQVt GkcnhGZ7ysyN5+4Otz9Zbue9ZLKwYnR37iyavQs1NIHlZmtemFDLV2cdGI6Nw5tp9 0rHo9n2XeqFm9t8EFsLzQb0//tArtePOr2EWhDrzvZ2ajV2ucPUbnT8fc0GuSzKuE 3q9dwpV1xeCnlHAtDPAI2CCHFz4tYTzk/E7HmMVCbypoAcwkLic122G4J9sHydIJp NYzfwwO9SO70D11WGa3JgaGFjVJD7PaVyhOH/7kAAXi5CodrZ0GWYFMtGpA3Ljp/z nBr5s99HqjrW9UFbqA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MFbRm-1tLXbN2IOs-00Da9z; Thu, 19 Dec 2024 12:48:23 +0100 In-Reply-To: (Stefan Kangas's message of "Wed, 18 Dec 2024 23:31:21 -0500") X-Provags-ID: V03:K1:xew5nT3lr8nj476NE+xg9KDbiNW5VATFe/3F1fl+uc8EYdNoAJg 8GrPYBomkWHP+wChozkr/PV6T5nkNoeU+qVwep5rMMU/KC0rKKvPW3vs+IQLg7+HZdQ53aX cE5eE3+6ACmcFbiKs94c3viraVeifOX3GVMNpXFKKXbYH9QHX50wYbpeZVYivW0exguw3Nu 4in3yt1EeOmEg7NH+E4IQ== UI-OutboundReport: notjunk:1;M01:P0:FdrOjFbtUhc=;ajwkBpw+8z8D4HBkUaDX7JEbIs+ GuuXwgHv9D5DrmeG/pRRPt5rndDf08NQkWNN5/QQQZc086SmCm6SY2sIUUVmwReAD/qOv1LVH 1WLv9h6pZgEC029/waIvCMeCpv4o6D0HSlzB/pOkLWmOtntpyOD7d9tt4IO98dXO13+snlrNm kqw4SsaOXBpWCmTi1j8CaP8LNafxhF7UU51mLhwZ18XkOVBjv+Ze4Ib/ACyWaCgdQfbLAeZz+ QcGz6ajKlfhYgcs3kI45uSJf7Z7y+6LXGCfEp/+TGJafkkxd3k5y6xAkdDai1G9cfSjaHAV+k N4JlsqCgHhzEVubZNVBZm4sOC2GxVp5Jm7VN5WTEvQrMp4w8HQBBsY/gOV6F2OmBzYymSlNmC lcah7fLbQeqqnWR8OF7omJs+T78Rf5J34JwmfBWrToc2NN4r7DX1jEY2lXxB/BYxCYnYzeNXE ZGSLqg9MujHhYb53y4INA7Qunry7U6gk9y7kFJ5KbyeFsJU/tEbUE2v9HyesbFvkSQfXAD0T8 Ll+V5C/pDsJawo7HenA3fF2Gqt5sD3b4F7l+hzU/poj5feBUAUMt621UWJSLzKd3oi+H509WC ZmyYh5Vf8nBdnvZJqdGpKsuaprCWrcBDiQbox5EkDNsqkq0hnJuI/eZ2BwJV2A6XWBf/yJa8i K2L4DF+7oMsKVi9VUKN4dtp7mS8/f6GbjojU+Qg5A9emNeioc2wmWmO0QTYSuEESZGMnNUrt0 0bXPSTx2+jqw9+l/3bqYadAkpsrVVEtdyFOBEhThPWCrogAR39PulAuO0LlyvsXfiU2dalCi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297382 Archived-At: Stefan Kangas writes: > Christopher Howard writes: > >> Hello. Recently I was using dired to transfer 600 files, with about >> 2GB data total, across our LAN (one wi-fi hop involved). The source >> was a local directory, and the target was an SSH host on the LAN. I >> marked the files I wanted with dired-mark-files-regexp, and then >> used dired-do-copy to send them to >> "/ssh:@:/home//". This took a really long >> time. Actually, the copy was still going after about 15 hours >> (overnight) though I could see it had not frozen up, but was still >> moving files. >> >> Using scp directly, from Gnome console, I am seeing transfer rates >> of about 2.5 MB/s over the same path. So, I'm wondering why the >> large disparity. Could somebody explain further how Emacs goes about >> moving the file data and where the bottleneck would be. Is there >> room for improvement in this functionality? > > Michael, any comments? Tramp's "ssh" method is not suited for this use case. It encodes the local file with base64, and decodes it when it has been arrived on the remote side. For this given use case, Tramp's "scp" method is better suited. See the discussion in the manual, (info "(tramp) Connection types") and (info "(tramp) Frequently Asked Questions") , the entry "How to speed up TRAMP". Best regards, Michael.