DragonFly BSD
DragonFly users List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: On Mono port


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Sat, 29 Jan 2005 14:44:47 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Sat, Jan 29, 2005 at 01:32:29AM -0800, Matthew Dillon wrote:
>     I would tend towards using a 1MB or 2MB default threading stack size...
>     whatever Linux is using.  The sad fact of the matter is that programmers
>     don't pay much attention to stack size any more, even when writing
>     threaded applications, so the default has to change along with the times.

For single threaded applications, the stack size is a non-issue. But for
multithreaded programs, you have to map the stack address space in advance,
using 1MB by default can eat the Virtual Address Space in no time.

Joerg

> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]