[sheepdog] [sheepdog/sheepdog] cbe755: Remove WQ_UNLIMITED and change the limit of thread...
Hitoshi Mitake
mitake.hitoshi at gmail.com
Thu Jan 19 06:20:07 CET 2017
Branch: refs/heads/master
Home: https://github.com/sheepdog/sheepdog
Commit: cbe755af178566fa2aa8b0b18e2b8d50c1e74ec7
https://github.com/sheepdog/sheepdog/commit/cbe755af178566fa2aa8b0b18e2b8d50c1e74ec7
Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
M dog/benchmark.c
M include/work.h
M lib/work.c
M sheep/sheep.c
M tests/unit/lib/test_work.c
M tests/unit/sheep/test_recovery.c
Log Message:
-----------
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 at lab.ntt.co.jp>
Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
Commit: 729e66ae8c1e04236ecb9939c462d7155a6034b3
https://github.com/sheepdog/sheepdog/commit/729e66ae8c1e04236ecb9939c462d7155a6034b3
Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
Date: 2017-01-19 (Thu, 19 Jan 2017)
Changed paths:
M dog/benchmark.c
M include/work.h
M lib/work.c
M sheep/sheep.c
M tests/unit/lib/test_work.c
M tests/unit/sheep/test_recovery.c
Log Message:
-----------
Merge pull request #350 from tmenjo/fix-max-threads
Remove WQ_UNLIMITED and change the limit of threads for WQ_DYNAMIC
Compare: https://github.com/sheepdog/sheepdog/compare/6717ab2dec2e...729e66ae8c1e
More information about the sheepdog
mailing list