unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Christopher Howard <christopher@librehacker.com>, 74855@debbugs.gnu.org
Subject: bug#74855: 30.0.92; dired - slow copy across (wireless) LAN
Date: Thu, 19 Dec 2024 19:53:19 +0100	[thread overview]
Message-ID: <87msgrijxc.fsf@gmx.de> (raw)
In-Reply-To: <CADwFkmkearWKgwf7V_Dzmpz9EavZa7JYE=DZJbCkUDbL78VAWA@mail.gmail.com> (Stefan Kangas's message of "Thu, 19 Dec 2024 12:58:55 -0500")

Stefan Kangas <stefankangas@gmail.com> 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.





  reply	other threads:[~2024-12-19 18:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 16:37 bug#74855: 30.0.92; dired - slow copy across (wireless) LAN Christopher Howard
2024-12-19  4:31 ` Stefan Kangas
2024-12-19 11:48   ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-19 16:59     ` Christopher Howard
2024-12-19 17:50       ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-19 17:58     ` Stefan Kangas
2024-12-19 18:53       ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-12-19 20:14         ` Stefan Kangas
2024-12-19 22:27           ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-19 23:02           ` Christopher Howard
2024-12-19 23:09             ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87msgrijxc.fsf@gmx.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=74855@debbugs.gnu.org \
    --cc=christopher@librehacker.com \
    --cc=michael.albinus@gmx.de \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).