What is the problem you are having with rclone?
I'm only seeing rclone mount use a single connection s3 when reading files on the mounted drive
What is your rclone version (output from rclone version
)
1.54.1
Which OS you are using and how many bits (eg Windows 7, 64 bit)
64 bit Windows Server 2019
Which cloud storage system are you using? (eg Google Drive)
S3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount s3:genie-pse-inbound-stg z: --vfs-cache-mode full --no-modtime --network-mode --multi-thread-cutoff=1 --multi-thread-streams=4 --transfers=4 -vv
The rclone config contents with secrets removed.
[s3]
type = s3
provider = AWS
env_auth = true
region = us-west-2
server_side_encryption = aws:kms
sse_kms_key_id = REDACTED
A log from the command with the -vv
flag
2021/03/23 22:08:46 DEBUG : rclone: Version "v1.54.1" starting with parameters ["c:\\rclone\\rclone.exe" "mount" "s3:genie-pse-inbound-stg" "z:" "--vfs-cache-mode" "full" "--no-modtime" "--network-mode" "--multi-thread-cutoff=1" "--multi-thread-streams=4" "--transfers=4" "-vv"]
2021/03/23 22:08:46 DEBUG : Creating backend with remote "s3:genie-pse-inbound-stg"
2021/03/23 22:08:46 DEBUG : Using config file from "C:\\Users\\Administrator\\.config\\rclone\\rclone.conf"
2021/03/23 22:08:46 INFO : S3 bucket genie-pse-inbound-stg: poll-interval is not supported by this remote
2021/03/23 22:08:46 DEBUG : vfs cache: root is "\\\\?\\C:\\Users\\Administrator\\AppData\\Local\\rclone\\vfs\\s3\\genie-pse-inbound-stg"
2021/03/23 22:08:46 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\Administrator\\AppData\\Local\\rclone\\vfs\\s3\\genie-pse-inbound-stg"
2021/03/23 22:08:46 DEBUG : Creating backend with remote "\\\\?\\C:\\Users\\Administrator\\AppData\\Local\\rclone\\vfs\\s3\\genie-pse-inbound-stg"
2021/03/23 22:08:46 DEBUG : fs cache: renaming cache item "\\\\?\\C:\\Users\\Administrator\\AppData\\Local\\rclone\\vfs\\s3\\genie-pse-inbound-stg" to be canonical "//?/C:/Users/Administrator/AppData/Local/rclone/vfs/s3/genie-pse-inbound-stg"
2021/03/23 22:08:46 DEBUG : fs cache: switching user supplied name "\\\\?\\C:\\Users\\Administrator\\AppData\\Local\\rclone\\vfs\\s3\\genie-pse-inbound-stg" for canonical name "//?/C:/Users/Administrator/AppData/Local/rclone/vfs/s3/genie-pse-inbound-stg"
2021/03/23 22:08:46 DEBUG : vfs cache: looking for range={Pos:0 Size:421} in [{Pos:0 Size:421}] - present true
2021/03/23 22:08:46 DEBUG : Network mode mounting is enabled
2021/03/23 22:08:46 DEBUG : Mounting on "z:" ("\\server\\s3 genie-pse-inbound-stg")
2021/03/23 22:08:46 DEBUG : S3 bucket genie-pse-inbound-stg: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "--VolumePrefix=\\server\\s3 genie-pse-inbound-stg"]
2021/03/23 22:08:46 INFO : vfs cache: cleaned: objects 5 (was 5) in use 1, to upload 1, uploading 0, total size 50.882M (was 50.882M)
2021/03/23 22:08:46 DEBUG : S3 bucket genie-pse-inbound-stg: Init:
2021/03/23 22:08:46 DEBUG : S3 bucket genie-pse-inbound-stg: >Init:
2021/03/23 22:08:46 DEBUG : /: Statfs:
2021/03/23 22:08:46 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/03/23 22:08:46 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/03/23 22:08:46 DEBUG : /: >Getattr: errc=0
2021/03/23 22:08:46 DEBUG : /: Readlink:
2021/03/23 22:08:46 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
I'm trying to adapt a legacy Windows app to the cloud, and the media I need to read is on s3. As long as I do a network mount, it seems to work fine. However, performance isn't great as it only uses one connection to s3. I've tried many combinations of arguments but can't ever seem to get it to use more than one connection at a time.
I'm running this in AWS EC2, so I know I can get very high performance reading from s3 using multiple connections. The instance has a burstable 10 Gbps NIC, and I'd ideally like to get at least 1 Gbps aggregate. Unfortunately with one connection I can only get about 300 Mbps reliably.
I can do very fast multi part downloads with the AWS CLI, but in this case I can't trigger a download action, I really need to just present a file system to the app so it can take whatever action it needs to take with the best storage performance I can muster. I'm hoping to arrive at an rclone mount
command that will aggressively prefetch any requested files with several connections to s3. That way the files will be warm on disk for the app to read as quick as it pleases.
Thanks in advance for your time!