summaryrefslogtreecommitdiff
path: root/bench/wtperf
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2014-10-21 17:18:10 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2014-10-21 17:18:10 +1100
commit2de63b885fc36d50d1770586983d79e59030b419 (patch)
treed5703aa53d624525a59045346559960a2334cf65 /bench/wtperf
parentce163cdc517b315a10322ab1d9516019e4cce7fb (diff)
downloadmongo-2de63b885fc36d50d1770586983d79e59030b419.tar.gz
Add long transaction support to wtperf.
Enabled by adding ops_per_txn to thread configuration groups.
Diffstat (limited to 'bench/wtperf')
-rw-r--r--bench/wtperf/runners/long-txn-btree.wtperf8
-rw-r--r--bench/wtperf/runners/long-txn-lsm.wtperf8
2 files changed, 16 insertions, 0 deletions
diff --git a/bench/wtperf/runners/long-txn-btree.wtperf b/bench/wtperf/runners/long-txn-btree.wtperf
new file mode 100644
index 00000000000..dc141ce20cb
--- /dev/null
+++ b/bench/wtperf/runners/long-txn-btree.wtperf
@@ -0,0 +1,8 @@
+# wtperf options file: run autocommit and long transactions in parallel.
+conn_config="cache_size=500MB"
+table_config="type=file"
+icount=5000000
+report_interval=5
+run_time=120
+populate_threads=1
+threads=((count=4,reads=1,updates=1),(count=1,reads=1,ops_per_txn=100000,throttle=5000))
diff --git a/bench/wtperf/runners/long-txn-lsm.wtperf b/bench/wtperf/runners/long-txn-lsm.wtperf
new file mode 100644
index 00000000000..76c09a3f930
--- /dev/null
+++ b/bench/wtperf/runners/long-txn-lsm.wtperf
@@ -0,0 +1,8 @@
+# wtperf options file: run autocommit and long transactions in parallel.
+conn_config="cache_size=500MB"
+table_config="lsm=(chunk_size=5MB),type=lsm,os_cache_dirty_max=16MB"
+icount=5000000
+report_interval=5
+run_time=120
+populate_threads=1
+threads=((count=4,reads=1,updates=1),(count=1,reads=1,ops_per_txn=100000,throttle=5000))