Getting Lower Performance Benchmarks

27 views
Skip to first unread message

Rick

unread,
Dec 2, 2024, 9:28:03 PM12/2/24
to rocksdb
When I run the readrandom benchmark on a m5d.2xlarge on the /dev/nvme1n1 drive, I only get 16,763 ops/s. I'm using v9.7.4. This is much different than the results from here: https://github.com/facebook/rocksdb/wiki/performance-benchmarks (189,236 ops/s). Here are the commands I ran:

CPATH=/usr/local/include LIBRARY_PATH=/usr/local/lib DB_DIR=/mnt/ephemeral0/dbdir WAL_DIR=/mnt/ephemeral0/waldir NUM_KEYS=900000000 CACHE_SIZE=6442450944 DURATION=300 tools/benchmark.sh bulkload

CPATH=/usr/local/include LIBRARY_PATH=/usr/local/lib DB_DIR=/mnt/ephemeral0/dbdir WAL_DIR=/mnt/ephemeral0/waldir NUM_KEYS=900000000 CACHE_SIZE=6442450944 DURATION=5400 tools/benchmark.sh readrandom --use_direct_io_for_flush_and_compaction --use_direct_reads

The only difference I'm aware of is that the version in the wiki was 7.2.2. Has the performance gone down that much since then?

Ted Mostly

unread,
Dec 4, 2024, 3:38:49 AM12/4/24
to rocksdb
check fio results. maybe poor iops disk.
Reply all
Reply to author
Forward
0 new messages