From owner-freebsd-arch Fri Jul 20 12:56:28 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id BC6B137B405 for ; Fri, 20 Jul 2001 12:56:24 -0700 (PDT) (envelope-from Jim.Pirzyk@disney.com) Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f6KJtbI23365 for ; Fri, 20 Jul 2001 12:55:37 -0700 (PDT) Received: from [172.30.50.1] by pain.corp.disney.com with ESMTP for arch@freebsd.org; Fri, 20 Jul 2001 12:56:39 -0700 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by pecos.fa.disney.com (8.11.3/8.11.3) with ESMTP id f6KJths03605 for ; Fri, 20 Jul 2001 12:55:43 -0700 (PDT) Received: from mercury.fan.fa.disney.com (mercury.fan.fa.disney.com [153.7.119.1]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id MAA07448 for ; Fri, 20 Jul 2001 12:55:42 -0700 (PDT) (envelope-from Jim.Pirzyk@disney.com) Received: from snoopy.fan.fa.disney.com by mercury.fan.fa.disney.com; Fri, 20 Jul 2001 12:55:41 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Jim Pirzyk Organization: Walt Disney Feature Animation To: Bakul Shah , tlambert2@mindspring.com Subject: Re: Setting the default MAX Stack size Date: Fri, 20 Jul 2001 12:55:41 -0700 X-Mailer: KMail [version 1.2] Cc: arch@freebsd.org References: <200107201709.NAA29982@marlborough.cnchost.com> In-Reply-To: <200107201709.NAA29982@marlborough.cnchost.com> MIME-Version: 1.0 Message-Id: <0107201255410J.07804@snoopy> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 20 July 2001 10:08 am, Bakul Shah wrote: > > > How about something like > > > > > > options MAXSSIZ="(256UL*1024*1024)" > > > > > > in your config file? > > > > This increases the maximum user space stack size, not the > > stack size in the kernel. > > > > If this is what he meant, then yeah, this will do it; > > I too was initially confused but I believe this is what he > > meant based on the following (from his email): > > > The program that is being used is by one of our developers and it > > > is using recursion internally to do smog particle simulation over > > > many frames (visual effects). Or systems are installed with > > > 2GB of memory and they set there stack size to 128MB (from 64MB). > > Stranger things have happened but I didn't think the Disney > folks had implemented smog particle simulation in the kernel > space:-) > > Your original comment about rewriting kernel code to use less > space is equally valid for user code but Pirzyk probably > wanted a quick fix first. This is what I get for being sufficiently vague in my inital email. We would have some software developers that would like to implement the particle simulations in the kernel so they could run faster :) Yes we could get them to rewrite the code, but since the increase of swap to the availble memory was not drastic, I though this would be the best answer for all. Thanks all. - JimP -- --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message