summaryrefslogtreecommitdiff
path: root/dist/api_data.py
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-08-03 17:08:35 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-08-03 17:08:35 +1000
commitdc140bb4f64980b08e64002f9032fbd6fa0b4c14 (patch)
tree3ae0e5327fb619f7dbaa0edca0bb9fc9e2f4a7cd /dist/api_data.py
parentba39074acb7de59c5754716694f2ecee7951705f (diff)
downloadmongo-dc140bb4f64980b08e64002f9032fbd6fa0b4c14.tar.gz
WT-2764 Replace write leaves phase of checkpoints. (#2876)
Instead, get multi-threaded writes by dialling down the eviction dirty trigger. Change eviction_dirty_* defaults (to 20/5). Make sure all files are available for eviction before starting fsync. Take more care excluding clean files from checkpoints. Only use scrubbing mode when there is minimal cache pressure. Avoid penalizing read-only operations with dirty eviction targets. Enable scrubbing when eviction is keeping space available in cache. Add stats for checkpoint scrubbing phase. Improve cache scrubbing with big caches and slow I/O. Use the rate of bytes written from cache to decide how long to wait for the dirty bytes to come down.
Diffstat (limited to 'dist/api_data.py')
-rw-r--r--dist/api_data.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index e1b877a1a35..1302247e88e 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -401,16 +401,16 @@ connection_runtime_config = [
vary depending on the current eviction load''',
min=1, max=20),
]),
- Config('eviction_dirty_target', '80', r'''
+ Config('eviction_dirty_target', '5', r'''
continue evicting until the cache has less dirty memory than the
value, as a percentage of the total cache size. Dirty pages will
only be evicted if the cache is full enough to trigger eviction''',
- min=5, max=99),
- Config('eviction_dirty_trigger', '95', r'''
+ min=1, max=99),
+ Config('eviction_dirty_trigger', '20', r'''
trigger eviction when the cache is using this much memory for dirty
content, as a percentage of the total cache size. This setting only
alters behavior if it is lower than eviction_trigger''',
- min=5, max=99),
+ min=1, max=99),
Config('eviction_target', '80', r'''
continue evicting until the cache has less total memory than the
value, as a percentage of the total cache size. Must be less than