Skip to content

basicthinker/YCSB-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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