Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 890 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 890 Bytes

YCSB-C

Yahoo! Cloud Serving Benchmark in C++, a C++ version of YCSB (https://github.com/brianfrankcooper/YCSB/wiki)

Quick Start

To build YCSB-C on Ubuntu, for example:

$ sudo apt-get install libtbb-dev
$ make

As the driver for Redis is linked by default, change the runtime library path to include the hiredis library by:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Run Workload A with a TBB-based implementation of the database, for example:

./ycsbc -db tbb_rand -threads 4 -P workloads/workloada.spec

Also reference run.sh and run_redis.sh for the command line. See help by invoking ./ycsbc without any arguments.

Note that we do not have load and run commands as the original YCSB. Specify how many records to load by the recordcount property. Reference properties files in the workloads dir.