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

benchmark: increase rocksdb block cache capacity #839

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

marvin-j97
Copy link
Contributor

Compared to redb (and sled), RocksDB gets way too little cache capacity (32MB), which negatively impacts its read performance. Setting it to 4 GB (same as redb) gives it a 1.5x read performance boost on my system.

I haven't updated the readme, because it's system dependent, so you would need to rerun it on yours.

@cberner cberner merged commit 5b1d50c into cberner:master Aug 4, 2024
3 checks passed
@cberner
Copy link
Owner

cberner commented Aug 4, 2024

Merged. Thanks!

@marvin-j97 marvin-j97 deleted the bench/rocksdb-cache branch August 4, 2024 18:00
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

Successfully merging this pull request may close these issues.

2 participants