|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The intelligent tuning policy configuration. |
||
| limits |
object |
The upper and lower limits for tuning resources. |
|
| coolDownMinutes |
integer |
The minimum cool-down time between two tuning operations, in minutes. |
10 |
| jobMaxCpu |
number |
The maximum CPU. |
16 |
| jobMaxMemory |
string |
The maximum memory. Format examples: 4Gi, 256GiB. |
64GiB |
| jobMaxParallelism |
integer |
The maximum parallelism. |
10 |
| jobMinParallelism |
integer |
The minimum parallelism. |
1 |
| silentPeriodConfig |
object |
The silent period configuration. Automatic tuning operations are not performed during silent periods. |
|
| enabled |
boolean |
Specifies whether to enable silent periods. |
false |
| silentPeriods |
array |
The list of silent periods. This is a full replacement, not an append operation. |
|
|
object |
|||
| level |
string |
The silent level. DAY indicates daily repetition. WEEK indicates weekly repetition. |
DAY |
| beginTime |
integer |
The start time. For the DAY level: 0-1439, representing the minute offset of the day (for example, 540 represents 9:00). For the WEEK level: 1-7, representing the day of the week (ISO 8601, 1=Monday, 7=Sunday). |
540 |
| endTime |
integer |
The end time. The format is the same as beginTime. For the WEEK level, if endTime is less than beginTime, it indicates a cross-week period (for example, beginTime=6, endTime=2 means silent from Saturday to the following Tuesday). |
1080 |
| scaleUpRules |
object |
The scale-up rule configuration. |
|
| delayRule |
object |
The delay detection scale-up rule. Scale-up is triggered when the job delay exceeds the threshold. |
|
| enabled |
boolean |
Specifies whether to enable delay detection scale-up. |
true |
| delaySampleInterval |
string |
The delay sampling interval. Format examples: 3min, 5m, 1h. |
3min |
| delayThreshold |
string |
The latency threshold. Format examples: 1min, 10m. Scale-up is triggered when the delay continuously exceeds this threshold. |
1min |
| slotBusyScaleUpRule |
object |
The slot busy scale-up rule. Scale-up is triggered when the slot busy ratio exceeds the threshold. |
|
| enabled |
boolean |
Specifies whether to enable slot busy scale-up. |
true |
| slotBusyScaleUpSampleInterval |
string |
The slot busy sampling interval. Format examples: 6min, 5m. |
6min |
| slotBusyScaleUpThreshold |
number |
The slot busy scale-up threshold. Valid values: 0.0 to 1.0. Scale-up is triggered when the slot busy ratio exceeds this value. |
0.8 |
| memoryScaleUpRule |
object |
The memory scale-up rule. Scale-up is triggered when memory usage exceeds the threshold. |
|
| enabled |
boolean |
Specifies whether to enable memory scale-up. |
true |
| memUsageScaleUpThreshold |
number |
The memory scale-up threshold. Valid values: 0.0 to 1.0. Scale-up is triggered when memory usage exceeds this value. |
0.95 |
| oomScaleUpRule |
object |
The OOM scale-up rule. Scale-up is triggered when an OOM risk is detected. |
|
| enabled |
boolean |
Specifies whether to enable OOM scale-up. |
true |
| gcRule |
object |
The GC tuning rule. Scale-up is triggered when the GC time ratio exceeds the threshold. |
|
| enabled |
boolean |
Specifies whether to enable GC tuning. |
true |
| gcTimeRatioThreshold |
number |
The GC time ratio threshold. Valid values: 0.0 to 1.0. Scale-up is triggered when the GC time ratio exceeds this value. |
0.2 |
| gcSampleInterval |
string |
The GC sampling interval. Format examples: 3min, 5m. |
3min |
| scaleDownRules |
object |
The scale-down rule configuration. |
|
| slotBusyScaleDownRule |
object |
The slot idle scale-down rule. Scale-down is triggered when the slot busy ratio falls below the threshold. |
|
| enabled |
boolean |
Specifies whether to enable slot idle scale-down. |
true |
| slotBusyScaleDownSampleInterval |
string |
The slot idle sampling interval. Format examples: 4h, 5m. |
24h |
| slotBusyScaleDownThreshold |
number |
The slot idle scale-down threshold. Valid values: 0.0 to 1.0. Scale-down is triggered when the slot busy ratio falls below this value. This value must be less than the scale-up threshold. |
0.2 |
| memoryScaleDownRule |
object |
The memory scale-down rule. Scale-down is triggered when memory usage falls below the threshold. |
|
| enabled |
boolean |
Specifies whether to enable memory scale-down. |
true |
| memUsageScaleDownThreshold |
number |
The memory scale-down threshold. Valid values: 0.0 to 1.0. Scale-down is triggered when memory usage falls below this value. This value must be less than the scale-up threshold. |
0.3 |
| memUsageScaleDownSampleInterval |
string |
The memory scale-down sampling interval. Format examples: 4h, 5m. |
25h |
| advancedRules |
object |
The advanced rule configuration. This includes advanced parameters such as chain-break optimization, minimum parallelism, and TM CPU scaling. Disabled by default and must be explicitly enabled. |
|
| enabled |
boolean |
Specifies whether to enable advanced rules. |
false |
| parameters |
object |
The advanced rule parameters. An empty map indicates that internal default parameters are used. You can override specific internal parameters by using key-value pairs. The entire map is replaced. |
|
|
string |
The key-value parameter. |
{"k":"v"} |