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 19:53:19 +0100 Message-ID: <87msgrijxc.fsf@gmx.de> References: <87ikrna69c.fsf@librehacker.com> <87ed23lwqh.fsf@gmx.de> 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="9111"; 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 19:54:21 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 1tOLfA-0002Cr-Sl for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Dec 2024 19:54:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOLeu-0002uM-Pc; Thu, 19 Dec 2024 13:54:04 -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 1tOLet-0002uB-7R for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 13:54: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 1tOLes-0005YY-Ux for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 13:54:02 -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=r8jerXRNwfoC3D9W54cOMGFJv8DQHpb36Y0WfTFuBjg=; b=fnjqave2TRkNOUPFjA1kS+Y4083ek3MsHL6xdd3c456bQWE+/gO84ZLik5asnyVZb9n5AqlIm9uuCGaB/646SgrMArgLsq6gGEQNQySvG/Y0spu4+abg4vwDbqgBE4NebmVHUvwn6Roj/hl+zGOheMLlXwmMUj8mcz/yXjR0OiehUw/tOFlfszdcb8ORlKlgVRXjrKUbhgaY1loQSRYtT+DxpY9Bl3Ax9LCaR+SK20YkZtw6JlDFXAlJjd6sEdAUnVk6JaZUI0K1Ym4Ni82R7fP8YP/rKD5PUt7ICRCpq4tt+8W/fCJrjHuCAfKVlbn9JBhXgcpa/WAE+zx2vcx3Lw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOLes-00071j-JY for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 13:54: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 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 74855-submit@debbugs.gnu.org id=B74855.173463441326965 (code B ref 74855); Thu, 19 Dec 2024 18:54:02 +0000 Original-Received: (at 74855) by debbugs.gnu.org; 19 Dec 2024 18:53:33 +0000 Original-Received: from localhost ([127.0.0.1]:40080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOLeO-00070r-QZ for submit@debbugs.gnu.org; Thu, 19 Dec 2024 13:53:33 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:49259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOLeM-00070b-Ix for 74855@debbugs.gnu.org; Thu, 19 Dec 2024 13:53:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1734634402; x=1735239202; i=michael.albinus@gmx.de; bh=r8jerXRNwfoC3D9W54cOMGFJv8DQHpb36Y0WfTFuBjg=; 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=YnfBfCWtaI+j6Bdmnjo7rEf2eboZuMZ6nvLgOGAAeBL8KQOlbZDSULknUp0AZT80 eB86qAGxThASaZtwNkiXjU/jiOxZhUd3/0n/VOuaJpgUA6vCtTyWy5DOZ6kwR//uv NK03OqsZd09q/pcev1g9qD6A/ETeCuH6PQuNmZdL3dT9qtCATttmw5PlJrHB51ioZ x2YQrrhMKEYHWwtMZHe9w8Jih6jSJSw3pnxBBCXUkYED/ZBC5qivUZgrj6cOfMzJ0 zEZWLWwH0C6C5WevbBTWJkXgOCtEXhSKcVyc4rPnN6vTx2kuMA5FTCs18POkxqVii TAdsncSWHRWL11R/Uw== 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 1MVvPJ-1sx1cd15xF-00TDBc; Thu, 19 Dec 2024 19:53:22 +0100 In-Reply-To: (Stefan Kangas's message of "Thu, 19 Dec 2024 12:58:55 -0500") X-Provags-ID: V03:K1:NEThCFIGoDwBFZ7bAohAv1OAi3mp5lKqpdp1q2aYpChb+LlQWJ4 Jj9vWTmakmf3b5rKL+elNTqUnlgkgm2SWFb32I9i9Q12dkVyre+jV/t0Yj2sIHcGiC8vACC 5DVBybHj83sFryFem0JMXRnUwe0U7AFRhqdLgB2uIQ/6tFoav18LWAjG8kug1T49Gaku8/o aW29v1L87Gv2S9ukZcLaw== UI-OutboundReport: notjunk:1;M01:P0:6O2xNdvWraI=;tWRFdosd3S6mwtvRlpkXD2J1DcD eBZWGo75OrzU/QC0hlD4oubYKjM/eO9C+YVwax8s+LNG+XchIEzDbWklWcUXalgVHbi09ssJG nERZyjVcbou7KlOraf3AhBbsRbdCovmw5skE3myO4VFfeFKbGtxpN32pq1fHN66Wd3urkIXQG acg0qMOWWrn7Q+JPLZEJJ7RMzNpGdOiVkRJ3P01zF5pWukRgQr4azDmxNpa4O96MMUlrUx+ld ONel/PXedoLeJ5BHlVmTWbetRFv7mK/l6DOr2wy6zm5A51RXO71GcYO7usxls/CHFd82t1B7m 3nX1svrlLGDw8aj8dr7sXXTmFbauWF8gT5wKYfpbheGCZGxgW8PSOSsdQsZ3YFOAXtIA5CbxC HSQ2vVVBp9FcEdnt+ehmMLcg6ucgtOxN3BjHXQryc0VZb2fwZArvd7lL4xFQEh7FYkh5wP4cC HM4rI1LAy0VD7EhQ8QcEWITZ3Cnh/QZK9+ki/pp1wJjRed/zkoATqaJanwoe0vV0XKhjIwaFq axHcgkrCg/bLVRg5J2hwvV0KRDzOTINZZX2B0F0wXqZD0orHuqismEj8X0T13bXh6WZ9EBp0w gs96fGZUr700UuKUdwqGBsiXEYJn7YxyOK0NX1K3Z338sw0Kva+4URHKCvjgI26IjBgHwpYJ/ tvlaFVFx6EEL0ow5k26FClGbl/cHHPznWv4VaDf35lqoYLc4LVrclXHqdBsjl+xQ9uhZ56YLI QXdRMsRxtDFMc3KWmRW8m3wLh6SS5e1OoOQlUKHC++jLBPEF42DO87A+9cPoDKJ/f2j+qdis 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:297405 Archived-At: Stefan Kangas writes: Hi Stefan, >> 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". > > Thanks. Would it be possible to detect this situation and either warn > the user about it, or even automatically switch over to scp? What would be the check? "A user wants to copy 600 files, with about 2GB data total, via ssh"? Tramp doesn't know this, it works file-wise. Such a check must reside in dired, but I still doubt we'll find a good rule. And, btw, a file with a size less that tramp-copy-size-limit (10240 bytes) would still be copied via ssh, and not via scp. This check must also be part of the rule. Best regards, Michael.