From owner-freebsd-smp Sun Dec 29 18:46:09 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA26559 for smp-outgoing; Sun, 29 Dec 1996 18:46:09 -0800 (PST) Received: from mail001.mediacity.com (mail001.mediacity.com [206.24.105.68]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id SAA26554 for ; Sun, 29 Dec 1996 18:46:05 -0800 (PST) From: brian@mediacity.com Received: (qmail-queue invoked from smtpd); 30 Dec 1996 02:45:29 -0000 Received: from home001.mediacity.com (HELO mediacity.com) (qmailr@206.24.105.66) by mail001.mediacity.com with SMTP; 30 Dec 1996 02:45:29 -0000 Received: (qmail-queue invoked by uid 100); 30 Dec 1996 02:44:28 -0000 Message-ID: <19961230024428.26653.qmail@mediacity.com> Subject: Re: A question of how much memory? To: dg@root.com Date: Sun, 29 Dec 1996 18:44:28 -0800 (PST) Cc: freebsd-smp@freebsd.org In-Reply-To: <199612290259.SAA02634@root.com> from David Greenman at "Dec 28, 96 06:59:56 pm" Reply-To: brian@mediacity.com X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Brian Litzinger wrote: > >However, my assumptions may be wrong, and memory may be shared > >in some way. In which case MAXMEM may need to by 256*1024. > >I've tried this and the kernel fails to boot with a Panic > >message along the lines of unable to [reach/allocate?] bounce > >buffer. > > > >Basically, which is it supposed to work? > David Greenman wrote: > You're correct that your assumption is wrong. All of the memory is shared > in SMP PCs. The reason the machine panics is because you have run out of > kernel virtual memory. You need to more carefully tune the various parameters > in your kernel config file (the ones that take lots of virtual memory like > NMBCLUSTERS). The fact that it doesn't panic with 128MB indicates that you > are right on the edge of running out and the extra kernel data structures > that are allocated to manage 256MB is just enough to run out. > BTW, why do you have bounce buffers configured in your kernel?? That option is turned on in the GENERIC config by default. Shall I comment it out? -- Brian Litzinger Powered by FreeBSD http[s]://www.mpress.com speakfree.mpress.com [use -t (GSM)] How to program in c++: //