Skip to content

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

Open

Description

@rodesai

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.

Activity

  1. seckcoder commented on Nov 30, 2023

    @seckcoder
    Collaborator
  2. rodesai commented on Nov 30, 2023

    @rodesai
    Author

    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.

  3. seckcoder commented on Nov 30, 2023

    @seckcoder
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions