summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-08-07 14:03:20 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-08-07 14:03:20 -0400
commit0bda454484fe0b1a3d9f62a034c95d5aa3ad093c (patch)
tree83cff6614bd580eb4b85088c1c16a9a216292c3c
parentb5ba460d10886d0da55e7859b2e3a6fa95b5a32b (diff)
downloadmongo-0bda454484fe0b1a3d9f62a034c95d5aa3ad093c.tar.gz
Add large-lsm config and use that for wtperf doc.
-rw-r--r--bench/wtperf/runners/large-lsm.wtperf11
-rw-r--r--src/docs/wtperf.dox4
2 files changed, 13 insertions, 2 deletions
diff --git a/bench/wtperf/runners/large-lsm.wtperf b/bench/wtperf/runners/large-lsm.wtperf
new file mode 100644
index 00000000000..ac3c3c9e0d3
--- /dev/null
+++ b/bench/wtperf/runners/large-lsm.wtperf
@@ -0,0 +1,11 @@
+# wtperf options file: large lsm configuration
+conn_config="cache_size=20G,mmap=false"
+table_config="internal_page_max=128K,lsm=(bloom_config=(leaf_page_max=8MB),bloom_bit_count=28,bloom_hash_count=19,bloom_oldest=true,chunk_max=5GB,chunk_size=100MB,merge_threads=3),type=lsm,leaf_page_max=16K,os_cache_dirty_max=16MB"
+compact=true
+compression="snappy"
+icount=250000000
+report_interval=5
+run_time=1200
+populate_threads=1
+sample_interval=10
+threads=((count=16,reads=1))
diff --git a/src/docs/wtperf.dox b/src/docs/wtperf.dox
index b193cc2dc09..453c3e4fbdf 100644
--- a/src/docs/wtperf.dox
+++ b/src/docs/wtperf.dox
@@ -73,7 +73,7 @@ the \c -m option to \c wtperf.
A visualization tool to see the performance over the course of the
\c wtperf run can be found in \c tools/wtperf_stats.py.
-The following example shows how to run the \c update-large-lsm.wtperf
+The following example shows how to run the \c large-lsm.wtperf
stock configuration to a subdirectory of \c build_posix called
\c WT_TEST with monitoring enabled and then generate a graph.
This example assumes you have all the necessary tools
@@ -82,7 +82,7 @@ already installed to build WiredTiger, Python and python-nvd3.
@code
cd $WIREDTIGER_SOURCE
./configure && make
-mkdir WTPERF_RUN && ./bench/wtperf/wtperf -h WTPERF_SAMPLE -O ./bench/wtperf/runners/update-large-lsm.wtperf -o "sample_interval=10"
+mkdir WTPERF_RUN && ./bench/wtperf/wtperf -h WTPERF_SAMPLE -O ./bench/wtperf/runners/large-lsm.wtperf
cd WTPERF_RUN; python ../tools/wtperf_stats.py monitor
@endcode