I know that I keep asking questions about the same buffer to ram thing that rclone does.
But I’m trying to play a UHD BD using Jriver in Windows 10.
Using Jriver it takes forever to open the first menu because it keeps reading the same files again and again.
While if I use the oppo 203 blu-ray player it opens almost instantly.
I’ve tried setting buffer to 1G, --max-read-ahead 512M something to keep those small files into memory but it seems it keeps accessing it from gdrive.
If I could get this running it would be really sweet because jriver is the only windows app that can actually play full UHD BD.
max-read-ahead does nothing unless you are using a custom compiled kernel to over those defaults.
buffer-size is used when a file is read and kept open. Once the file is closed, the buffer is dropped so making it 1G actually makes it much worse in this case it tries to read ahead to fill the buffer and closes and it dumping the buffer.
The problem / challenge / issue is that JRiver constantly opens and closes the file, while this is fine when storage is local, when you use cloud, you have that inherent latency.
It opened up and closed the file 219 times in that small log you posted:
rclone mount does well at reading sequentially but since you are repeatedly opening and closing it, there isn’t a setting you can do to tune that.
You can try using the cache backend to see if that helps as that stores chunks locally and may make it tolerable, but not sure either as that is one open/close happy application.
so I’m going to try this with my unraid box now but is there a way to tell rclone where to cache the files to?
In windows I mounted like this rclone mount --allow-other cache: q: and it worked!
Would --dir-cache /media/cache be the right way to point the directory?
Also all those --buffer-size etc, applies to a cache mount?