Skip to content

liangjk/YCSB-C

 
 

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 63.9%
  • C++ 29.5%
  • Makefile 2.8%
  • Ruby 2.4%
  • Other 1.4%