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

More efficient rsync parameters for Archive #110

Open
Handri-Kosada opened this issue Apr 13, 2021 · 4 comments
Open

More efficient rsync parameters for Archive #110

Handri-Kosada opened this issue Apr 13, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@Handri-Kosada
Copy link

Handri-Kosada commented Apr 13, 2021

It seems this is way more efficient for Rsync large files parameters for Archive

rsync --bwlimit=80000 -av --partial --inplace --append --progress --remove-source-files /path/source/plots rsync://host:12000/sites/003/

Tested in my local.
source : https://fedoramagazine.org/copying-large-files-with-rsync-and-some-misconceptions/

@ericaltendorf
Copy link
Owner

ericaltendorf commented Apr 13, 2021 via email

@13thProgression
Copy link
Contributor

If this ticket evolves to allowing the user to specify their archive settings, please make sure that the interface allows for requesting multiple archive events at the same time in parallel to different targets. (Should be similar to how dst scheduling works, but with multiple remote targets or multiple drives on a single remote target.)

@graemes
Copy link
Contributor

graemes commented May 11, 2021

These settings work well for resyncing large files (such as VM images) but provide little/no benefit to our use case in terms of transfer speed over the current settings imo.
They also have the downside of making it appear to the harvester that the plot is being copied but is not available (the current setting rsync to a .plot file which is simply renamed once the transfer is complete and becomes visible to the harvester as it is now complete).
I do agree that abstracting out the archiving mechanism is a good thing though :-)

@altendky
Copy link
Collaborator

altendky commented Jun 7, 2021

Archiving has been significantly reworked and that has been merged to the development branch. https://github.com/ericaltendorf/plotman/wiki/Archiving links out to an updated version in a gist until it is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants