Crypt on arm SoC too demanding?

What is the problem you are having with rclone?

Buffering on 4K files on Vero 4K+. Data throughput is limited to about 7 MB/s.
Tested with mounted crypted GDrive, cat 2160p.mkv|pv >/dev/null/ results in 7 MB/s maximum.
top shows rclone with 100% usage (one of the 4 cores to the maximum).
If I test an unencrypted file I get 10 MB/s.
rclone copy gets about 18 MB/s.

Is the CPU too slow to decode?

What is your rclone version (output from rclone version)

rclone v1.52.0

  • os/arch: linux/arm
  • go version: go1.14.3

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

OSMC on Vero 4K+ (AMLogic S905D Quad Core 1.6GHz 64-bit ARMv4 )
Linux osmc 3.14.29-158-osmc #1 SMP Thu Apr 2 18:40:24 UTC 2020 aarch64 GNU/Linux

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

Google Drive

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

/usr/bin/rclone --log-file=/home/osmc/rclone.log --log-level ERROR --config /home/osmc/.rclone.conf mount --read-only --buffer-size 256M gdrive: /home/osmc/mnt/ --dir-cache-time 60m

The rclone config contents with secrets removed.

[drive]
type = drive
client_id = REDACTED
client_secret = REDACTED
token = REDACTED
team_drive = 
root_folder_id = REDACTED

[gdrive]
type = crypt
client_id = y
client_secret = 
token = REDACTED
remote = drive:gdrive
filename_encryption = standard
password = REDACTED
password2 = REDACTED

hi,
as a test, have tried rclone mount drive: and try to stream 4k?
or trying removing --buffer-size

Wow, this is embarassing. If found the error, I installed the 32 bit version of rclone.
Everything is fine with the 64bit version.

1 Like

Good! I was looking at the CPU spec and thinking that looks fast enough!

But shouldn't get the 32bit version the same speed? What's the bottleneck then?

Not sure, but the 64 bit code is likely more efficient and it is likely coded better as 64 but gets more attention (maybe uses vector instructions). Also I don't think 64 bit arms run 32 bit code particularly efficiently.

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