问题描述
- leveldb测试数据计算问题
- LevelDB: version 1.15
Date: Tue Nov 24 15:52:45 2015
CPU: 24 * Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
CPUCache: 15360 KB
Keys: 16 bytes each
Values: 200 bytes each (100 bytes after compression)
Entries: 2000000
RawSize: 412.0 MB (estimated)
FileSize: 221.3 MB (estimated)WARNING: Snappy compression is not enabled
fillseq : 6.321 micros/op; 32.6 MB/s
fillsync : 1020.254 micros/op; 0.2 MB/s (2000 ops)
fillrandom : 14.049 micros/op; 14.7 MB/soverwrite : 17.162 micros/op; 12.0 MB/s
readrandom : 7.081 micros/op; (2000000 of 2000000 found)
readrandom : 5.394 micros/op; (2000000 of 2000000 found)
readseq : 0.397 micros/op; 519.0 MB/sreadreverse : 0.692 micros/op; 297.5 MB/s
compact : 3563274.000 micros/op;
readrandom : 3.333 micros/op; (2000000 of 2000000 found)
readseq : 0.259 micros/op; 794.8 MB/sreadreverse : 0.571 micros/op; 361.0 MB/s
fill100K : 1928.773 micros/op; 49.5 MB/s (2000 ops)
crc32c : 6.294 micros/op; 620.6 MB/s (4K per op)
snappycomp : 7364.000 micros/op; (snappy failure)
snappyuncomp : 5818.000 micros/op; (snappy failure)
acquireload : 0.529 micros/op; (each op is 1000 loads)这里的随机写速度怎么计算,是不是用fillrandom的14.7MB除以216bytes(key+value)读速度是不是也是相同的方法。
谢谢大神解答。