forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admission,goschedstats: reduce scheduler sampling frequency when unde…
…rloaded The goschestats makes the determination of the tick interval every 1s, and either ticks at 1ms or 250ms. 250ms is used when the cpu is very underloaded. The admission control code disables slot and token enforcement if the tick interval is greater than 1ms. This is done since the reduced frequency of CPULoad could cause us to not adjust slots fast enough. Fixes cockroachdb#66881 Release justification: Fix for high-priority issue in new functionality. Release note: None
- Loading branch information
1 parent
7a00767
commit 34e8973
Showing
3 changed files
with
81 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters