summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-13 13:52:35 +1000
committerGitHub <noreply@github.com>2016-09-13 13:52:35 +1000
commitf82cf084e733f745ef437192fbde1235b69509dc (patch)
tree3b9f18bb8a7120a29b5c1a2c6ee71508a92ce315
parentc8ccbfcf988ac32eed4a7e04f6a37d4ae5ff6146 (diff)
downloadmongo-f82cf084e733f745ef437192fbde1235b69509dc.tar.gz
WT-2894 Add wtperf stress workload that tries to induce negative scaling (#3034)
Via use a high thread count and throttled operations.
-rw-r--r--bench/wtperf/runners/multi-btree-read-heavy-stress.wtperf21
1 files changed, 21 insertions, 0 deletions
diff --git a/bench/wtperf/runners/multi-btree-read-heavy-stress.wtperf b/bench/wtperf/runners/multi-btree-read-heavy-stress.wtperf
new file mode 100644
index 00000000000..d7b27f8fda4
--- /dev/null
+++ b/bench/wtperf/runners/multi-btree-read-heavy-stress.wtperf
@@ -0,0 +1,21 @@
+# Drive a constant high workload through, even if WiredTiger isn't keeping
+# up by dividing the workload across a lot of threads. This needs to be
+# tuned to the particular machine so the workload is close to capacity in the
+# steady state, but not overwhelming.
+conn_config="cache_size=20GB,session_max=1000,eviction=(threads_min=4,threads_max=4),log=(enabled=false),transaction_sync=(enabled=false),checkpoint_sync=true,checkpoint=(wait=60),statistics=(fast),statistics_log=(json,wait=1)"
+table_config="allocation_size=4k,memory_page_max=10MB,prefix_compression=false,split_pct=90,leaf_page_max=32k,internal_page_max=16k,type=file"
+# Divide original icount by database_count.
+table_count=8
+compression=snappy
+icount=200000000
+populate_threads=1
+reopen_connection=false
+log_like_table=true
+#pareto=5
+report_interval=1
+run_time=3600
+threads=((count=10,throttle=250,inserts=1),(count=10,throttle=250,updates=1),(count=80,throttle=600,reads=1,ops_per_txn=3))
+value_sz=500
+sample_interval=5
+sample_rate=1
+