diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2014-11-28 13:39:20 +1100 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2014-11-28 13:39:20 +1100 |
commit | 7d93e325c187117072f997eab853a4a36e297ce1 (patch) | |
tree | 20ca07fb4c2adf6641a4ce3aadd11256fd1e9a73 /bench | |
parent | eabcaed32693490faa4876c0d67fab5f7d607f17 (diff) | |
download | mongo-7d93e325c187117072f997eab853a4a36e297ce1.tar.gz |
Add some wtperf workloads that turn logging on.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/wtperf/runners/log-append.wtperf | 8 | ||||
-rw-r--r-- | bench/wtperf/runners/log-nockpt.wtperf | 12 | ||||
-rw-r--r-- | bench/wtperf/runners/log.wtperf | 11 |
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)) |