-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provide a way to configure the blocking thread pool placement strategies
Add knobs in the local executor builders to configure how many blocking threads to create in the pool and where to place them on the system. By default, an executor spawns a single blocking thread in its pool and collocates it with its thread. It could be a good idea to loosen that default placement strategy to bind the blocking thread to any CPUs on the same package as the executor thread. This would maximize resource utilization and minimize memory latency. However, there is no easy way to do that using our existing Placement APIs.
- Loading branch information
Showing
4 changed files
with
86 additions
and
32 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