Closed qihui81 closed 2 years ago
How do you do benchmarks? What's you RocksDB options? (You may find it in RocksDB logs)
NUM_KEYS=900000000 CACHE_SIZE=6442450944 benchmark.sh bulkload
NUM_KEYS=900000000 CACHE_SIZE=6442450944 DURATION=300 benchmark.sh readrandom -use_direct_io_for_flush_and_compaction --use_direct_reads
--use_direct_io_for_flush_and_compaction --use_direct_reads
Would you please check if this really takes effect? Extra parameters are not supported by benchmark.sh
until this PR gets merged.
You can also paste your RocksDB log here, where we can find all options inside.
@qihui81 : It does not look like you are using zenfs at all, are you actually testing with a zoned block device?
@qihui81 closing this, please file a new issue if you see any read performance issues with the latest zenfs master.
I compared old zenfs (old version before plugin, within rocksdb) and plugin zenfs (current version) with benchmark.sh, I found the old zenfs read performance is much higher than plugin zenfs.
OS: CentOS 7 Kernel: 5.14.14 random read
ref: https://rocksdb.org.cn/doc/Performance-Benchmarks.html