[M] Change in ...nfs-ganesha[next]: threads: set appropriate thread stack size for fridge and ntirpc workers
Kaleb KEITHLEY has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1177874?usp=email ) Change subject: threads: set appropriate thread stack size for fridge and ntirpc workers ...................................................................... threads: set appropriate thread stack size for fridge and ntirpc workers Allow the user to set thread stack size with a command line option. See https://github.com/nfs-ganesha/ntirpc/pull/280 glibc's default thread stack size is 8M. N.B. This can be overridden across the whole process by setting the stack size with ulimit; by default threads will inherit the same size for their thread stack. Empirical testing shows that ganesha works with a thread stack size as small as 16K (the glibc minimum). The same testing shows that ganesha works with ntirpc worker thread stack size of 32K. Change-Id: Ie090175477327a0e72307e3a2282d90f15489f3b Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> --- M src/MainNFSD/nfs_init.c M src/MainNFSD/nfs_lib.c M src/MainNFSD/nfs_main.c M src/MainNFSD/nfs_rpc_dispatcher_thread.c M src/include/common_utils.h M src/include/nfs_init.h M src/support/delayed_exec.c M src/support/fridgethr.c 8 files changed, 71 insertions(+), 13 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/74/1177874/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1177874?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ie090175477327a0e72307e3a2282d90f15489f3b Gerrit-Change-Number: 1177874 Gerrit-PatchSet: 1 Gerrit-Owner: Kaleb KEITHLEY <kaleb@redhat.com>
participants (1)
-
Kaleb KEITHLEY (GerritHub)