Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove WQ_UNLIMITED and change the limit of threads for WQ_DYNAMIC
This patch deletes WQ_UNLIMITED option because, with this option, sheep may consume a very large amount of memory (in some cases, to be killed by OOM-killer) by creating worker threads infinitely. This patch also changes the upper limit for the number of threads for WQ_DYNAMIC option from "#nodes*2" to "max(#nodes,#cores,16)*2". Signed-off-by: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp> Signed-off-by: Takashi Menjo <menjo.takashi@lab.ntt.co.jp> (cherry picked from commit cbe755a) Conflicts: dog/benchmark.c tests/unit/lib/test_work.c tests/unit/sheep/test_recovery.c
- Loading branch information
Showing
3 changed files
with
23 additions
and
27 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