Comments (5)
there are a couple issue in iavl to assist with this. Here is one pr that aims to increase the speed. #664.
This issue could be to how large your current state is? ill transfer this issue to iavl so it can be focused on where the actual problem may lie. Lots of the compacting is being cleaned up as we speak.
from iavl.
Our state-sync scripts run every Sunday, so this issue is rather timely. Nois testnet state-sync took a bit over an hour today. In contrast, Stargaze mainnet state-sync took about 10 minutes. I am not knowledgable enough to articulate the reasons behind it. As Simon mentioned, Evmos and Sei state-sync is also slow and at times unreliable.
from iavl.
Would it make sense to make the inventory of the number of application.db KV entries for all these networks and some other very busy networks to say if the rule stands or no?
from iavl.
Adding profiles:
cpu.pb.gz
mem.pb.gz
Binary can be built using:
https://github.com/noislabs/full-node/tree/main
One thing to mention is that stargaze still has fast node disabled by default (will be changed to enabled in our next upgrade).
Seems that fast node is contributing to more cpu cycles and garbage collection
from iavl.
with iavlv1 this should be significantly faster. Would you want to test with this version?
from iavl.
Related Issues (20)
- Missing bounds check in deltaEncode HOT 1
- Memory leak during State Sync HOT 4
- iavl export failed with "version does not exist" HOT 2
- Async Commit HOT 1
- nodeDb.DeleteVersionsFrom can leave mutex locked indefinitely hence a deadlock
- [Epic]: IAVL v2 implementation HOT 1
- Post-order snapshot HOT 4
- Tree diff (IAVL v1 design)
- Historical proofs & changelog replay
- Refactor the pruning logic in V1 HOT 1
- Add a metric to track state size HOT 3
- Why got error: orphan expires before it comes alive. 41 > 40. HOT 3
- [Question] About leaf and inner nodes and how they change
- Lazy Pruning HOT 3
- Change IAVL node.writeBytes to take in bytes.Buffer HOT 3
- meaningless cache adding in the pruning
- CacheMultiStoreWithVersion -> store.(*iavl.Store).GetImmutable(version) error: "version does not exist"
- PANIC: in node.go func (node *Node) String() string
- `UnsetCommitting` is not idemptont
- Root hash breaking change in v1.x.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iavl.