summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-03-20 22:01:49 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-03-20 22:01:49 +1100
commit6ab5469761fc48024a91ce4390bccc15a0bba448 (patch)
treecc89ff982615c696cdc7c6083840809f00b0705e
parentb0fc784357d54f633a49d9836491d60bd4c9d3b9 (diff)
downloadmongo-6ab5469761fc48024a91ce4390bccc15a0bba448.tar.gz
Update a comment: WT_EVICT_GROUP is about how many pages are candidates.
-rw-r--r--src/btree/bt_evict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_evict.c b/src/btree/bt_evict.c
index 59b07a1d93b..2fa84475d5b 100644
--- a/src/btree/bt_evict.c
+++ b/src/btree/bt_evict.c
@@ -22,7 +22,7 @@ static int __evict_worker(WT_SESSION_IMPL *);
* Tuning constants: I hesitate to call this tuning, but we want to review some
* number of pages from each file's in-memory tree for each page we evict.
*/
-#define WT_EVICT_GROUP 30 /* Evict N pages at a time */
+#define WT_EVICT_GROUP 30 /* Consider N pages as LRU candidates */
#define WT_EVICT_WALK_PER_TABLE 35 /* Pages to visit per file */
#define WT_EVICT_WALK_BASE 50 /* Pages tracked across file visits */