From owner-freebsd-stable@FreeBSD.ORG Wed Apr 9 04:13:56 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED96F37B401 for ; Wed, 9 Apr 2003 04:13:56 -0700 (PDT) Received: from freebsd.org.ru (www.freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB1A243F75 for ; Wed, 9 Apr 2003 04:13:55 -0700 (PDT) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id A49DF5D; Wed, 9 Apr 2003 15:13:53 +0400 (MSD) Date: Wed, 9 Apr 2003 15:13:53 +0400 From: "Sergey A. Osokin" To: Michael Sierchio Message-ID: <20030409111353.GO37669@freebsd.org.ru> References: <1AF4070E0F26474A80DA4CA886ECE0C101300366@gtsexchange.gts.dk> <3E9309DC.1090407@tenebras.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E9309DC.1090407@tenebras.com> User-Agent: Mutt/1.5.4i cc: Johan Christiansen cc: freebsd-stable@freebsd.org Subject: Re: 4.8-STABLE Kernel Panic with dummynet options. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: osa@FreeBSD.org.ru List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 11:13:57 -0000 On Tue, Apr 08, 2003 at 10:41:48AM -0700, Michael Sierchio wrote: > Johan Christiansen wrote: > >I first met this problem when our (60 students) internetgateway refused to > >boot its new kernel, it was a 4.7-RELEASE. Then i loaded the old kernel and > >went home to check if my 4.8-STABLE does likewise. And the answer was yes! > >Both kernels were GENERIC + these options taken from the dummynet man > >pages: > > > >options DUMMYNET > >options NMBCLUSTERS > >options HZ > > Not quite... some of these take numeric arguments > > > options IPFIREWALL > options DUMMYNET > options HZ=2000 # choose and appropriate value > options DEVICE_POLLING # in 4.8+ this may help net perf > > # if you need to mess with these, read the kernel LINT file! > > options NMBCLUSTERS=1024 > options NMBUFS=4096 What is the NMBUFS? You talk about NSFBUFS? Anyway, NMBCLUSTERS and NSFBUFS maybe set at boot-time. Remove them from kernel config file and just add two following lines into your /boot/loader.conf.local: kern.ipc.nmbclusters="32768" kern.ipc.nsfbufs="32768" AFAIK 1024 is very-very small value for NMBCLUSTERS. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \