Jump to content

Updated rclone + GD + vfs-chunk-size


Animosity022

Recommended Posts

Animosity022

So after some more testing, there was a beta for rclone that added grabbing chunks a bit better. I've ended up removing the rclone cache and just using this feature.

 

I tested by scanning about 20TB of Movies in about an hour from a fresh emby install. I tested by playing a few 4K movies that started up almost instantly so I figured I'd share.

 

I use GD->Crypt and mount my Crypt:

 

My systemd startup is:

 

[Unit]
Description=RClone Service
After=network-online.target
Wants=network-online.target


[Service]
Type=notify
ExecStart=/usr/bin/rclone mount gcrypt: /gmedia \
   --allow-other \
   --dir-cache-time 48h \
   --vfs-cache-max-age 48h \
   --vfs-read-chunk-size 10M \
   --vfs-read-chunk-size-limit 512M \
   --buffer-size 512M \
   --syslog \
   --umask 002 \
   --rc \
   --log-level INFO
ExecStop=/usr/bin/sudo /usr/bin/fusermount -uz /gmedia
Restart=on-abort
User=felix
Group=felix


[Install]
WantedBy=default.target

Basically it starts with opening only 10MB at a time and doubles that as it requests more sizeable pieces up to 512MB. That worked well for me so I figured I'd share.

 

There is a lot more info at this point over on the rclone forums:

 

https://forum.rclone.org/t/new-feature-vfs-read-chunk-size/5683/117

 

 

 

Link to comment
Share on other sites

  • 2 months later...
NeonGOD

hey Animosity022 :)

 

Seems like you are running emby on a rclone mount..   does it work with integrated subs??   last time i tried it took forever to extract subs and start movie..  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...