koordinator-sh / koordinator

A QoS-based scheduling system brings optimal layout and status to workloads such as microservices, web services, big data jobs, AI jobs, etc.
https://koordinator.sh
Apache License 2.0
1.35k stars 331 forks source link

Reasonableness of resource estimates #2234

Open LY-today opened 1 week ago

LY-today commented 1 week ago

When the func of estimatedUsedByResource estimates the resource usage of the Pod, if the pod's request is less than the limit, then use the limit as the estimated value. If the request is equal to the limit, then use the limit * scalingFactor (scalingFactor is a preset value, the default In this case, the scalingFactor of the CPU is 85%) as an estimate. According to the QoS category and corresponding operation quality requirements, shouldn't the larger the estimate in the Guaranteed case, and the buffer estimate in the Burstable case, the higher the stability of the final scheduling result? But looking at the implementation, it seems to be exactly the opposite. I haven’t seen any design and implementation documentation for this in the community.

saintube commented 6 days ago

Duplicated #2232. Will be fixed by #2242.