Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sheep: add a new option for setting threads for dynamic workqueues
This commit adds a new option -x to sheep for configuring the maximum number of threads for dynamic workqueues. Example: # Set the max number of threads for dynamic workqueues to 500 $ sheep -x 500 If this is not passed, sheep uses a default formula for configuring the maximum number (that is, max(#nodes,#cores,16)*2). This is for tuning performance, so please be careful to use. Sheep works very slowly if you give a too small number, or may be shot by OOM-killer under heavy load if you give a huge number. Signed-off-by: Takashi Menjo <menjo.takashi@lab.ntt.co.jp> (cherry picked from commit dd924bd) Conflicts: lib/work.c
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 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