Skip to content

basicthinker/YCSB-C

Folders and files

NameName
Last commit message
Last commit date
Mar 4, 2021
May 10, 2016
Jan 21, 2020
Sep 2, 2016
May 8, 2016
Sep 2, 2016
Dec 7, 2014
May 8, 2016
Sep 2, 2016
Jan 15, 2015
Jan 15, 2015
May 10, 2016
May 10, 2016

Repository files navigation

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.