summaryrefslogtreecommitdiff
path: root/bench/wtperf/runners/log.wtperf
blob: 4379ba223732f8da5cf0c358ddf3768976ea0c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# wtperf options file: Test performance with a log file enabled.
# Set the log file small to catch log-swtich bottlenecks.
#
# Perform updates instead of inserts to stress logging not eviction,
# page splits or reconciliation.  Have it fit in cache.
#
# We expect this test can and will be run in other forms from the command
# line to change log file size, pre-allocation, zero filling, logging off
# and checkpoint off.
#
# Jenkins runs for perf testing:
# - Config as-is
# - Config + "-C "log=(enabled,file_max=1M)": small log files and switching
# - Config + "-C "log=(enabled,zero_fill=true,file_max=1M)": zero-filling
# - Config + "-C "checkpoint=(wait=0)": no checkpoints
# - Config + "-C "log=(enabled,prealloc=false,file_max=1M)": no pre-allocation
#
conn_config="cache_size=5G,log=(enabled=true),checkpoint=(log_size=500M),eviction=(threads_max=8)"
table_config="type=file"
icount=1000000
report_interval=5
run_time=180
populate_threads=1
threads=((count=8,updates=1))
# Warm up the cache for a minute.
warmup=60