rclone mount appears to perform about 4 times worse than s3fs. I have an application in the ISO that I execute.
Here’s the head of the log from mounting off of rclone:
2019/04/19 17:16:31 DEBUG : rclone: Version "v1.47.0" starting with parameters ["rclone" "--config=/home/travis/rclone.conf" "mount" "-vv" "--read-only" "gcs:my-images/Linux" "/mnt/images"]
2019/04/19 17:16:31 DEBUG : Using RCLONE_CONFIG_PASS password.
2019/04/19 17:16:31 DEBUG : Using config file from "/home/travis/rclone.conf"
2019/04/19 17:16:32 DEBUG : Storage bucket my-images path Linux/: Mounting on "/mnt/images"
2019/04/19 17:16:32 INFO : Storage bucket my-images path Linux/: poll-interval is not supported by this remote
2019/04/19 17:16:32 DEBUG : Adding path "vfs/forget" to remote control registry
2019/04/19 17:16:32 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/04/19 17:16:32 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/04/19 17:16:32 DEBUG : : Root:
2019/04/19 17:16:32 DEBUG : : >Root: node=/, err=<nil>
2019/04/19 17:16:50 DEBUG : /: Attr:
2019/04/19 17:16:50 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2019/04/19 17:16:50 DEBUG : /: Lookup: name="myimage.iso"
2019/04/19 17:16:50 DEBUG : /: >Lookup: node=myimage.iso, err=<nil>
2019/04/19 17:16:50 DEBUG : myimage.iso: Attr:
2019/04/19 17:16:50 DEBUG : myimage.iso: >Attr: a=valid=1s ino=0 size=14872707072 mode=-rw-r--r--, err=<nil>
2019/04/19 17:16:50 DEBUG : myimage.iso: Open: flags=OpenReadOnly
2019/04/19 17:16:50 DEBUG : myimage.iso: Open: flags=O_RDONLY
2019/04/19 17:16:50 DEBUG : myimage.iso: >Open: fd=myimage.iso (r), err=<nil>
2019/04/19 17:16:50 DEBUG : myimage.iso: >Open: fh=&{myimage.iso (r)}, err=<nil>
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: Flush:
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: >Flush: err=<nil>
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: Read: len=4096, offset=14872608768
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.openRange at 0 length 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ReadFileHandle.seek from 0 to 14872608768 (fs.RangeSeeker)
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 0 to 14872608768 length -1
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 14872608768 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.openRange at 14872608768 length 134217728
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: >Read: read=4096, err=<nil>
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: Read: len=4096, offset=14872698880
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at 14872612864 length 8192 chunkOffset 14872608768 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ReadFileHandle.seek from 14872612864 to 14872698880 (fs.RangeSeeker)
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 14872621056 to 14872698880 length -1
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 14872698880 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.openRange at 14872698880 length 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at 14872702976 length 8192 chunkOffset 14872698880 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: >Read: read=4096, err=<nil>
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: Read: len=16384, offset=0
2019/04/19 17:16:50 DEBUG : myimage.iso: ReadFileHandle.seek from 14872702976 to 0 (fs.RangeSeeker)
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 14872707072 to 0 length -1
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 0 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.openRange at 0 length 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: >Read: read=16384, err=<nil>
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: Read: len=32768, offset=16384
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: >Read: read=32768, err=<nil>
2019/04/19 17:16:50 DEBUG : &{myimage.iso (r)}: Read: len=4096, offset=14872702976
2019/04/19 17:16:50 DEBUG : myimage.iso: ReadFileHandle.seek from 49152 to 14872702976 (fs.RangeSeeker)
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 126976 to 14872702976 length -1
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 14872702976 chunkSize 134217728
2019/04/19 17:16:50 DEBUG : myimage.iso: ChunkedReader.openRange at 14872702976 length 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872707072 length 8192 chunkOffset 14872702976 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: >Read: read=4096, err=<nil>
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: Read: len=4096, offset=14872571904
2019/04/19 17:16:51 DEBUG : myimage.iso: ReadFileHandle.seek from 14872707072 to 14872571904 (fs.RangeSeeker)
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 14872707072 to 14872571904 length -1
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 14872571904 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.openRange at 14872571904 length 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872576000 length 8192 chunkOffset 14872571904 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: >Read: read=4096, err=<nil>
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: Read: len=4096, offset=14872674304
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872584192 length 16384 chunkOffset 14872571904 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872600576 length 32768 chunkOffset 14872571904 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872633344 length 65536 chunkOffset 14872571904 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872698880 length 131072 chunkOffset 14872571904 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ReadFileHandle.seek from 14872576000 to 14872674304 (fs.RangeSeeker)
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 14872707072 to 14872674304 length -1
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 14872674304 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.openRange at 14872674304 length 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872678400 length 8192 chunkOffset 14872674304 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872686592 length 16384 chunkOffset 14872674304 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: >Read: read=4096, err=<nil>
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872702976 length 32768 chunkOffset 14872674304 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: Read: len=4096, offset=14872576000
2019/04/19 17:16:51 DEBUG : myimage.iso: ReadFileHandle.seek from 14872678400 to 14872576000 (fs.RangeSeeker)
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 14872707072 to 14872576000 length -1
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 14872576000 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.openRange at 14872576000 length 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872580096 length 8192 chunkOffset 14872576000 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872588288 length 16384 chunkOffset 14872576000 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: >Read: read=4096, err=<nil>
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872604672 length 32768 chunkOffset 14872576000 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : &{myimage.iso (r)}: Read: len=4096, offset=14872502272
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at 14872637440 length 65536 chunkOffset 14872576000 chunkSize 134217728
2019/04/19 17:16:51 DEBUG : myimage.iso: ReadFileHandle.seek from 14872580096 to 14872502272 (fs.RangeSeeker)
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.RangeSeek from 14872702976 to 14872502272 length -1
2019/04/19 17:16:51 DEBUG : myimage.iso: ChunkedReader.Read at -1 length 4096 chunkOffset 14872502272 chunkSize 134217728
Here’s the head of the log from mounting off of s3fs:
FUSE library version: 2.9.4
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.26
flags=0x001ffffb
max_readahead=0x00020000
INIT: 7.19
flags=0x00000019
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 1, success, outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 16654
getattr /
unique: 2, success, outsize: 120
unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 16654
LOOKUP /Linux
getattr /Linux
NODEID: 2
unique: 3, success, outsize: 144
unique: 4, opcode: LOOKUP (1), nodeid: 2, insize: 57, pid: 16654
LOOKUP /Linux/myimage.iso
getattr /Linux/myimage.iso
NODEID: 3
unique: 4, success, outsize: 144
unique: 5, opcode: OPEN (14), nodeid: 3, insize: 48, pid: 16654
open flags: 0x8000 /Linux/myimage.iso
open[6] flags: 0x8000 /Linux/myimage.iso
unique: 5, success, outsize: 32
unique: 6, opcode: FLUSH (25), nodeid: 3, insize: 64, pid: 16654
unique: 7, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872608768 flags: 0x8000
flush[6]
read[6] 4096 bytes from 14872608768
unique: 7, success, outsize: 4112
unique: 8, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872698880 flags: 0x8000
unique: 6, success, outsize: 16
read[6] 4096 bytes from 14872698880
unique: 8, success, outsize: 4112
unique: 9, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 16384 bytes from 0 flags: 0x8000
read[6] 16384 bytes from 0
unique: 9, success, outsize: 16400
unique: 10, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 32768 bytes from 16384 flags: 0x8000
read[6] 32768 bytes from 16384
unique: 10, success, outsize: 32784
unique: 11, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872702976 flags: 0x8000
read[6] 4096 bytes from 14872702976
unique: 11, success, outsize: 4112
unique: 12, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872571904 flags: 0x8000
read[6] 4096 bytes from 14872571904
unique: 12, success, outsize: 4112
unique: 13, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872674304 flags: 0x8000
read[6] 4096 bytes from 14872674304
unique: 13, success, outsize: 4112
unique: 14, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872576000 flags: 0x8000
read[6] 4096 bytes from 14872576000
unique: 14, success, outsize: 4112
unique: 15, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872502272 flags: 0x8000
read[6] 4096 bytes from 14872502272
unique: 15, success, outsize: 4112
unique: 16, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872403968 flags: 0x8000
read[6] 4096 bytes from 14872403968
unique: 16, success, outsize: 4112
unique: 17, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872358912 flags: 0x8000
read[6] 4096 bytes from 14872358912
unique: 17, success, outsize: 4112
unique: 18, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872330240 flags: 0x8000
read[6] 4096 bytes from 14872330240
unique: 18, success, outsize: 4112
unique: 19, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872240128 flags: 0x8000
read[6] 4096 bytes from 14872240128
unique: 19, success, outsize: 4112
unique: 20, opcode: READ (15), nodeid: 3, insize: 80, pid: 16656
read[6] 4096 bytes from 14872207360 flags: 0x8000