-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Tracking Issue of Background Resource Control #44517
Labels
type/enhancement
The issue or PR belongs to an enhancement.
Comments
5 tasks
1 task
12 tasks
12 tasks
This was referenced Jul 13, 2023
12 tasks
This was referenced Aug 3, 2023
12 tasks
This was referenced Nov 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Description
In order to control the background tasks' resource usage, we plan to add an extra quota resource limit layer to the background jobs. That is, for foreground jobs, on the tikv side, the scheduler only controls the enqueue/deque order. Thus, running tasks is not under control, and tasks from different routine(thread pool) are not controlled either. But for the background jobs, the extra quota limiter layer can ensure the running tasks(in different pools) can be preempted early enough, so their resource usage can appeal to the setting:
Task Breakdown
Management
Default
, and relative API- [ ] TiDB @nolouch
- [ ] Local @HuSharp
TiKV Resource Limiter tikv/tikv#14900
The text was updated successfully, but these errors were encountered: