Group Level Cache Settings based on RAM
04 May 2021 03:04 PM
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:
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:
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.
The maximum number of configurable partitions is 32
Each cache partition should be no more than 8192 MB