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

[Low Priority] Improve speed measurement #528

Open
Anachron opened this issue Jan 21, 2023 · 2 comments
Open

[Low Priority] Improve speed measurement #528

Anachron opened this issue Jan 21, 2023 · 2 comments

Comments

@Anachron
Copy link

Anachron commented Jan 21, 2023

I get ridiculous speed statements when I sync from time to time.

Today I got

sudo xbps-install -Su
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: 308KB [avg rate: -14GB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
x86_64-repodata: 13KB [avg rate: 211MB/s]

Edit: Both results are wrong, btw.

@fvalasiad
Copy link
Contributor

Well short syncs also give me crazy speed sometimes, just got 12GB/s after syncing. Didn't manage a negative value though.

I imagine though that having lengthier interactions will actually give more accurate results, so I struggle finding reason why anyone would care.

Might look at it for fun.

@Duncaen
Copy link
Member

Duncaen commented Apr 15, 2023

Yes there is no way to actually make this reliable for small downloads. Negative is a simple bug where incomplete downloads that are begin continued will be counted wrong iirc.

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

3 participants