On Tue, Sep 24, 2002 at 01:27:16PM -0700, Roland McGrath wrote: > > In cthreads, we currently default to 64k stacks (16 * vm_page_size, > > c.f. libthread/stack.c:stack_init), should we increase this? > > Yes, it's probably wisest to use the same default that LinuxThreads does. > Though that might be an issue for Hurd servers with lots of threads.
Yes, esp. with Mach evicting those pages en mass. Also, I think for filesystems we know that the normal RPC service thread does not use a lot of stack. I don't think we should change anything until we have changed everything to pthreads, and then we should use small stacks for RPC service threads, and large stacks by default for everyone else. I have not yet seen an application that needs more than 64kb stack (although I have heard of some, like mysql, IIRC - but we have other problems before such programs run well on the Hurd). Thanks, Marcus -- `Rhubarb is no Egyptian god.' GNU http://www.gnu.org [EMAIL PROTECTED] Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/ [EMAIL PROTECTED] http://www.marcus-brinkmann.de/ _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
