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

Performance: Blockstore #4274

Open
bw-solana opened this issue Jan 3, 2025 · 0 comments
Open

Performance: Blockstore #4274

bw-solana opened this issue Jan 3, 2025 · 0 comments
Assignees

Comments

@bw-solana
Copy link

bw-solana commented Jan 3, 2025

Some initial (raw) commentary on Blockstore perf

solWinInsert spends ~10% of the time deserializing bincode columns from rocks.

What's in there? why is it bincode? If it must be bincode, we should write hand crafted parsers like the one Alessandro wrote for VoteState which is ~3000x faster than the bincode crate.

~5% of shred recv is actually writing shreds inside rocksdb, half of which is pagefaulting the memtable (we probably have configured the memtable to be too small, so it's getting grown). The other half is performing write syscalls to the filesystem. We probably need to configure much larger buffers.

Completed Items

Inflight Items

Potential Future Work

@bw-solana bw-solana moved this to In progress in Agave Performance Jan 3, 2025
@bw-solana bw-solana changed the title Performance: RocksDB Performance: Blockstore Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

3 participants