unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kim Barrett <kab@conundrums.ca>
To: help-gnu-emacs@gnu.org
Subject: emacs find-file extremely slow over sshfs+vpn
Date: Sun, 3 Sep 2023 16:54:30 -0400	[thread overview]
Message-ID: <A8C949F0-3249-4ED7-8951-69C6562576E4@conundrums.ca> (raw)

I'm trying to use emacs (29.1-1, also 28.2 and 28.1-4) on MacOS to edit files
on a remote machine via VPN and sshfs. (Mac-compatible emacs obtained from
https://emacsformacosx.com/builds.) Using emacs to read or write such files
takes a very long time, like 2-3 minutes. These are not large files. Obviously
this very usable.

It seems like the VPN is connected to the problem, since I don't see such a
delay when reading and writing files accessed via sshfs on a remote machine
that doesn't need VPN for access.

The network performance over VPN isn't amazing, but by itself it's nowhere
near bad enough to account for what I'm seeing with emacs. And I don't see
anything like that slowdown with other applications (including Aquamacs, a mac
port of emacs 25).

Searching the web finds various similar sounding complaints of various
vintages, but I'm not finding anything that matches what I'm seeing and has a
solution.

Any suggestions? I'd really like to switch to a recent version of emacs (I've
been using Aquamacs, but it's been stuck on emacs 25 for a long time). But
this problem makes that impossible for one of my main uses.




             reply	other threads:[~2023-09-03 20:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-03 20:54 Kim Barrett [this message]
2023-09-04 10:20 ` emacs find-file extremely slow over sshfs+vpn Michael Albinus
2023-09-05  0:18   ` Kim Barrett

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=A8C949F0-3249-4ED7-8951-69C6562576E4@conundrums.ca \
    --to=kab@conundrums.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).