summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSulabh Mahajan <sulabh.mahajan@mongodb.com>2016-08-12 10:19:45 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-08-12 10:19:45 +1000
commita044bf81ace95df8fd9a5fd85fcf2c15f898cbd8 (patch)
tree06306fbcb257bd4b2a3154c6ded05277cd6ffca6
parent697ca8da76c70685d7237f37ed799924bfc8e456 (diff)
downloadmongo-a044bf81ace95df8fd9a5fd85fcf2c15f898cbd8.tar.gz
WT-2817 Add wtperf conf to stress test checkpoints with updates (#2941)
-rw-r--r--bench/wtperf/runners/checkpoint-stress.wtperf20
1 files changed, 20 insertions, 0 deletions
diff --git a/bench/wtperf/runners/checkpoint-stress.wtperf b/bench/wtperf/runners/checkpoint-stress.wtperf
new file mode 100644
index 00000000000..6c517c6ddae
--- /dev/null
+++ b/bench/wtperf/runners/checkpoint-stress.wtperf
@@ -0,0 +1,20 @@
+# A stress configuration to create long running checkpoints while doing a lot
+# of updates.
+conn_config="cache_size=10GB,log=(enabled=false)"
+table_config="leaf_page_max=32k,internal_page_max=16k,allocation_size=4k,split_pct=90,type=file"
+# Enough data to fill the cache. 100 million 1k records results in two ~6GB
+# tables
+icount=100000000
+create=true
+compression="snappy"
+populate_threads=1
+checkpoint_interval=60
+checkpoint_threads=1
+report_interval=5
+# Run for a longer duration to ensure checkpoints are completing.
+run_time=600
+# MongoDB always has multiple tables, and checkpoints behave differently when
+# there is more than a single table.
+table_count=2
+threads=((count=6,updates=1))
+value_sz=1000