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

RClone options tuning #6858

Closed
Tracked by #1327
sanderegg opened this issue Nov 28, 2024 · 3 comments · Fixed by #6885
Closed
Tracked by #1327

RClone options tuning #6858

sanderegg opened this issue Nov 28, 2024 · 3 comments · Fixed by #6885
Assignees
Labels
a:dynamic-sidecar dynamic-sidecar service
Milestone

Comments

@sanderegg
Copy link
Member

sanderegg commented Nov 28, 2024

Rclone currently uses the following parameters:

rclone  --transfers 5 --use-mmap --buffer-size 0M --use-json-log --stats 200ms --verbose sync mys3:project/node/workspace/ test/ --links

A few things here are questionable:

  • --buffer-size 0M this one is something that should not be, the default is 16M and is almost never hit. it is a performance hit.
  • use-mmap this one seems pretty useless and even maybe problematic
  • --transfers 5 if we have many small files, this is very limiting. Nevertheless this is probably also directly linked to the amount of models

We have some examples from TN where the dataset has >300k files and total size >170GiB.

tested

rclone --transfers 32 with TN dataset brought the download time from 1 hour 30 to 15 minutes!

  • need to check if this could be set for normal operation
@sanderegg sanderegg transferred this issue from ITISFoundation/osparc-issues Nov 28, 2024
@sanderegg sanderegg changed the title RClone options tuning [ANE] RClone options tuning Nov 28, 2024
@sanderegg sanderegg added the a:dynamic-sidecar dynamic-sidecar service label Nov 28, 2024
@sanderegg sanderegg added this to the Event Horizon milestone Nov 28, 2024
@GitHK
Copy link
Contributor

GitHK commented Dec 2, 2024

To change --transfers R_CLONE_OPTION_TRANSFERS=5 is already present on all deployments and can be used to change the number of parallel downloads.

@GitHK
Copy link
Contributor

GitHK commented Dec 2, 2024

To change --buffer-size R_CLONE_OPTION_BUFFER_SIZE=0M is already present on all deployments.

@GitHK
Copy link
Contributor

GitHK commented Jan 9, 2025

Summary for Event Horizon sprint

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:dynamic-sidecar dynamic-sidecar service
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants