MarkLogic default Group Level Cache and Huge Pages settings
The table below shows the default (and recommended) group level cache settings based on a few common RAM configurations for the 9.0-9.1 release of MarkLogic Server:
Total RAM |
List Cache |
Compressed Tree Cache |
Expanded Tree Cache |
Triple Cache |
Triple Value Cache |
Default Huge Page Ranges |
8192 (8GB) |
1024 (1 partition) |
512 (1 partition) |
1024 (1 partition) |
512 (1 partition) |
1024 (2 partitions) |
1280 to 1994 |
16384 (16GB) |
2048 (1 partition) |
1024 (2 partitions) |
2048 (1 partition) |
1024 (2 partitions) |
2048 (2 partitions) |
2560 to 3616 |
24576 (24GB) |
3072 (1 partition) |
1536 (2 partitions) |
3072 (1 partition) |
1536 (2 partitions) |
3072 (4 partitions) |
3840 to 4896 |
32768 (32GB) |
4096 (2 partitions) |
2048 (3 partitions) |
4096 (2 partitions) |
2048 (3 partitions) |
4096 (6 partitions) |
5120 to 6176 |
49152 (48GB) |
6144 (2 partitions) |
3072 (4 partitions) |
6144 (2 partitions) |
3072 (4 partitions) |
6144 (8 partitions) |
7680 to 8736 |
65536 (64GB) |
8064 (3 partitions) |
4032 (6 partitions) |
8064 (3 partitions) |
4096 (6 partitions) |
8192 (11 partitions) |
10080 to 11136 |
98304 (96GB) |
12160 (4 partitions) |
6080 (8 partitions) |
12160 (4 partitions) |
6144 (8 partitions) |
12160 (16 partitions) |
15200 to 16256 |
131072 (128GB) |
16384 (6 partitions) |
8192 (11 partitions) |
16384 (6 partitions) |
8192 (11 partitions) |
16384 (22 partitions) |
20480 to 21020 |
147456 (144GB) |
18432 (6 partitions) |
9216 (12 partitions) |
18432 (6 partitions) |
9216 (12 partitions) |
18432 (24 partitions) |
23040 to 24096
|
262144 (256GB) |
32768 (9 partitions) |
16384 (11 partitions) |
32768 (9 partitions) |
16128 (22 partitions) |
32256 (32 partitions) |
40320 to 42432
|
524288 (512GB)
|
65536 (22 partitions) |
32768 (32 partitions) |
65536 (32 partitions) |
32768 (32 partitions) |
65536 (32 partitions) |
81920 to 82460
|
Note that these values are safe to use for MarkLogic 7 and above.
For all the databases that ship with MarkLogic Server, the Huge Pages ranges on this table will cover the out-of-the box configuration. Note that adding more forests will cause the second value in the range to increase.
From MarkLogic Server 9.0-7 and above
In the 9.0-7 release and above (and all versions of MarkLogic 10), automatic cache sizing was introduced; this setting is usually recommended.
Note: For RAM size greater than 256GB, group cache settings are configured the same as for 256GB with automatic cache sizing. These can be changed using manual cache sizing.
Maximum group level cache settings
Assuming a Server configured with 256GB RAM (and above), these are the maximum sizes for the three main group level caches and will utilise 180GB (184320MB) per host for the Group Level Caches:
- Expanded Tree Cache - 73728 (72GB) (with 9 8GB partitions)
- List Cache - 73728 (72GB) (with 9 8GB partitions)
- Compressed Tree Cache - 36864 (36GB) (with 11 3 GB partitions)
We have found that configuring 4GB partitions for the Expanded Tree Cache and the List Cache generally works well in most cases; for this you would set the number of partitions to 18
For the Compressed Tree Cache the number of partitions can be set to 22.
Important note
The maximum number of configurable partitions is 32
Each cache partition should be no more than 8192 MB
|