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

Optimize RocksDB with Profile-Guided Optimization (PGO) #339

Open
zamazan4ik opened this issue Jul 5, 2023 · 1 comment
Open

Optimize RocksDB with Profile-Guided Optimization (PGO) #339

zamazan4ik opened this issue Jul 5, 2023 · 1 comment

Comments

@zamazan4ik
Copy link

Hi!

Recently I started RocksDB optimization process with PGO and have interesting results: tikv/tikv#13990 (comment) I think it would be interesting to consider building RocksDB with PGO as a TiKV dependency.

Further discussions about PGO and RocksDB are here (see the mentioned Discord chat in the discussion - all activity is in Discord): https://groups.google.com/g/rocksdb/c/j9iMFskUnpA

@tabokie
Copy link
Member

tabokie commented Jul 6, 2023

Looks promising, if you are interested in running it against TiKV, the build script is here:
https://github.com/tikv/rust-rocksdb/blob/0a57dd2e2c3d1be9679a9ad6a3ed70dcb4b87eff/librocksdb_sys/build.rs#L128

We can add a feature flag to optionally enable it.

Unfortunately our team doesn't have the bandwidth to test it right now. Will update here if the situation changes.

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

No branches or pull requests

2 participants