rocksdb/util
Dhruba Borthakur c1006d4276 An configurable option to write data using write instead of mmap.
Summary:
We have seen that reading data via the pread call (instead of
mmap) is much faster on Linux 2.6.x kernels. This patch makes
an equivalent option to switch off mmaps for the write path
as well.

db_bench --mmap_write=0 will use write() instead of mmap() to
write data to a file.

This change is backward compatible, the default
option is to continue using mmap for writing to a file.

Test Plan: "make check all"

Differential Revision: https://reviews.facebook.net/D5781
2012-10-03 17:08:13 -07:00
..
arena_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
arena.cc A number of fixes: 2011-10-31 17:22:06 +00:00
arena.h A number of fixes: 2011-10-31 17:22:06 +00:00
bloom_test.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
bloom.cc bits_per_key is already configurable. It defines how many bloom bits will be used for every key in the database. 2012-07-09 23:06:07 -07:00
build_version.h Record the version of the source repository that was used to build the leveldb library. 2012-08-21 14:47:15 -07:00
cache_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
cache.cc Print the block cache size in the LOG. 2012-09-29 21:39:19 -07:00
coding_test.cc merge 1.5 2012-08-28 11:43:33 -07:00
coding.cc A number of fixes: 2011-10-31 17:22:06 +00:00
coding.h A number of fixes: 2011-10-31 17:22:06 +00:00
comparator.cc merge 1.5 2012-08-28 11:43:33 -07:00
crc32c_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
crc32c.cc SSE4 optimization 2012-05-15 10:10:01 -07:00
crc32c.h A number of fixes: 2011-10-31 17:22:06 +00:00
env_hdfs.cc Clean up compiler warnings generated by -Wall option. 2012-08-29 14:24:51 -07:00
env_posix.cc An configurable option to write data using write instead of mmap. 2012-10-03 17:08:13 -07:00
env_test.cc fixed issues 66 (leaking files on disk error) and 68 (no sync of CURRENT file) 2012-01-25 14:56:52 -08:00
env.cc fixed issues 66 (leaking files on disk error) and 68 (no sync of CURRENT file) 2012-01-25 14:56:52 -08:00
filelock_test.cc Prevent concurrent multiple opens of leveldb database. 2012-08-20 23:55:04 -07:00
filter_policy.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
hash.cc A number of fixes: 2011-10-31 17:22:06 +00:00
hash.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
histogram.cc A number of fixes: 2011-10-31 17:22:06 +00:00
histogram.h A number of fixes: 2011-10-31 17:22:06 +00:00
logging.cc A number of fixes: 2011-10-31 17:22:06 +00:00
logging.h A number of fixes: 2011-10-31 17:22:06 +00:00
mutexlock.h Implement ReadWrite locks for leveldb 2012-10-01 22:37:39 -07:00
options.cc Print the block cache size in the LOG. 2012-09-29 21:39:19 -07:00
posix_logger.h A number of fixes: 2011-10-31 17:22:06 +00:00
random.h A number of fixes: 2011-10-31 17:22:06 +00:00
stats_logger.h Clean up compiler warnings generated by -Wall option. 2012-08-29 14:24:51 -07:00
status.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testharness.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testharness.h A number of fixes: 2011-10-31 17:22:06 +00:00
testutil.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testutil.h A number of fixes: 2011-10-31 17:22:06 +00:00