ipfs / ipfs/kubo

Incorrect stats bandwidth via cli

Open
#8,102 2 comments 1 reaction 0 assignees View on GitHub
kind/bug need/triage
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### Version information:
$ ipfs version --all
go-ipfs version: 0.8.0
Repo version: 11
System version: arm64/linux
Golang version: go1.15.8

#### Description:
Bandwidth usage reporting extremely low on ```ipfs stats bw```
Look at this screenshot comparison...

![Screenshot from 2021-05-01 08-22-35](https://user-images.githubusercontent.com/100110/116783858-b4133880-aa56-11eb-9ef8-6517b37c341c.png)

* ipfs stats bw reports < 100 kB/s
* ipfs webui (rest API) reports 400 kB/s consistently.

iftop on the system reports ~500-600 kB/s. Removing overhead from the equation... the numbers from the API (and the webui) feel accurate, while the numbers from ```ipfs stats bw``` feel painfully low.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.