summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2014-08-05 11:44:19 +1000
committerAlex Gorrod <alexg@wiredtiger.com>2014-08-05 11:44:19 +1000
commit1a584042dc43ce4d6ab602f496a32562432c62eb (patch)
treedf9f2df39a31b31cc69f0874f36ff7568b63a405
parent11832b9582851cbda39e1ccdce674b5cb076ca51 (diff)
downloadmongo-1a584042dc43ce4d6ab602f496a32562432c62eb.tar.gz
Minor edits to wtperf doc page.
-rw-r--r--src/docs/wtperf.dox15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/docs/wtperf.dox b/src/docs/wtperf.dox
index c34f477cf98..f5d000a8360 100644
--- a/src/docs/wtperf.dox
+++ b/src/docs/wtperf.dox
@@ -45,13 +45,14 @@ table_config="lsm=(chunk_size=5MB),type=lsm,os_cache_dirty_max=16MB"
More complex workloads can be configured by creating more threads doing
inserts and updates as well as reads. For example, to configure two
-inserting threads, two reading threads and two updating threads:
+inserting threads two threads doing a mixture of inserts, reads and
+updates:
@code
-threads=((count=2,inserts=1),(count=2,reads=1),(count=2,updates=1))
+threads=((count=2,inserts=1),(count=2,inserts=1,reads=1,updates=1))
@endcode
-Some of the standard \c wtperf configurations we run can be found in the
+Some example \c wtperf configuration files can be found in the
\c bench/wtperf/runners/ directory.
@section monitor Monitoring performance
@@ -79,12 +80,14 @@ This example assumes you have all the necessary tools
already installed to build WiredTiger, Python and python-nvd3.
@code
-mkdir WT_TEST && ./bench/wtperf/wtperf -O ../bench/wtperf/runners/fruit-short.wtperf -o "sample_interval=10"
-cd WT_TEST; python ../../tools/wtperf_stats.py monitor
+cd $WIREDTIGER_SOURCE
+./configure && make
+mkdir WTPERF_RUN && ./bench/wtperf/wtperf -h WTPERF_SAMPLE -O ./bench/wtperf/runners/fruit-short.wtperf -o "sample_interval=10"
+cd WTPERF_RUN; python ../tools/wtperf_stats.py monitor
@endcode
Once the python tool completes, you will find a file \c wtperf_stats.html
-that will look something like this:
+in the current working directory. The file will have content like:
\htmlinclude wtperf-sample.html