Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: improve read / write performance #482

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 6, 2024

  1. max-map-size: add command line option

    On fast storage, reading with a specific block size can drastically
    improve fetch performance. This option acts as length mmap argument.
    
    On scale-out or flash disk storage, this value can be set higher than
    1MB.
    
    Tests on my side resulted on rsync whole-file, 5x time faster with the
    follwowing specs:
      - max-map-size 4MB
      - network 10Gb link
      - hpnssh / 4800 MTU
    aoblet authored and tridge committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    d08d796 View commit details
    Browse the repository at this point in the history
  2. write-size: add command line option

    This option forces the buffer size when writing a file on the receiver
    side.
    aoblet authored and tridge committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    d980228 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f0fcd9 View commit details
    Browse the repository at this point in the history