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

Testing compression bandwidth savings #14

Open
adlrocha opened this issue Oct 23, 2020 · 1 comment
Open

Testing compression bandwidth savings #14

adlrocha opened this issue Oct 23, 2020 · 1 comment

Comments

@adlrocha
Copy link
Contributor

Be careful when testing the bandwidth savings of using compression. The testbed currently tracks the bandwidth usage through the IPFS node Reporter, but the bandwidth counter of the Reporter tracks the bandiwdth use at a stream level. In our current stack, compression comes after the stream muxer, so this metric would account for protocol bandwidth use accurately, but it is not useful to track total bandwidth use.

https://github.com/adlrocha/beyond-bitswap/blob/feat/compression/testbed/utils/ipfs.go#L606

Solving this issue depends on the following one from libp2p: libp2p/go-libp2p#1008

In the meantime you can use tools such as https://github.com/raboof/nethogs to measure bandwidth savings.

@adlrocha
Copy link
Contributor Author

adlrocha commented Nov 5, 2020

Check: #16

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