Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource control inside dist framework #49008

Open
41 of 43 tasks
D3Hunter opened this issue Nov 29, 2023 · 0 comments
Open
41 of 43 tasks

resource control inside dist framework #49008

D3Hunter opened this issue Nov 29, 2023 · 0 comments
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@D3Hunter
Copy link
Contributor

D3Hunter commented Nov 29, 2023

Feature Request

Is your feature request related to a problem? Please describe:

  • Currently, the dispatcher manager supports up to 4 tasks, and the Scheduler manager can process up to 4 tasks.
  • The dispatcher/Scheduler manager does not consider the concurrent configuration of tasks when processing tasks, and resources may be overused, resulting in OOM.
  • The above manager does not consider the order of tasks. After task A is processed halfway, it may start processing other tasks due to failover and other reasons, causing task A to keep waiting.

Describe the feature you'd like:

This feature will add control over cpu/mem/disk within the nodes managed by framework(see tidb_service_scope), improves resource usage, avoids overall resource usage exceeding limits, and ensures task execution order. When executing multiple tasks in parallel, ensure that each task can run normally without affecting each other.
in first version, we consider dist framework can use all resources that it runs on.

resource control

others

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@D3Hunter D3Hunter added the type/feature-request Categorizes issue or PR as related to a new feature. label Nov 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jan 10, 2024
ti-chi-bot bot pushed a commit that referenced this issue Jan 10, 2024
ti-chi-bot bot pushed a commit that referenced this issue Feb 26, 2024
ti-chi-bot bot pushed a commit that referenced this issue Mar 7, 2024
ti-chi-bot bot pushed a commit that referenced this issue Mar 13, 2024
ti-chi-bot bot pushed a commit that referenced this issue Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant