rockset/rocksdb-cloud

How can I build a non-debug library for benchmarks?

Opened this issue · 3 comments

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.

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.

db_bench in rocksdb-cloud repo has been updated to work with aws env: https://github.com/rockset/rocksdb-cloud/blob/2ad9544/tools/db_bench_tool.cc#L1704

You need to compile with USE_AWS=1. Also, when running db_bench, you need to pass related access credentials and set env_uri to s3:// (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.