[sheepdog] [sheepdog/sheepdog] dd924b: sheep: add a new option for setting threads for dy...
Hitoshi Mitake
mitake.hitoshi at gmail.com
Mon Jan 23 06:19:12 CET 2017
Branch: refs/heads/master
Home: https://github.com/sheepdog/sheepdog
Commit: dd924bdb67b0f5fa668afb24a1152be0c93b1796
https://github.com/sheepdog/sheepdog/commit/dd924bdb67b0f5fa668afb24a1152be0c93b1796
Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
Date: 2017-01-23 (Mon, 23 Jan 2017)
Changed paths:
M include/work.h
M lib/work.c
M sheep/sheep.c
Log Message:
-----------
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 at lab.ntt.co.jp>
Commit: c42b9d5f0cd5998911cc271f31dbb934380c4ddf
https://github.com/sheepdog/sheepdog/commit/c42b9d5f0cd5998911cc271f31dbb934380c4ddf
Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
Date: 2017-01-23 (Mon, 23 Jan 2017)
Changed paths:
M lib/work.c
Log Message:
-----------
sheep: fix logic for setting the max number of threads for dynamic WQ
This commit makes a minor change on "doubling growth". If the double
of the current number of threads for a dynamic queue exceeds the
maximum number, that workqueue grows into that maximum number.
Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
Commit: 810e4c6d921f4c339e48311dd7a3ad58914a83f7
https://github.com/sheepdog/sheepdog/commit/810e4c6d921f4c339e48311dd7a3ad58914a83f7
Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
Date: 2017-01-23 (Mon, 23 Jan 2017)
Changed paths:
M include/work.h
M lib/work.c
M sheep/sheep.c
Log Message:
-----------
Merge pull request #351 from tmenjo/fix-max-dynamic-threads
sheep: add a new option for setting threads for dynamic workqueues
Compare: https://github.com/sheepdog/sheepdog/compare/729e66ae8c1e...810e4c6d921f
More information about the sheepdog
mailing list