[dtrace-discuss] Detect stack size
Trond Norbye
trond at norbye.org
Mon Dec 4 12:41:44 PST 2006
I am currently converting a single threaded process into a multi-threaded process by using pthreads. I have currently increased the stack size for each thread to 4MB, but since I am going to have a lot of threads I would like to reduce this to ~1/4MB.
So how do I get there? Does anyone have any good ideas on how I can detect the stack requirements for the different functions (so I can start by analyzing the functions consuming the most stack space)...
Thanks
Trond
This message posted from opensolaris.org
More information about the dtrace-discuss
mailing list