From owner-freebsd-current@FreeBSD.ORG Thu Dec 25 11:58:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8E8116A4CE; Thu, 25 Dec 2003 11:58:47 -0800 (PST) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7536C43D3F; Thu, 25 Dec 2003 11:58:45 -0800 (PST) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by smtp.atlantis.dp.ua (8.12.6p2/8.12.6) with ESMTP id hBPJwbNL088692; Thu, 25 Dec 2003 21:58:37 +0200 (EET) (envelope-from dmitry@atlantis.dp.ua) Date: Thu, 25 Dec 2003 21:58:37 +0200 (EET) From: Dmitry Pryanishnikov To: stable@freebsd.org Message-ID: <20031225214950.M86827@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Thu, 25 Dec 2003 17:57:07 -0800 cc: current@freebsd.org Subject: Re: [SOLVED] RE: [Backtrace] 4.9 and 5.1-RELEASE occasionly panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2003 19:58:47 -0000 Hello! > From: Sten > > I'd really love getting rid of most hardcoded memory allocations > in the fbsd kernel, with the main bugger being NMBCLUSTERS, > which one always forgets about untill it's too late :(. > In solaris auto-tuning has been a top priority for a long while, > and propper dynamic tuning should get it right ( or even better ) > in 99% of the cases. People with other needs should be able > to build a custom kernel. You need _not_ to build custom FreeBSD kernel in order to increase NMBCLUSTERS. Both CURRENT and STABLE allows setting it from loader.conf: kern.ipc.nmbufs="32768" # Number of mbufs kern.ipc.nmbclusters="16384" # Number of mbuf clusters But yes, you have to reboot your system if you want to raise them. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE