mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
7fdd5f5b33
Summary: Use non mmapd files for Write-Ahead log. Earlier use of MMaped files. made the log iterator read ahead and miss records. Now the reader and writer will point to the same physical location. There is no perf regression : ./db_bench --benchmarks=fillseq --db=/dev/shm/mmap_test --num=$(million 20) --use_existing_db=0 --threads=2 with This diff : fillseq : 10.756 micros/op 185281 ops/sec; 20.5 MB/s without this dif : fillseq : 11.085 micros/op 179676 ops/sec; 19.9 MB/s Test Plan: unit test included Reviewers: dhruba, heyongqiang Reviewed By: heyongqiang CC: leveldb Differential Revision: https://reviews.facebook.net/D9741 |
||
---|---|---|
.. | ||
arena.cc | ||
arena.h | ||
arena_test.cc | ||
auto_roll_logger.cc | ||
auto_roll_logger.h | ||
auto_roll_logger_test.cc | ||
bloom.cc | ||
bloom_test.cc | ||
build_version.h | ||
cache.cc | ||
cache_test.cc | ||
coding.cc | ||
coding.h | ||
coding_test.cc | ||
comparator.cc | ||
crc32c.cc | ||
crc32c.h | ||
crc32c_test.cc | ||
env.cc | ||
env_hdfs.cc | ||
env_posix.cc | ||
env_test.cc | ||
filelock_test.cc | ||
filter_policy.cc | ||
hash.cc | ||
hash.h | ||
histogram.cc | ||
histogram.h | ||
histogram_test.cc | ||
ldb_cmd.cc | ||
ldb_cmd.h | ||
ldb_cmd_execute_result.h | ||
logging.cc | ||
logging.h | ||
murmurhash.cc | ||
murmurhash.h | ||
mutexlock.h | ||
options.cc | ||
posix_logger.h | ||
random.h | ||
stats_logger.h | ||
status.cc | ||
stop_watch.h | ||
storage_options.h | ||
testharness.cc | ||
testharness.h | ||
testutil.cc | ||
testutil.h |