-
Download YCSB
curl -O --location https://github.com/brianfrankcooper/YCSB/releases/download/0.11.0/ycsb-0.11.0.tar.gz tar xfvz ycsb-0.11.0.tar.gz mv ycsb-0.11.0 YCSB
-
Create Workload Spec
The default workload a-f are in ./workload_spec
You can of course generate your own spec and put it in this folder.
-
Modify workload_config.inp
1st arg: workload spec file name 2nd arg: key type (randint = random integer; monoint = monotonically increasing integer; email = email keys with host name reversed)
-
Generate
make generate_workload
The generated workload files will be in ./workloads
-
NOTE: To generate email-key workloads, you need an email list (list.txt)