Source code for Can ZNS SSDs be Better Storage Devices for Persistent Cache? in HotStorage '24.
Our Code is based on CacheLib. You can follow the steps in https://cachelib.org/docs/installation.
# install libzbd and libexplain
git clone https://github.com/asu-idi/ZNS-Cache
cd ZNS-Cache
./contrib/build.sh -j -T
# The resulting library and executables:
./opt/cachelib/bin/cachebench --help
The configuration files can be found in ./hotstorage/configs
.
Caution
The device path must be updated before execution.
./opt/cachelib/bin/cachebench \
--json_test_config ./hotstorage/configs/zone-cache-bc.json \
--logging=INFO