rocksdb/options
Siying Dong 95b0e89b5d Improve write buffer manager (and allow the size to be tracked in block cache)
Summary:
Improve write buffer manager in several ways:
1. Size is tracked when arena block is allocated, rather than every allocation, so that it can better track actual memory usage and the tracking overhead is slightly lower.
2. We start to trigger memtable flush when 7/8 of the memory cap hits, instead of 100%, and make 100% much harder to hit.
3. Allow a cache object to be passed into buffer manager and the size allocated by memtable can be costed there. This can help users have one single memory cap across block cache and memtable.
Closes https://github.com/facebook/rocksdb/pull/2350

Differential Revision: D5110648

Pulled By: siying

fbshipit-source-id: b4238113094bf22574001e446b5d88523ba00017
2017-06-02 14:26:56 -07:00
..
cf_options.cc Support ingest_behind for IngestExternalFile 2017-05-17 11:42:42 -07:00
cf_options.h Support ingest_behind for IngestExternalFile 2017-05-17 11:42:42 -07:00
db_options.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
db_options.h Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options_helper.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options_helper.h Improve write buffer manager (and allow the size to be tracked in block cache) 2017-06-02 14:26:56 -07:00
options_parser.cc AIX and Solaris Sparc Support 2017-04-21 20:48:04 -07:00
options_parser.h Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
options_sanity_check.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
options_sanity_check.h Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
options_settable_test.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options_test.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options.cc Reorder variables of ReadOptions 2017-05-26 11:41:20 -07:00