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/s

overwrite : 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/s

readreverse : 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/s

readreverse : 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),读速度是不是也是相同的方法。
谢谢大神解答。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问