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

Possible improvements for casync extract statistics #180

Open
elboulangero opened this issue Feb 6, 2019 · 2 comments
Open

Possible improvements for casync extract statistics #180

elboulangero opened this issue Feb 6, 2019 · 2 comments
Labels

Comments

@elboulangero
Copy link
Contributor

While playing with casync, I needed additional statistics for the extract verb. I patched my way to the following output (differences introduced by my patches are in bold).

casync extract --seed-output=no --seed /dev/sda5 --store ${URL:?}/${IMAGE:?}.castr ${URL:?}/${IMAGE:?}.caibx /dev/sda6
Zero bytes written as sparse files: 0B
Bytes cloned through reflinks: 0B
Chunk requests fulfilled from local store: 0 (0%)
Bytes used from local store: 0B (0%)
Chunk requests fulfilled from local seed: 53030 (63%)
Bytes used from local seed: 3.5G (58%)
Chunk requests fulfilled from remote store: 30720 (36%)
Bytes used from remote store: 2.4G (41%)
Bytes downloaded from remote store: 833.0M
Time spent seeding: 86 secs (13%)
Time spent extracting: 554 secs (86%)
Total time spent for operation: 640 secs (00:10:40)

Are you interested in any of these changes? If so I can rework and share this patcheset for review. Thx.

@elfgoh
Copy link

elfgoh commented Feb 6, 2019

I am interested!

@poettering
Copy link
Member

@elboulangero yes, such a patch would definitely be welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants