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

Final MiB/s transfer speed and file/s transfer rate inaccurate if backup is a continuation #8

Open
davedavemckay opened this issue Mar 26, 2024 · 0 comments
Assignees

Comments

@davedavemckay
Copy link
Collaborator

Line 393 in lsst-backup.py:

print(f'Total: {len(log_df)} files; {(final_size):.2f} MiB; {(final_size/final_time_seconds):.2f} MiB/s including setup time; {(final_time_seconds/len(log_df)):.2f} s/file including setup time')

reports:

Total: 488764 files; 56396520.10 MiB; 720.70 MiB/s including setup time; 0.16 s/file including setup time

when the true average speed is ~98 MiB/s and true file transfer rate is 1.2 s/file.
This is due to the upload being conducted over multiple runs and this stat being generated assuming "number_of_files / final_runtime".

@davedavemckay davedavemckay self-assigned this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant