- gcc: 7.5.0
- cmake: 3.10.2
- C++ boost library
mkdir build
cd build
cmake ..
make
sh mount.sh
sudo dd if=/dev/zero of=/home/bowen/mnt/pmem1/btree bs=1048576 count=num-MB
-b: Benchmark (0:Search 1:Insert 2:Update 3:Delete 4:YCSB(Update) 5:YCSB(Upsert), Default: 1)
-n: Threads (Default: 1)
-w: Key access distribution (0: Random, 1: Zipfian, Default: 0)
-S: Skewness (Default: 0.99)
-r: Read ratio (Default: 50)
-d: Run time (s) (Default: 1)
./nbtree -b ${benchmark}
./nbtree -b ${benchmark} -n ${num_thread}
./nbtree -b ${benchmark} -n ${num_thread} -w 1 -S ${skewness} -r ${read_ratio}