Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change local scheduling to guarantee a time share to levels
Previously, lower levels had absolute priority over higher levels, which caused longer running queries to starve for periods of time. The scheduler now allocates shares of time to each level, with the fraction of time configured using the level priority multiplier config property. For example, if the multiplier is set to 2, level 0 will get 2x the scheduled time of level 1, and 4x the time of level 2. This honors the design principle of prioritizing shorter queries, while guaranteeing that no level starves.
- Loading branch information
1 parent
d743fb0
commit 2395e96
Showing
7 changed files
with
354 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
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
Oops, something went wrong.