# Mount on MacOS unbearably slow

**URL:** <https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417>\
**Category:** Help and Support\
**Created:** [May 23, 2023, 10:39am UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417 "2023-05-23T10:39:41Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![o1o1oo1](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/e56c9b/32.png) [@o1o1oo1](https://forum.rclone.org/u/o1o1oo1)\
**Post date:** [May 23, 2023, 10:39am UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/1 "2023-05-23T10:39:41Z")

</div>

Hi.

My idea is to keep 100K+ 80MB files in encrypted rclone repositories (S3, Google Drive) and sporadically download a few of them. MacOS environment. I would like to use rclone mount for that (read only is fine, I can upload through normal means).

The problem is no matter if I use MacFuse or Fuse-T, the whole computer slows to a crawl and fails to read the mounted directory.

Is there any way to solve it? Or maybe NFS serve in the pipeline?

Best regards.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [May 23, 2023, 11:10am UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/2 "2023-05-23T11:10:17Z")

</div>

I am using rclone mount on macOS and it is fine.

Now why it is so slow in your case? I can only speculate. You have quite a lot of files - by any chance not all in mount root folder?

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [May 23, 2023, 11:22am UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/3 "2023-05-23T11:22:25Z")

</div>

rclone v1.62.2  
macFuse 4.4.3

Like you I only use mount to sporadically download some files so I use default and do not bother with any special options:

`rclone mount onedrive: ./onedrive`

This remote has about 300k files but no more than 1000 in single folder. All works nice and smooth.

---

<div class="post-metadata">

**Author:** ![o1o1oo1](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/e56c9b/32.png) [@o1o1oo1](https://forum.rclone.org/u/o1o1oo1)\
**Post date:** [May 23, 2023, 5:03pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/4 "2023-05-23T17:03:45Z")

</div>

Thank you.

It’s a flat structure (one folder) to reflect local structure. I cannot do much about it ☹

The finder slows to a crawl and then times out without ever populating the directory.

Fuse debug just reports extended attributes errors. Nothing to shed more light.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [May 23, 2023, 5:13pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/5 "2023-05-23T17:13:31Z")

</div>

yes flat structure might be the root cause of the problem. Even on local drive 100k+ files in one folder is challenging.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [May 23, 2023, 5:27pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/6 "2023-05-23T17:27:03Z")

</div>

hi,  
i see there is a beta version that deals with extended attributes. maybe it will spark an idea for you.  
[I've now tested that beta branch, and it appears to solve the problem.](https://forum.rclone.org/t/writes-failing-to-gdrive-mount-on-osx-potentially-extended-attributes-problem/38143/19)

> [@o1o1oo1](#):
>
> It’s a flat structure (one folder

after the mount is running, but before you access the mountpoint, have rclone pre-cache the dir/file structure.

1. add `--rc` to the mount command
2. after the mount is running, run this command  
`rclone rc vfs/refresh recursive=true`
3. now access the mountpoint

in addition, gdrive and s3 need different flags/settings.  
there are a number of things that can be done to improve performance.

so can you answer the questions in the help and support template,  
output of `rclone version`, redacted config, `rclone mount` command and a debug log.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [May 23, 2023, 5:38pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/7 "2023-05-23T17:38:33Z")

</div>

> [@asdffdsa](#):
>
> after the mount is running, but before you access the mountpoint, have rclone pre-cache the dir/file structure

very neat idea.

Other thing would be to forget Finder - stick to terminal. With cache warming it should be much faster already. Why not Finder? As it (like most of modern files' browsers) tries to be clever and inspects every file for example to display thumbnails of known documents. It mean reading 100k+ files (even if only partially) and it can be disaster.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [May 23, 2023, 5:59pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/8 "2023-05-23T17:59:55Z")

</div>

most users do not realize that `rclone mount` is comprised to two caches,  
`rclone file cache` and `rclone dir cache`  
i wrote a summary [here](https://forum.rclone.org/t/status-about-using-rclone-for-music-storage-playback-in-2021-access-times-improved/27648/34)

the problem is the OP is not providing any real details, as asked for in the help and support template.  
gdrive and s3 are very different when it comes to mounts.  
i would have two mount commands, optimized for gdrive and optimized for s3.

> [@kapitainsky](#):
>
> Other thing would be to forget Finder

windows explorer is also a nightmare, i stop using it decades ago,  
a quick internet search lists many guides to tweak macos finder.

fwiw, i use double commander. great that it runs on windows and linux.  
never tried but it does run on macos  
[https://github.com/doublecmd/doublecmd/wiki/Supported-platforms#user-content-macOS](https://github.com/doublecmd/doublecmd/wiki/Supported-platforms#user-content-macOS)

or try midnight commander  
[https://ports.macports.org/port/mc/details/](https://ports.macports.org/port/mc/details/)

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [May 23, 2023, 6:07pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/9 "2023-05-23T18:07:51Z")

</div>

🙂 mc is the first thing I install on any unix or unix-like system. On windows [total commander](https://www.ghisler.com/).

@o1o1oo1 - you can try mc in macOS, if you are using `brew`:

`brew install mc`

Let's see if any of the above ideas will help to solve your issue. Let us know.

---

<div class="post-metadata">

**Author:** ![o1o1oo1](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/e56c9b/32.png) [@o1o1oo1](https://forum.rclone.org/u/o1o1oo1)\
**Post date:** [May 24, 2023, 9:38am UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/10 "2023-05-24T09:38:09Z")

</div>

I've tried all the tips, thank you so much for taking time to help me.

Unfortunately it does not cut it, even with the latest beta. I posted [a bug report](https://forum.rclone.org/t/rclone-mount-to-google-drive-fails/38459).

---

<div class="post-metadata">

**Author:** ![o1o1oo1](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/e56c9b/32.png) [@o1o1oo1](https://forum.rclone.org/u/o1o1oo1)\
**Post date:** [May 24, 2023, 9:39am UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/11 "2023-05-24T09:39:19Z")

</div>

@asdffdsa If I'd stick to Google Drive what would be your advice to improve the performance?

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [May 24, 2023, 12:45pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/12 "2023-05-24T12:45:22Z")

</div>

> [@o1o1oo1](#):
>
> I posted [a bug report](https://forum.rclone.org/t/rclone-mount-to-google-drive-fails/38459).

well, if you started a new topic about a bug, then no point in continuing this topic for now.  
if you get the bug fixed, then come back here and i can help tweak your command

---

<div class="post-metadata">

**Author:** ![o1o1oo1](https://forum.rclone.org/letter_avatar_proxy/v4/letter/o/e56c9b/32.png) [@o1o1oo1](https://forum.rclone.org/u/o1o1oo1)\
**Post date:** [June 3, 2023, 11:09am UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/13 "2023-06-03T11:09:25Z")

</div>

Hi. I got the bug fixed with longer timeout settings (Google drive). Would you recommend caching strategy to cope with very long refresh/cache filling times so it is relatively fixed, for a read only situation?

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [June 3, 2023, 12:00pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/14 "2023-06-03T12:00:18Z")

</div>

This is good example:

> <https://github.com/animosity22/homescripts/blob/master/systemd/rclone-tv.service>

It uses Linux systemd but you can adapt it to cmd or macOS launchd

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [August 2, 2023, 12:00pm UTC](https://forum.rclone.org/t/mount-on-macos-unbearably-slow/38417/15 "2023-08-02T12:00:43Z")

</div>

Closed on August 2, 2023, 12:00pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
