Skip to content

scheduler: remove exp from hot scheduler #3830

@lhy1024

Description

@lhy1024

As of 4.0, exp was introduced in hotspot scheduling in order to avoid redundant scheduling.

However, during recent development I noticed that for both the qps and byte dimensions, the exp of both often conflicted, preventing the majority of scheduling, so we needed to remove or adapt it.

Possible problems

  1. no manual gear adjustment mechanism
  2. redundant scheduling may not be prevented

The solution

  1. keep it, but set the threshold to a very low value
  2. change the judgment condition from "and" to "or"
  3. simply remove it and leave the task of preventing redundant scheduling to pending influence

Metadata

Metadata

Assignees

Labels

type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions