Mount function on windows is useless... why such slow!?

RClone works fine for most of the time and most of the function, but could you speed up the 'mount' function? (even though you were not recommending this command...)

On my windows 10 device, I could only use "mount" as same as a 'tree' command -- with windows OS style :frowning: ...
cause when I try to open any file, It always keeps me waiting for 10~20 seconds, sometimes it will cost more time...
sometime I will get this...
image
So can you help me figure this issue out?

Command Code:
C:\Users\scruel\Desktop\TOOL\auto\rclone\rclone.exe mount Entertainment:/ O: --cache-dir F:\OneDriveTemp\Entertainment --vfs-cache-mode writes -vv

The same software "Raidrive" won't have such problem(only delay 3~8s)...

1 Like

What version are you running?
What backend are you running?

What's your rclone.conf look like without keys/password?

lastest version: 1.47.0
backend: windows 10 pro 1809
rclone.conf:
[Entertainment]
type = onedrive
token = {"access_token":"","expiry":""}
drive_id =
drive_type = business

cache function also not working properly? cause for any time I do the same action, I need to wait for 10~20s...

You do have cache mode writes on so it would download the whole file.

If you are reading only, use -vv and share the debug log file.

It won't download the whole file...but the opening speed is extremely slow...

this time, it almost takes 5 minutes before I open the video...
rclone.log

It's slow because whatever player/thing you are using opens and closes the file repeatedly.

You try to perhaps the cache backend:

2019/05/19 10:47:54 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Open: flags=O_RDONLY
2019/05/19 10:46:46 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Flush: fh=0x5
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: >Flush: errc=0
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : /video: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Open: flags=O_RDONLY
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Flush: fh=0x5
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: >Flush: errc=0
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Open: flags=O_RDONLY
2019/05/19 10:46:46 DEBUG : /video/Marvel: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Flush: fh=0x5
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: >Flush: errc=0
2019/05/19 10:46:46 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Open: flags=O_RDONLY
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Flush: fh=0x2
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: >Flush: errc=0
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Open: flags=O_RDONLY
2019/05/19 10:46:46 DEBUG : /video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/05/19 10:46:46 DEBUG : video/Marvel/神盾局特工/神盾局特工.Marvels.Agents.of.S.H.I.E.L.D.S06E01.中英字幕.HDTVrip.720P-人人影视.mp4: Open: flags=O_RDONLY

You can see it open/close repeatedly.

I see, so what about the "explorer.exe"? the attached log file only contains one action after listing the directory file -- right-click the file without opening it, and it seems its also open/close repeatedly? so what is happening?
rclone.log

I don't use Windows so I'm not sure what happens when you right click on a file.

In general, if you have a cloud mount, open / closing a file is expensive. From the logs, rclone seems to be doing the right thing as it reads properly and there are no errors in the file.

no erro though but its not enough for daily use.

I'm not sure what you are trying to use it for so not sure how to help you. I'm sure other folks use it on Windows but fuse on Windows isn't generally a great thing from my understanding.

If you have something else that better meets your use case, use it would be my suggestion.

I wonder what raidrive is doing differently.

I just use it for mapping the onedrive as local disk...
Yep, I am using Raidrive now, but I am going to choose to use the open source softwares rather than others if they aren't such slow...

I wonder know it too, cause it seems have middle servers for transferring the data, Rclone
done such things locally without middle cost, but it faster than Rclone at least 2x times...

1 Like

I'd hope they aren't passing your data through a middle tier if that's what you're saying.

It does look like they are caching locally though. You could try the cache but it wouldnt speed up that initial access. But would for repeated.

Yep, the most important reason why I want to switch to Rclone is secruity.

Raidrive will cache the data locally, but the initial access won't be such slow, after caching some data, it will links the online files to caching files, so I can open them without waiting for the networking delay.

But...the cache function of Rclone does not work as Raidrive does (with all default settings, cache for 1h), every time you open the files, every time you have to wait...:frowning:

1 Like

You're not using the cache backend according to the config btw.

https://rclone.org/cache/

Got it, Thanks.

Windows support - Experimental

There are a couple of issues with Windows mount functionality that still requires some investigations. It should be considered as experimental thus far as fixes come in for this OS.

Cache is just a experimental function on Windows OS...

I configured the file by following the docs:
chunk_size = 5M
info_age = 48h
chunk_total_size = 10G

but, even worse(after waiting for 5 mins, I have to kill rclone)...

(I have to reply now cause the protection of newbie users.)

1 Like