From owner-freebsd-threads@FreeBSD.ORG Fri Nov 19 21:17:37 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 483C516A4CE; Fri, 19 Nov 2004 21:17:37 +0000 (GMT) Received: from lakermmtao08.cox.net (lakermmtao08.cox.net [68.230.240.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CEFF43D48; Fri, 19 Nov 2004 21:17:36 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from smtp.east.cox.net ([172.18.52.54]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with SMTP <20041119211734.LESF29395.lakermmtao08.cox.net@smtp.east.cox.net>; Fri, 19 Nov 2004 16:17:34 -0500 X-Mailer: Openwave WebEngine, version 2.8.15 (webedge20-101-1103-20040528) From: To: "Daniel Eischen" Date: Fri, 19 Nov 2004 16:17:34 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20041119211734.LESF29395.lakermmtao08.cox.net@smtp.east.cox.net> cc: Joe Marcus Clarke cc: Alexander Nedotsukov cc: freebsd-threads@freebsd.org Subject: Re: Question about our default pthread stack size X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 21:17:37 -0000 Had to reply in webmail without followup, because smtp.central.cox.net is down for two days that will not allow me send anything. Anyway...(copy-n-paste) On Fri, 19 Nov 2004 11:01:50 -0500 (EST), Daniel Eischen wrote: > On Fri, 19 Nov 2004, Alexander Nedotsukov wrote: > >> Hey guys, >> >> After squashing yet another "too small thread stack size" bug in >> software developed on Linux. I decided to ask gurus for the comment. Why >> we still insist that 64K is good enough for 32bit archs? I do understand > > I suggested we double the stack size for 64-bit archs > (making it 128K). I could see going to 256K for 32-bit > and 512K for 64-bit. Why still keep it low? > We haven't worried too much about stack size since > everything has been running with libc_r for years without > too many problems and it's been using the same stack size. I don't think this 'without too many problems' give a good answer and reason, which this is rather blind to all of us. Maybe, it's me that don't understand the point or you still haven't answer to a real reason so far from what I have read the follows up to your lastest email (Fri, 19 Nov 2004 14:53:07 -0500 (EST)). My view is that if we higher the stack size and FreeBSD will have lesser problem by not have 'too small thread stack size', not have to hack in apps and etc. Unless anyone know what real reason (no theory, pls) why FreeBSD keeps the stack size smaller other than Bill Gates's 640 K quote excuse? Cheers, Mezz