summaryrefslogtreecommitdiff
path: root/src/txn/txn_ckpt.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-08-26 12:50:11 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-08-26 12:50:11 +1000
commita48b73bdd3da302262582a04830e981ca60ad1cb (patch)
tree09035bcdfaf9edeba769ffe6b4fc9270daa2bbca /src/txn/txn_ckpt.c
parent0cdefa89f437bab5aaf554a2fa211028b674bbd0 (diff)
downloadmongo-a48b73bdd3da302262582a04830e981ca60ad1cb.tar.gz
WT-2816 General improvements to WiredTiger eviction performance (#2949)
A set of changes to the eviction algorithm including: * Fix a bug in how many items can be added to the urgent queue * Have the eviction server sleep less so it recovers from disruptions faster. * Only have application threads evict dirty pages if they are blocked on the dirty trigger. * Swap eviction queues when one becomes empty. * Have the eviction server populate the "other" queue whenever it notices that it isn't full.
Diffstat (limited to 'src/txn/txn_ckpt.c')
-rw-r--r--src/txn/txn_ckpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txn/txn_ckpt.c b/src/txn/txn_ckpt.c
index 9a062611422..5406367c372 100644
--- a/src/txn/txn_ckpt.c
+++ b/src/txn/txn_ckpt.c
@@ -732,7 +732,7 @@ __txn_checkpoint(WT_SESSION_IMPL *session, const char *cfg[])
WT_ERR(__wt_epoch(session, &fsync_stop));
fsync_duration_usecs = WT_TIMEDIFF_US(fsync_stop, fsync_start);
WT_STAT_FAST_CONN_INCR(session, txn_checkpoint_fsync_post);
- WT_STAT_FAST_CONN_INCRV(session,
+ WT_STAT_FAST_CONN_SET(session,
txn_checkpoint_fsync_post_duration, fsync_duration_usecs);
WT_ERR(__checkpoint_verbose_track(session,