rocksdb/tools
Maysam Yabandeh 11526252cc Pinnableslice (2nd attempt)
Summary:
PinnableSlice

    Summary:
    Currently the point lookup values are copied to a string provided by the
    user. This incures an extra memcpy cost. This patch allows doing point lookup
    via a PinnableSlice which pins the source memory location (instead of
    copying their content) and releases them after the content is consumed
    by the user. The old API of Get(string) is translated to the new API
    underneath.

    Here is the summary for improvements:

    value 100 byte: 1.8% regular, 1.2% merge values
    value 1k byte: 11.5% regular, 7.5% merge values
    value 10k byte: 26% regular, 29.9% merge values
    The improvement for merge could be more if we extend this approach to
    pin the merge output and delay the full merge operation until the user
    actually needs it. We have put that for future work.

    PS:
    Sometimes we observe a small decrease in performance when switching from
    t5452014 to this patch but with the old Get(string) API. The d
Closes https://github.com/facebook/rocksdb/pull/1756

Differential Revision: D4391738

Pulled By: maysamyabandeh

fbshipit-source-id: 6f3edd3
2017-03-13 11:54:10 -07:00
..
dump Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
rdb fix typos in comments 2015-12-11 01:54:48 +09:00
auto_sanity_test.sh fix typos in comments 2015-12-11 01:54:48 +09:00
benchmark_leveldb.sh Add scripts to run leveldb benchmark 2015-04-27 19:32:56 -07:00
benchmark.sh Remove disableDataSync option 2017-02-13 11:09:13 -08:00
check_format_compatible.sh check_format_compatible.sh to use some branch which allows to run with GCC 4.8 (#1393) 2016-10-13 16:15:55 -07:00
CMakeLists.txt cmake support for linux and osx (#1358) 2016-09-28 11:53:15 -07:00
db_bench_tool_test.cc Remove disableDataSync option 2017-02-13 11:09:13 -08:00
db_bench_tool.cc Pinnableslice (2nd attempt) 2017-03-13 11:54:10 -07:00
db_bench.cc Initial script for the new regression test 2016-05-09 13:32:57 -07:00
db_crashtest.py Remove disableDataSync option 2017-02-13 11:09:13 -08:00
db_repl_stress.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
db_sanity_test.cc Support ZSTD with finalized format 2016-09-06 12:22:16 -07:00
db_stress.cc add direct_io and compaction_readahead_size in db_stress 2017-02-23 11:39:14 -08:00
dbench_monitor Added simple monitoring script to monitor overusage of memory in db_bench 2015-02-11 18:40:11 -08:00
Dockerfile adding docker build script and dockerfile 2015-05-22 16:03:39 -07:00
generate_random_db.sh Script to check whether RocksDB can read DB generated by previous releases and vice versa 2015-04-08 16:04:59 -07:00
ldb_cmd_impl.h Add stderr log level for ldb backup commands 2017-03-03 13:24:15 -08:00
ldb_cmd_test.cc cast to signed char in ldb_cmd_test for ppc64le 2016-12-12 14:39:18 -08:00
ldb_cmd.cc Add stderr log level for ldb backup commands 2017-03-03 13:24:15 -08:00
ldb_test.py Add ability to search for key prefix in sst_dump tool 2017-03-13 10:39:12 -07:00
ldb_tool.cc Clarify ldb column family argument 2017-02-07 11:54:10 -08:00
ldb.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
pflag Added simple monitoring script to monitor overusage of memory in db_bench 2015-02-11 18:40:11 -08:00
reduce_levels_test.cc [ldb] Templatize the Selector 2016-05-13 12:12:39 -07:00
regression_test.sh Revert "Report cpu usage using time command" 2017-03-09 11:09:13 -08:00
rocksdb_dump_test.sh Update dump_tool and undump_tool to accept Options 2015-10-05 19:49:48 -07:00
run_flash_bench.sh Update benchmarks used to measure subcompaction performance 2016-03-04 12:32:11 -08:00
run_leveldb.sh Add scripts to run leveldb benchmark 2015-04-27 19:32:56 -07:00
sample-dump.dmp First version of rocksdb_dump and rocksdb_undump. 2015-06-19 16:24:36 -07:00
sst_dump_test.cc Add TableBuilderOptions::level and relevant changes (#1335) 2016-09-17 22:30:43 -07:00
sst_dump_tool_imp.h Add ability to search for key prefix in sst_dump tool 2017-03-13 10:39:12 -07:00
sst_dump_tool.cc Add ability to search for key prefix in sst_dump tool 2017-03-13 10:39:12 -07:00
sst_dump.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
verify_random_db.sh Script to check whether RocksDB can read DB generated by previous releases and vice versa 2015-04-08 16:04:59 -07:00
write_stress_runner.py Write stress test 2015-10-28 16:15:07 -07:00
write_stress.cc Windows thread 2017-02-06 14:54:18 -08:00