From owner-freebsd-current Thu Jul 9 05:45:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA08995 for freebsd-current-outgoing; Thu, 9 Jul 1998 05:45:43 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA08977 for ; Thu, 9 Jul 1998 05:45:38 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with ESMTP id OAA25444; Thu, 9 Jul 1998 14:48:25 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Thu, 9 Jul 1998 14:48:25 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: =?ISO-8859-2?Q?Dag-Erling_Coidan_Sm=F8rgrav?= cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD in less than 4MB RAM In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-2 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 9 Jul 1998, Dag-Erling Coidan Smørgrav wrote: > Andrzej Bialecki writes: > > Also, "kernel" above doesn't equal `size kernel` - there are disk buffers, > > mbufs, stacks, and whatnot which are allocated on start; so its much > > bigger. > > I think a significant portion of that can be eliminated by reducing > MAXUSERS, but it's quite possible I'm speaking out of my arse. You mean proc tables etc... I'm not sure if it's significant (see below). > If you blow away most of /etc and set up a completely customized > environment, you might very well never need more than a handful of > processes (ever tried MASUERS=2?) but it may have a detrimental effect Yes. I even tried MAXUSERS=1 :-). > on network performance since it also reduces the number of mbufs and > mbuf clusters, which is Not Good (tm) if you're trying to set up a > router or gateway or whatever. This I can adjust with NMBCLUSTERS and MBUFS, or tweak the numbers manually. Andrzej Bialecki --------------------+--------------------------------------------------------- abial@nask.pl | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") } Research & Academic | "Be open-minded, but don't let your brains to fall out." Network in Poland | All of the above (and more) is just my personal opinion. --------------------+--------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message