Skip to content

Poor read performance with network backend #92

Closed
@j-vizcaino

Description

@j-vizcaino

Use case

  • /tmp/encrypted is an Amazon Cloud Drive folder, mounted read-only using rclone
  • /tmp/clear is the gocryptfs deciphered version of the above.

Copying a 300MB file (ciphered) from /tmp/encrypted, I get around 5-6MBps, which is OK, considering my bandwidth is 10MBps.
Copying the same file from /tmp/clear yields extremely poor speeds (from 100KBps to 1MBps).
Speed is not limited by the CPU.
Tracing read requests in rclone shows read sizes from 4KB to 128KB occuring at low frequency (thus low througput)

Any advice would be greatly appreciated.

Environment

  • Debian Stretch, x86_64
  • gocryptfs 1.2.1
  • Ciphered volume has the following features:
    • version: 2
    • flags: GCMIV128, DirIV, EMENames, LongNames, AESSIV
  • rclone 1.35, mount max-read-ahead set to 16MB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions