summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/cppsuite/configs/hs_cleanup_stress.txt
blob: bce5248222a22c34af9742117c6c5724a406e0ab (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Run for half an hour.
duration_seconds=1800,
# The configuration can produce a large number of updates at once, therefore use 500MB cache size 
# to hold these values.
cache_size_mb=500,
compression_enabled=true,
statistics_config=
(
    type=all,
    enable_logging=true
),
checkpoint_manager=
(
    enabled=true,
    op_rate=60s
),
runtime_monitor=
(
    # Seems to insert around 477K records. Give it +-20K margin.
    cache_hs_insert=
    (
        max=497000,
        min=457000,
        postrun=false,
        save=true,
    ),
    # Seems to remove 160K records. Give it a similar margin.
    cc_pages_removed=
    (
        max=170000,
        min=150000,
        postrun=false,
        save=true,
    ),
    stat_cache_size=
    (
        max=110,
        runtime=true,
    ),
    # The data files compress to around 25MB per table at the end of a run so 250MB total.
    # +1.4GB for the history store. With an additional 150MB margin.
    stat_db_size=
    (
        max=1900000000,
        save=true,
    ),
),
timestamp_manager=
(
    enabled=true,
    oldest_lag=2,
    stable_lag=5
),
workload_generator=
(
    populate_config=
    (
        collection_count=10,
        key_count_per_collection=1000,
        key_size=5,
        thread_count=10,
        value_size=100000
    ),
    read_config=
    (
        op_rate=5ms,
        ops_per_transaction=(max=100,min=1),
        thread_count=8
    ),
    update_config=
    (
        op_rate=10ms,
        # Be careful to not aim too high with this config, if we fill the dirty cache and
        # all threads are trying to update, they'll get pulled into eviction and will get stuck.
        ops_per_transaction=(max=20,min=0),
        thread_count=10,
        value_size=100000
    )
),
workload_tracking=
(
    enabled=true,
    op_rate=20s
)