-
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.
crimson/thread: pin thread pool to given CPU
to take the full advantage of seastar reactor, we need to confine the alien threads to given CPU core(s). in current setting, it's assumed that alien threads do not perform CPU-bound tasks, so a single core would suffice. we can always change the interface to pass a cpu_set_t or a std::bitset if one CPU core is not enough. Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information
Showing
3 changed files
with
21 additions
and
5 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