forked from facebookincubator/velox
-
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.
Add metrics to track local and global memory arbitrations separately (f…
…acebookincubator#9224) Summary: We trigger memory arbitrations for two different reasons: (1) a query exceeds its own memory limit; (2) the memory arbitrator doesn't have free space to grow a query memory arbitration request. The latter indicates we are over-provision the worker memory or it happens that they are all run at the peak (at least we don't expect the memory arbitration to handle the sustained high memory usage. The memory arbitration should help to handle the transient peak memory usage, otherwise, the whole worker performance will be severely degraded). The case (1) can run in parallel and shouldn't affect the other running queries or block their memory arbitration if the system has free capacities. We might consider the followup optimization for case (1). For now, add metrics to monitor the two arbitration events separately in this PR Pull Request resolved: facebookincubator#9224 Reviewed By: bikramSingh91, oerling Differential Revision: D55261366 Pulled By: xiaoxmeng fbshipit-source-id: 3258b6cef04c7afde4cce0c0d5cdaa19bbc919e8
- Loading branch information
1 parent
dcc3c88
commit 458339f
Showing
4 changed files
with
37 additions
and
0 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