Automatic HugePage configuration is available starting with FlashGrid Storage Fabric version 19.02. After resizing VM, HugePages will adjust accordingly if this feature is enabled. HugePages are configured only on DB nodes (not configured on quorum or storage nodes).
If you enabled automatic configuration of HugePages in FlashGrid Launcher during deployment of the cluster/server then no further action is needed.
Note: This feature is not available prior to version 19.02 of FlashGrid Storage Fabric, HugePages must be configured manually by editing
To enable automatic HugePages configuration:
- Add or edit the following parameters under
/etc/flashgrid.cfgon the first DB node:
[memory] configure_hugepages = True total_db_memory_pct = 80 total_sga_max_size_pct_of_db_memory = 60
Please note that, HugePages are configured as product of
total_db_memory_pct * total_sga_max_size_pct_of_db_memory. Based on the above values, it is 80% * 60% = 48% of total memory. Check recommendations for memory sizing
- Deploy the updated configuration:
# flashgrid-cluster deploy-config
- Update the following parameters at the database level:
SGA_MAX_SIZE = <size of HugePages> SGA_TARGET = <size of HugePages> USE_LARGE_PAGES = only
- Reboot one node at a time:
See instructions for graceful reboot here.