You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How can I build a non-debug library for benchmarks? #305
I want to try to build a non-debug version of rocksdb-cloud so I can run db_bench against it and use it when perf testing in another project. Are there any instructions on how to do this? I believe if I just run make all I get a debug version, which is going to be artificially slow. If I set DEBUG_LEVEL=0 then I'm getting lots of errors that I have to hack around related to TEST_ prefixed methods not being defined.
I believe @dhruba has done this in the past. But be aware that Rockset internally is not actively using db_bench. Most of our benchmarks are done against Rockset instead of rocksdb-cloud.
Activity
seckcoder commentedon Nov 30, 2023
yeah, it's described here: https://github.com/rockset/rocksdb-cloud/blob/112d771/Makefile#L40
rodesai commentedon Nov 30, 2023
Thanks! Also, do you guys have a tool for benchmarking rocksdb-cloud? I don't think db_bench is meant for rocksdb-cloud, as it opens a regular DB.
seckcoder commentedon Nov 30, 2023
db_benchin rocksdb-cloud repo has been updated to work with aws env: https://github.com/rockset/rocksdb-cloud/blob/2ad9544/tools/db_bench_tool.cc#L1704You need to compile with USE_AWS=1. Also, when running db_bench, you need to pass related access credentials and set
env_uritos3://(e.g, https://github.com/rockset/rocksdb-cloud/blob/master/cloud/benchmarks/bulkload_seq.sh).I believe @dhruba has done this in the past. But be aware that Rockset internally is not actively using db_bench. Most of our benchmarks are done against Rockset instead of rocksdb-cloud.