Rclone version: 1.52.2
OS: Ubuntu Server 18.04
Cloud: GDrive
API: Personal
What's the recommended Rclone mount settings for 4K streaming?
Should I be using vfs-cache-mode=full to utilise vfs-read-chunk-size?
And what sort of buffer size should I be using - currently using 16M
Thanks!
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 1:48pm
2
hello, when you posted you should have been asked for some information.....
Sorry, updated post with more details
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 9:29pm
4
well, what is your rclone mount command?
are you having problems with streaming?
Occassional buffering on high bitrate files (greater than 30mbps) when multiple simultaneous streams running.
Buffering does not occur in the same scenario with lower bitrate files.
Peering and bandwidth aren't the issue.
--allow-other
--timeout=1h
--tpslimit=8
--dir-cache-time=7620m
--buffer-size=16M
Wondering whether increasing buffer size and/or chunk size would help. And whether I should move to vfs cache
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 9:52pm
6
antigravity:
move to vfs cache
and what are you moving from?
can you do a rclone listremotes
, thanks
what is the speed of your internet connection?
I meant should I implement a vfs cache
I'm running an encrypted mount on a team/shared drive.
Internet connection is 1gbps
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 9:58pm
8
what is your current rclone mount command?
rclone mount drive: /mnt/drive
--log-file=/var/logs/rclone.log
--allow-other
--timeout=1h
--tpslimit=8
--dir-cache-time=7620m
--buffer-size=16M
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 10:03pm
10
sorry, did you re-edit your post or did i miss this?
I edited the post to be more specific
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 10:10pm
12
antigravity:
vfs-cache-mode=full
then rclone would download the entire
file before streaming
and the devices used for the multiple streams, the devices are they wifi, wired or some combination?
OK thanks - don't want that.
All Cat6 ethernet
I'm curious whether the 16M buffer is sufficient for multiple 4K downloads. Or if there's another option I can introduce to better handle multiple large transfers
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 10:17pm
14
antigravity:
--buffer-size=16M
it depends on how much ram you have.
i think that you need is file caching to the hard drive
I have 32GB RAM to spare.
So your recommendation is to turn on vfs cache?
But this will download the entire file before playback will occur?
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 10:22pm
18
depends on the flags you use.
also, note that there is a major update to vfs cache in beta and it might be what you need.
I'm in the process of completing the changes to the vfs cache
This will have these 3 major new features (along with a host of bug fixes!)
--vfs-cache-mode full which will only download the parts of the file you need
I envision this will become the preferred way of using the vfs cache
--vfs-cache-mode writes will do delayed writeback of files
this will help with explorer lockups on windows
this will help with downloads and renames in quick sucession (eg downloading from a web browser)
r…
--vfs-cache-mode full which will only download the parts of the file you need I envision this will become the preferred way of using the vfs cache
Thanks. What flags can I use to implement vfs read without rclone downloading the entire file before playback?
Or is that only possible in the beta channel?
asdffdsa
(jojothehumanmonkey)
July 11, 2020, 10:32pm
20
not an expert on multiple streams and 4k,
i would try that beta and --vfs-cache-mode full
here is what i use in my mount
--read-only --vfs-read-chunk-size=16M --vfs-read-chunk-size-limit=0 --buffer-size=1G --rc