ajkr / YCSB-C

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Apache License 2.0


Languages

Language:C 68.0%Language:C++ 27.0%Language:Makefile 2.9%Language:Ruby 1.3%Language:Python 0.6%Language:Shell 0.3%