summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2014-11-28 13:39:20 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2014-11-28 13:39:20 +1100
commit7d93e325c187117072f997eab853a4a36e297ce1 (patch)
tree20ca07fb4c2adf6641a4ce3aadd11256fd1e9a73 /bench
parenteabcaed32693490faa4876c0d67fab5f7d607f17 (diff)
downloadmongo-7d93e325c187117072f997eab853a4a36e297ce1.tar.gz
Add some wtperf workloads that turn logging on.
Diffstat (limited to 'bench')
-rw-r--r--bench/wtperf/runners/log-append.wtperf8
-rw-r--r--bench/wtperf/runners/log-nockpt.wtperf12
-rw-r--r--bench/wtperf/runners/log.wtperf11
3 files changed, 31 insertions, 0 deletions
diff --git a/bench/wtperf/runners/log-append.wtperf b/bench/wtperf/runners/log-append.wtperf
new file mode 100644
index 00000000000..9d0a78e3c61
--- /dev/null
+++ b/bench/wtperf/runners/log-append.wtperf
@@ -0,0 +1,8 @@
+# wtperf options file: Test a log file with a multi-threaded
+# append workload.
+conn_config="cache_size=1G,log=(enabled=true,file_max=20MB),checkpoint=(log_size=1G)"
+table_config="type=file"
+icount=50000000
+report_interval=5
+run_time=0
+populate_threads=8
diff --git a/bench/wtperf/runners/log-nockpt.wtperf b/bench/wtperf/runners/log-nockpt.wtperf
new file mode 100644
index 00000000000..a078cead740
--- /dev/null
+++ b/bench/wtperf/runners/log-nockpt.wtperf
@@ -0,0 +1,12 @@
+# wtperf options file: Test performance with a log file enabled.
+# Set the log file reasonably small to catch log-swtich bottle
+# necks.
+conn_config="cache_size=1G,log=(enabled=true,file_max=20MB)"
+table_config="type=file"
+icount=50000
+report_interval=5
+run_time=40
+populate_threads=1
+random_range=50000000
+threads=((count=8,inserts=1))
+
diff --git a/bench/wtperf/runners/log.wtperf b/bench/wtperf/runners/log.wtperf
new file mode 100644
index 00000000000..c336c9d8a5f
--- /dev/null
+++ b/bench/wtperf/runners/log.wtperf
@@ -0,0 +1,11 @@
+# wtperf options file: Test performance with a log file enabled.
+# Set the log file reasonably small to catch log-swtich bottle
+# necks.
+conn_config="cache_size=1G,log=(enabled=true,file_max=20MB),checkpoint=(log_size=1G)"
+table_config="type=file"
+icount=50000
+report_interval=5
+run_time=120
+populate_threads=1
+random_range=50000000
+threads=((count=8,inserts=1))