diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-03-15 15:00:28 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-03-15 15:00:28 +1100 |
commit | 59cc570ecdfbcc1a69a51f0d2b8419e52606ab45 (patch) | |
tree | f3d242f621952b03835a402e468b2ddbcd5a05c1 | |
parent | 1231407cb1de41fad08b0c13db92ef0edacf3ec5 (diff) | |
download | mongo-59cc570ecdfbcc1a69a51f0d2b8419e52606ab45.tar.gz |
Tweak the eviction LRU parameters to allow more application threads to help with eviction.
-rw-r--r-- | src/btree/bt_evict.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/btree/bt_evict.c b/src/btree/bt_evict.c index 8add4ab616a..ee48cc3bfd8 100644 --- a/src/btree/bt_evict.c +++ b/src/btree/bt_evict.c @@ -22,9 +22,9 @@ 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 10 /* Evict N pages at a time */ -#define WT_EVICT_WALK_PER_TABLE 20 /* Pages to visit per file */ -#define WT_EVICT_WALK_BASE 100 /* Pages tracked across file visits */ +#define WT_EVICT_GROUP 20 /* Evict N pages at a time */ +#define WT_EVICT_WALK_PER_TABLE 25 /* Pages to visit per file */ +#define WT_EVICT_WALK_BASE 50 /* Pages tracked across file visits */ /* * WT_EVICT_REQ_FOREACH -- |