leveldb性能测试

测试环境

CPU: 48 * Intel(R) Xeon(R) CPU E5-2678 v3 @ 2.50GHz

memory:64G

开始测试

A、一百万条记录测试

执行./db_bench --num=1000000 --write_buffer_size=$((256*1024*1024))

image-20201206152943040

image-20201206153009165

B、一千万条记录测试

执行./db_bench --num=10000000 --write_buffer_size=$((256*1024*1024)) memtable的大小

image-20201206154938272

image-20201206154950809