rocksdb/util
Abhishek Kona 7fdd5f5b33 Use non-mmapd files for Write-Ahead Files
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
2013-03-28 13:13:35 -07:00
..
arena.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
arena.h
arena_test.cc
auto_roll_logger.cc Allow the logs to be purged by TTL. 2013-02-04 19:42:40 -08:00
auto_roll_logger.h Allow the logs to be purged by TTL. 2013-02-04 19:42:40 -08:00
auto_roll_logger_test.cc Fix valgrind errors in rocksdb tests: auto_roll_logger_test, reduce_levels_test 2013-03-12 16:03:16 -07:00
bloom.cc Fix all the lint errors. 2012-11-28 17:18:41 -08:00
bloom_test.cc
build_version.h Stop continually re-creating build_version.c 2013-01-24 17:51:39 -08:00
cache.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
cache_test.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
coding.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
coding.h Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
coding_test.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
comparator.cc
crc32c.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
crc32c.h
crc32c_test.cc
env.cc Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00
env_hdfs.cc Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00
env_posix.cc Initialize variable in constructor for PosixEnv::checkedDiskForMmap_ 2013-03-21 11:26:50 -07:00
env_test.cc Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00
filelock_test.cc
filter_policy.cc
hash.cc
hash.h
histogram.cc Fixed sign-comparison in rocksdb code-base and fixed Makefile 2013-03-19 14:35:23 -07:00
histogram.h Introduce histogram in statistics.h 2013-02-20 10:43:32 -08:00
histogram_test.cc Introduce histogram in statistics.h 2013-02-20 10:43:32 -08:00
ldb_cmd.cc Integrate the manifest_dump command with ldb 2013-03-22 09:17:30 -07:00
ldb_cmd.h Integrate the manifest_dump command with ldb 2013-03-22 09:17:30 -07:00
ldb_cmd_execute_result.h Enhanced ldb to support data access commands 2013-01-28 11:38:26 -08:00
logging.cc
logging.h
murmurhash.cc
murmurhash.h
mutexlock.h
options.cc memory manage statistics 2013-03-27 11:27:39 -07:00
posix_logger.h Using return value of fwrite in posix_logger.h 2013-03-19 21:33:01 -07:00
random.h
stats_logger.h
status.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
stop_watch.h memory manage statistics 2013-03-27 11:27:39 -07:00
storage_options.h Use non-mmapd files for Write-Ahead Files 2013-03-28 13:13:35 -07:00
testharness.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
testharness.h
testutil.cc
testutil.h Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00