Is there a way to test that --vfs-read-ahead on a OneDrive mount actually reads the amount I have set and has stored it in cache?
If I look at the cached file, the file size shown is the total size of the file, however that's obviously not what's in my vfs-cache as the local free space is much less than the file size.
Is there any way to confirm X GB of the file have indeed been downloaded and waiting in cache?
Apologies, I didn't think the template applied as I was only after a test strategy and didn't think to link it to a specific problem.
However, here is the template below with all the relevant information:
What is the problem you are having with rclone?
The problem is video randomly freezing on high-bitrate media content from OneDrive. However, I am discussing this in another thread in this forum. Here I only want to ask about how to test that --vfs-read-ahead XG is actually working as expected, i.e. how can I tell that X GB has been read ahead.
The reason behind this is, if I know that --vfs-read-ahead is working as expected, it will guide my search for a solution elsewhere vs. if it's not working, which will guide me towards finding out why it is not working.
Run the command 'rclone version' and share the full output of the command.
That log has everything in the cache already so read ahead wouldn't do anything.
You can do something like grep the log for "present" and grep -v true and you get no hits.
Read ahead works as if you are reading a file sequentially, it'll continue to read ahead until the file is closed. If the file closed, it stops reading ahead. The logs do show that, but since everying is already cached, it would not since they are all present in the cache.