diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2016-08-03 17:08:35 +1000 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-08-03 17:08:35 +1000 |
commit | dc140bb4f64980b08e64002f9032fbd6fa0b4c14 (patch) | |
tree | 3ae0e5327fb619f7dbaa0edca0bb9fc9e2f4a7cd /tools/wtstats | |
parent | ba39074acb7de59c5754716694f2ecee7951705f (diff) | |
download | mongo-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 'tools/wtstats')
-rw-r--r-- | tools/wtstats/stat_data.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/wtstats/stat_data.py b/tools/wtstats/stat_data.py index 0e06d49883b..b93f2449c63 100644 --- a/tools/wtstats/stat_data.py +++ b/tools/wtstats/stat_data.py @@ -54,7 +54,10 @@ no_scale_per_second_list = [ 'transaction: transaction checkpoint max time (msecs)', 'transaction: transaction checkpoint min time (msecs)', 'transaction: transaction checkpoint most recent time (msecs)', + 'transaction: transaction checkpoint scrub dirty target', + 'transaction: transaction checkpoint scrub time (msecs)', 'transaction: transaction checkpoint total time (msecs)', + 'transaction: transaction fsync duration for checkpoint after allocating the transaction ID (usecs)', 'transaction: transaction range of IDs currently pinned', 'transaction: transaction range of IDs currently pinned by a checkpoint', 'transaction: transaction range of IDs currently pinned by named snapshots', @@ -142,7 +145,10 @@ no_clear_list = [ 'transaction: transaction checkpoint max time (msecs)', 'transaction: transaction checkpoint min time (msecs)', 'transaction: transaction checkpoint most recent time (msecs)', + 'transaction: transaction checkpoint scrub dirty target', + 'transaction: transaction checkpoint scrub time (msecs)', 'transaction: transaction checkpoint total time (msecs)', + 'transaction: transaction fsync duration for checkpoint after allocating the transaction ID (usecs)', 'transaction: transaction range of IDs currently pinned', 'transaction: transaction range of IDs currently pinned by a checkpoint', 'transaction: transaction range of IDs currently pinned by named snapshots', |