[AIAS-02] Define the optimization parameters
Last updated
Last updated
It’s now time to select which parameters Akamas needs to tune in this study.
Select the jvm
component and add the following JVM parameters:
jvm_maxHeapSize
jvm_newSize
jvm_maxHeapFreeRatio
jvm_gcType
jvm_survivorRatio
jvm_maxTenuringThreshold
It is also possible to tell Akamas the range of values each parameter can have: this way, AI will suggest configurations that respect desired limits. For example, in the sandbox environment, the max heap size of the JVM has to be limited to 1GB.
Select the following range of values by clicking on the EDIT DOMAIN of the corresponding parameter:
jvm_maxHeapSize: from 32MB to 1024MB
jvm_newSize: from 32MB to 1024MB
jvm_maxHeapFreeRatio: from 41 to 100
Akamas supports constraints among parameters to avoid incorrect combinations of values. In this example, the JVM newSize parameter needs to be lower or equal to maxHeapSize. You can add a new constraint to tell Akamas to keep this relation in consideration during the optimization: