[ 
https://issues.apache.org/jira/browse/FLINK-36836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17902813#comment-17902813
 ] 

yuanfenghu edited comment on FLINK-36836 at 12/4/24 2:37 AM:
-------------------------------------------------------------

h2. Background

In Autoscaler, we typically configure `target.utilization` (default is 0.7) and 
`target.utilization.boundary` (default is 0.3) to ensure tasks run in the range 
of 40% to 100%. In most scenarios, this configuration will make tasks work very 
well, but it is not flexible enough.

For example:

I want tasks to run at 30% to 80% utilization, but I also expect the 
utilization to be 50% after Autoscaler adjustments. Obviously, the above two 
parameters cannot achieve this.
h2. Solution

As [~gyfora]  mentioned, I suggest we need to use `target-utilization.min` and 
`target-utilization.max` to replace `target-utilization.boundary` to allow more 
flexible configuration.

 
I think we need to retain the `target-utilization.boundary` configuration item 
and add `target-utilization.max` and target-utilization.min to be compatible 
with the previous logic
 


was (Author: JIRAUSER296932):
h2. Background

In Autoscaler, we typically configure `target.utilization` (default is 0.7) and 
`target.utilization.boundary` (default is 0.3) to ensure tasks run in the range 
of 40% to 100%. In most scenarios, this configuration will make tasks work very 
well, but it is not flexible enough.

For example:

I want tasks to run at 30% to 80% utilization, but I also expect the 
utilization to be 50% after Autoscaler adjustments. Obviously, the above two 
parameters cannot achieve this.
h2. Solution

As [~gyfora]  mentioned, I suggest we need to use `target-utilization.min` and 
`target-utilization.max` to replace `target-utilization.boundary` to allow more 
flexible configuration.

> Autoscaler Supports config the upper and lower limits of target utilization.
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-36836
>                 URL: https://issues.apache.org/jira/browse/FLINK-36836
>             Project: Flink
>          Issue Type: Improvement
>          Components: Autoscaler
>            Reporter: yuanfenghu
>            Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to