Skip to content

Instantly share code, notes, and snippets.

@hyc
Last active August 29, 2015 14:06
Show Gist options
  • Save hyc/e6ebf55bfa5cb54095cc to your computer and use it in GitHub Desktop.
Save hyc/e6ebf55bfa5cb54095cc to your computer and use it in GitHub Desktop.
VL32 mode
violino:/home/software/leveldb> ./db_bench_mdb.vl32
LMDB: version LMDB 0.9.14: (September 15, 2014)
Date: Thu Sep 18 20:52:49 2014
CPU: 4 * Intel(R) Core(TM)2 Extreme CPU Q9300 @ 2.53GHz
CPUCache: 6144 KB
Keys: 16 bytes each
Values: 100 bytes each (50 bytes after compression)
Entries: 1000000
RawSize: 110.6 MB (estimated)
FileSize: 62.9 MB (estimated)
------------------------------------------------
fillrandsync : 36.309 micros/op 27541 ops/sec; 3.0 MB/s (1000 ops)
228 /tmp/leveldbtest-1000/dbbench_mdb-1
228 /tmp/leveldbtest-1000
fillrandom : 32.708 micros/op 30573 ops/sec; 3.4 MB/s
116580 /tmp/leveldbtest-1000/dbbench_mdb-2
116580 /tmp/leveldbtest-1000
fillrandbatch : 13.022 micros/op 76794 ops/sec; 8.5 MB/s
126408 /tmp/leveldbtest-1000/dbbench_mdb-3
126408 /tmp/leveldbtest-1000
fillseqsync : 33.840 micros/op 29550 ops/sec; 3.3 MB/s (1000 ops)
172 /tmp/leveldbtest-1000/dbbench_mdb-4
172 /tmp/leveldbtest-1000
fillseq : 29.054 micros/op 34418 ops/sec; 3.8 MB/s
125872 /tmp/leveldbtest-1000/dbbench_mdb-5
125872 /tmp/leveldbtest-1000
fillseqbatch : 0.453 micros/op 2205718 ops/sec; 244.0 MB/s
125872 /tmp/leveldbtest-1000/dbbench_mdb-6
125872 /tmp/leveldbtest-1000
overwrite : 36.370 micros/op 27495 ops/sec; 3.0 MB/s
125872 /tmp/leveldbtest-1000/dbbench_mdb-6
125872 /tmp/leveldbtest-1000
readrandom : 16.862 micros/op 59306 ops/sec; (1000000 of 1000000 found)
readseq : 0.195 micros/op 5126154 ops/sec; 567.1 MB/s
readreverse : 0.190 micros/op 5271092 ops/sec; 583.1 MB/s
Command being timed: "./db_bench_mdb.vl32"
User time (seconds): 61.47
System time (seconds): 69.91
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 2:11.48
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 16260
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 18847792
Voluntary context switches: 111
Involuntary context switches: 13377
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
violino:/home/software/leveldb> ./db_bench_mdb.64
LMDB: version LMDB 0.9.14: (September 15, 2014)
Date: Thu Sep 18 20:55:09 2014
CPU: 4 * Intel(R) Core(TM)2 Extreme CPU Q9300 @ 2.53GHz
CPUCache: 6144 KB
Keys: 16 bytes each
Values: 100 bytes each (50 bytes after compression)
Entries: 1000000
RawSize: 110.6 MB (estimated)
FileSize: 62.9 MB (estimated)
------------------------------------------------
fillrandsync : 14.935 micros/op 66956 ops/sec; 7.4 MB/s (1000 ops)
228 /tmp/leveldbtest-1000/dbbench_mdb-1
228 /tmp/leveldbtest-1000
fillrandom : 4.313 micros/op 231832 ops/sec; 25.6 MB/s
116580 /tmp/leveldbtest-1000/dbbench_mdb-2
116580 /tmp/leveldbtest-1000
fillrandbatch : 3.309 micros/op 302238 ops/sec; 33.4 MB/s
126408 /tmp/leveldbtest-1000/dbbench_mdb-3
126408 /tmp/leveldbtest-1000
fillseqsync : 15.226 micros/op 65677 ops/sec; 7.3 MB/s (1000 ops)
172 /tmp/leveldbtest-1000/dbbench_mdb-4
172 /tmp/leveldbtest-1000
fillseq : 2.270 micros/op 440556 ops/sec; 48.7 MB/s
125872 /tmp/leveldbtest-1000/dbbench_mdb-5
125872 /tmp/leveldbtest-1000
fillseqbatch : 0.461 micros/op 2169988 ops/sec; 240.1 MB/s
125872 /tmp/leveldbtest-1000/dbbench_mdb-6
125872 /tmp/leveldbtest-1000
overwrite : 4.863 micros/op 205618 ops/sec; 22.7 MB/s
125872 /tmp/leveldbtest-1000/dbbench_mdb-6
125872 /tmp/leveldbtest-1000
readrandom : 1.268 micros/op 788652 ops/sec; (1000000 of 1000000 found)
readseq : 0.056 micros/op 17811025 ops/sec; 1970.4 MB/s
readreverse : 0.056 micros/op 17904782 ops/sec; 1980.7 MB/s
Command being timed: "./db_bench_mdb.64"
User time (seconds): 15.90
System time (seconds): 0.63
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:16.58
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 135708
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 135427
Voluntary context switches: 110
Involuntary context switches: 3073
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
violino:/home/software/leveldb> /usr/bin/time -v ./db_bench_tdb
TDB: version 1.3.1
Date: Thu Sep 18 21:14:35 2014
CPU: 4 * Intel(R) Core(TM)2 Extreme CPU Q9300 @ 2.53GHz
CPUCache: 6144 KB
Keys: 16 bytes each
Values: 100 bytes each (50 bytes after compression)
Entries: 1000000
RawSize: 110.6 MB (estimated)
FileSize: 62.9 MB (estimated)
------------------------------------------------
fillrandsync : 272.274 micros/op 3672 ops/sec; 0.4 MB/s (1000 ops)
2120 /tmp/leveldbtest-1000/dbbench_tdb
2120 /tmp/leveldbtest-1000
fillrandom : 320.441 micros/op 3120 ops/sec; 0.3 MB/s
118116 /tmp/leveldbtest-1000/dbbench_tdb
118116 /tmp/leveldbtest-1000
fillrandbatch : 15.479 micros/op 64604 ops/sec; 7.1 MB/s
134444 /tmp/leveldbtest-1000/dbbench_tdb
134444 /tmp/leveldbtest-1000
fillseqsync : 148.588 micros/op 6730 ops/sec; 0.7 MB/s (1000 ops)
2120 /tmp/leveldbtest-1000/dbbench_tdb
2120 /tmp/leveldbtest-1000
fillseq : 459.298 micros/op 2177 ops/sec; 0.2 MB/s
190240 /tmp/leveldbtest-1000/dbbench_tdb
190240 /tmp/leveldbtest-1000
fillseqbatch : 11.885 micros/op 84136 ops/sec; 9.3 MB/s
178956 /tmp/leveldbtest-1000/dbbench_tdb
178956 /tmp/leveldbtest-1000
overwrite : 377.210 micros/op 2651 ops/sec; 0.3 MB/s
178956 /tmp/leveldbtest-1000/dbbench_tdb
178956 /tmp/leveldbtest-1000
readrandom : 6.976 micros/op 143347 ops/sec; (1000000 of 1000000 found)
readseq : 2.143 micros/op 466709 ops/sec; 51.6 MB/s
Command being timed: "./db_bench_tdb"
User time (seconds): 665.04
System time (seconds): 527.34
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 19:53.98
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 767128
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 135879039
Voluntary context switches: 113
Involuntary context switches: 160391
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment