From 2de63b885fc36d50d1770586983d79e59030b419 Mon Sep 17 00:00:00 2001 From: Alex Gorrod Date: Tue, 21 Oct 2014 17:18:10 +1100 Subject: Add long transaction support to wtperf. Enabled by adding ops_per_txn to thread configuration groups. --- bench/wtperf/runners/long-txn-btree.wtperf | 8 ++++++++ bench/wtperf/runners/long-txn-lsm.wtperf | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 bench/wtperf/runners/long-txn-btree.wtperf create mode 100644 bench/wtperf/runners/long-txn-lsm.wtperf (limited to 'bench/wtperf') 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)) -- cgit v1.2.1