Plexdrive and rclone too slow

What is the problem you are having with rclone?

Much buffering when streaming with Plex. Local media is running smooth
Copying a 200MB file via SMB over to my PC takes incredibly long at a rate like 500KB/s.

Copying via Plexdrive isn't faster aswell.

Any suggestions?

What is your rclone version (output from rclone version)

1.55.1 (rclone)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Server: Xpenology DSM 6.2.1-23824
i7 2600k
16 Gig RAM
Mounts on SSD

Clients:
Fire TV Cube@5G WIFI >200 Mbps
Ryzen 7 2700X, 32 Gig, Full SSD, Win10x64 20H2

900Mbps Downstream (AVM 6591, Dual Stack Lite)

Which cloud storage system are you using? (eg Google Drive)

Google Drive Business

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount -v Drive: /volume1/rclone --buffer-size 150M --allow-other --dir-cache-time 300h --poll-interval 5m --allow-non-empty --vfs-cache-mode full --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit off

plexdrive mount --uid=1002 --gid=1002 -o allow_other -v 2 --refresh-interval=1m /volume1/Plexdrive/drv


The rclone config contents with secrets removed.

[Drive]
type = drive
client_id = ...
client_secret = ...
scope = drive
token = {"access_token":"...","token_type":"Bearer","refresh_token":"...","expiry":"2021-07-19T12:49:30.178659892+02:00"}

A log from the command with the -vv flag

2021/07/19 11:49:30 DEBUG : Using config file from "/var/services/homes/Administrator/.config/rclone/rclone.conf"
2021/07/19 11:49:30 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "mount" "-vv" "Drive:" "/volume1/rclone" "--buffer-size" "150M" "--allow-other" "--dir-cache-time" "300h" "--poll-interval" "5m" "--allow-non-empty" "--vfs-cache-mode" "full"]
2021/07/19 11:49:30 DEBUG : Creating backend with remote "Drive:"
2021/07/19 11:49:30 DEBUG : Drive: Loaded invalid token from config file - ignoring
2021/07/19 11:49:31 DEBUG : Saving config "token" = "{\"access_token\":\"...\",\"token_type\":\"Bearer\",\"refresh_token\":\"1//...\",\"expiry\":\"2021-07-19T12:49:30.178659892+02:00\"}" in section "Drive" of the config file
2021/07/19 11:49:31 DEBUG : Drive: Saved new token in config file
2021/07/19 11:49:31 DEBUG : Google drive root '': root_folder_id = "0AG3OI9siTvp-Uk9PVA" - save this in the config to speed up startup
2021/07/19 11:49:31 DEBUG : vfs cache: root is "/var/services/homes/Administrator/.cache/rclone/vfs/Drive"
2021/07/19 11:49:31 DEBUG : vfs cache: metadata root is "/var/services/homes/Administrator/.cache/rclone/vfs/Drive"
2021/07/19 11:49:31 DEBUG : Creating backend with remote "/var/services/homes/Administrator/.cache/rclone/vfs/Drive"
2021/07/19 11:49:31 DEBUG : Google drive root '': Mounting on "/volume1/rclone"
2021/07/19 11:49:31 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2021/07/19 11:49:31 DEBUG : : Root:
2021/07/19 11:49:31 DEBUG : : >Root: node=/, err=<nil>
2021/07/19 11:50:31 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

 rclone copy -P "Drive:data_100mb.test" ~/
Transferred:          100M / 100 MBytes, 100%, 1.079 MBytes/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:      1m33.9s

Do you have a debug log of the issue?

What does Plexdrive have to do with it?

Are you using SMB to share something? You should mount directly on whatever source you are using rather than using SMB as that adds another layer of to figure out.

Best to remove and use the default.

This allows for over mounting and generally should not be used.

A debug log with the issue would be helpful.

For me this shows that it's not a rclone config issue, or not?

Plex is running on that server locally.

Synology DSM creates an @eadir folder, so the flag was just the easiest way.


2021/07/19 16:51:44 DEBUG : Using config file from "/var/services/homes/Administrator/.config/rclone/rclone.conf"
2021/07/19 16:51:44 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "copy" "-P" "--log-level" "DEBUG" "--log-file=/volume3/Backups/Logs/rclone2.txt" "Drive:data_100mb.test" "/var/services/homes/Administrator/test3"]
2021/07/19 16:51:44 DEBUG : Creating backend with remote "Drive:data_100mb.test"
2021/07/19 16:51:44 DEBUG : Google drive root 'data_100mb.test': root_folder_id = "0AG3OI9siTvp-Uk9PVA" - save this in the config to speed up startup
2021/07/19 16:51:45 DEBUG : fs cache: adding new entry for parent of "Drive:data_100mb.test", "Drive:"
2021/07/19 16:51:45 DEBUG : Creating backend with remote "/var/services/homes/Administrator/test3"
2021/07/19 16:51:46 DEBUG : data_100mb.test: Need to transfer - File not found at Destination
2021/07/19 16:53:19 DEBUG : data_100mb.test: MD5 = e1d00a9a535b3a4f23f05561cafa73ae OK
2021/07/19 16:53:19 INFO  : data_100mb.test: Copied (new)
2021/07/19 16:53:19 INFO  : 
Transferred:   	      100M / 100 MBytes, 100%, 1.076 MBytes/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:      1m35.1s

2021/07/19 16:53:19 DEBUG : 4 go routines active

The copy command won't show anything as the mount log is what you want to look at.

Thanks in advance, btw there were folder access issues, SMB wanted me to login so i typed cp /volume1/rclone/data_100mb.test ~/test

SMB adds another layer as from your logs, there's no rclone issue so you are probably getting some slowness either via SMB / another layer along the way. WiFi could be an issue.

Best to try wired first to get a baseline.

But... the cp was running internal at just 1MBps.
Streaming to my PC (1Gbps wired) is buffering aswell.

Right as you got SMB and other things going on. I can only see the rclone logs show me and that are not any issues so there is something else going on.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.