I'm currently using rclone to encrypt a local folder on of my remote linux servers. I mount the drive just like I mount a remote encrypted google drive. Unfortunately, that shit is SLOW, which makes me ask the question: What settings would improve performance reading and writing to a locally encrypted folder?
Here's what I got so far:
rclone mount local_encrypted_drive: /unencrypted/folder \ -o auto_cache \ -o sync_read \ --allow-other \ --vfs-cache-mode=writes \ --buffer-size=64M \ --cache-dir=/cache/rclone
I don't even think these are optimal, I tried a bunch of different configs and just gave up and this was the last one that worked.
One of the things I was thinking about is that writing a single file to disk should be a single threaded operation, but when I write a large ISO to
/unencrypted/folder, all the CPU cores light up. Is that the encryption/decryption process, or is rclone trying to write multiple streams to the disk? If so, can I single thread it?