MB-23573: Add full eviction defragment benchmarks 71/75971/5
authorolivermd <oliver.downard@couchbase.com>
Wed, 29 Mar 2017 15:43:56 +0000 (16:43 +0100)
committerDave Rigby <daver@couchbase.com>
Thu, 6 Apr 2017 20:18:36 +0000 (20:18 +0000)
commit4694e05ae4b6c9ab9a3617e5dfe67846db0c26a4
tree9ea6db0c8346201f447ba2250ec19277bd770c36
parentb7591f86de0e85994fa149cc7384d52a5fe7a4a1
MB-23573: Add full eviction defragment benchmarks

Enables the defragmenter benchmarks for full eviction. This required
changing the populate phase to use processSet rather than processAdd as
processAdd would check respond with bgFetch needed.

As a result of changing to processSet, when testing mapped memory we
need to clear the checkpointManager so that the memory gets released. I
also found that I was able to reduce the fuzz factor from 1.3 to 1.05.
Change-Id: I1cb01d9bb4501201caedd67c7da2e2fc1353b21a
Reviewed-on: http://review.couchbase.org/75971
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jim Walker <jim@couchbase.com>
tests/module_tests/defragmenter_test.cc