osmosis icon indicating copy to clipboard operation
osmosis copied to clipboard

Blocks per second

Open faddat opened this issue 4 years ago • 1 comments

Osmo and Gaia are fat, and likely to get fatter fast.

One thing that's very noticeable is as chain state grows, sink speed goes up disproportionately. I propose to change the current block log flying past the screen to an error's only log as well as an indicator showing how many blocks per second are being synced which is refreshed every one or two seconds.

This is part of #413 -- the idea is to first, be able to measure the result of changes with ease instead of the current state of the art:

erm, it took x hours y minutes to get synced, felt faster than yesterday.

faddat avatar Aug 22 '21 15:08 faddat

I think I know how to do this now

faddat avatar Sep 19 '22 08:09 faddat

To make log output more useful, I've been working towards getting this implemented in tendermint itself:

https://github.com/tendermint/tendermint/pull/9764

@czarcas7ic & @vuong177 & @blockpane

-- curious how you'd feel about a default tendermint log output like:

Block Height: 43545   | Inbound Peers: 200  | outbound peers: 200 | blocks per second: bps

faddat avatar Nov 26 '22 01:11 faddat

When I first read this I thought you meant BPS of the live chain itself, not the syncing BPS. Tbh anything is better than what it is now, but yeah I think this would be nice to have (with priority on noise reduction, but things like sync bps speed would be cool!)

czarcas7ic avatar Nov 26 '22 01:11 czarcas7ic

When I made the issue, I didn't know how to solve the issue :)

But, seems getting somewhere now.

faddat avatar Nov 26 '22 01:11 faddat

Closing due to us tracking this goal separately! Were actively workign towards speeding this up :)

ValarDragon avatar Feb 19 '24 17:02 ValarDragon