Skip to content

Instantly share code, notes, and snippets.

@jay-zhuang
Created August 2, 2022 05:03
Show Gist options
  • Save jay-zhuang/5ac0628db8fc9cbcb499e056d4cb5918 to your computer and use it in GitHub Desktop.
Save jay-zhuang/5ac0628db8fc9cbcb499e056d4cb5918 to your computer and use it in GitHub Desktop.
$ ~/ws/tmp% TEST_TMPDIR=/tmp/dbbench4 ./db_bench_main --benchmarks=filluniquerandom,readrandom -compression_type=none -max_background_jobs=12 -num=10000000
Set seed to 1659416156463325 because --seed was 0
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
Integrated BlobDB: blob cache disabled
RocksDB: version 7.6.0
Date: Tue Aug 2 04:55:56 2022
CPU: 96 * Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
CPUCache: 36608 KB
Keys: 16 bytes each (+ 0 bytes user-defined timestamp)
Values: 100 bytes each (50 bytes after compression)
Entries: 10000000
Prefix: 0 bytes
Keys per prefix: 0
RawSize: 1106.3 MB (estimated)
FileSize: 629.4 MB (estimated)
Write rate: 0 bytes/second
Read rate: 0 ops/second
Compression: NoCompression
Compression sampling rate: 0
Memtablerep: SkipListFactory
Perf Level: 1
------------------------------------------------
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
Integrated BlobDB: blob cache disabled
DB path: [/tmp/dbbench4/dbbench]
filluniquerandom : 2.676 micros/op 373706 ops/sec 26.759 seconds 10000000 operations; 41.3 MB/s
DB path: [/tmp/dbbench4/dbbench]
readrandom : 8.528 micros/op 117265 ops/sec 85.277 seconds 10000000 operations; 13.0 MB/s (10000000 of 10000000 found)
$ ~/ws/tmp% TEST_TMPDIR=/tmp/dbbench5 ./db_bench_new --benchmarks=filluniquerandom,readrandom -compression_type=none -max_background_jobs=12 -num=10000000
Set seed to 1659416284759246 because --seed was 0
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
Integrated BlobDB: blob cache disabled
RocksDB: version 7.6.0
Date: Tue Aug 2 04:58:04 2022
CPU: 96 * Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
CPUCache: 36608 KB
Keys: 16 bytes each (+ 0 bytes user-defined timestamp)
Values: 100 bytes each (50 bytes after compression)
Entries: 10000000
Prefix: 0 bytes
Keys per prefix: 0
RawSize: 1106.3 MB (estimated)
FileSize: 629.4 MB (estimated)
Write rate: 0 bytes/second
Read rate: 0 ops/second
Compression: NoCompression
Compression sampling rate: 0
Memtablerep: SkipListFactory
Perf Level: 1
------------------------------------------------
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
Integrated BlobDB: blob cache disabled
DB path: [/tmp/dbbench5/dbbench]
filluniquerandom : 2.771 micros/op 360895 ops/sec 27.709 seconds 10000000 operations; 39.9 MB/s
DB path: [/tmp/dbbench5/dbbench]
readrandom : 8.263 micros/op 121015 ops/sec 82.634 seconds 10000000 operations; 13.4 MB/s (10000000 of 10000000 found)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment