From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 01:20:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F09FB16A4D6 for ; Fri, 24 Sep 2004 01:20:25 +0000 (GMT) Received: from smtp16.wxs.nl (smtp16.wxs.nl [195.121.6.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F87743D2D for ; Fri, 24 Sep 2004 01:20:25 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp16.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4I005PLUE0VA@smtp16.wxs.nl> for freebsd-questions@freebsd.org; Fri, 24 Sep 2004 03:20:24 +0200 (CEST) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i8O1KKxZ038347; Fri, 24 Sep 2004 03:20:20 +0200 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i8O1KK9X038346; Fri, 24 Sep 2004 03:20:20 +0200 Content-return: prohibited Date: Fri, 24 Sep 2004 03:20:20 +0200 From: Alex de Kruijff In-reply-to: To: "Yaraghchi, Stephan" Message-id: <20040924012020.GC784@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: freebsd-questions@freebsd.org Subject: Re: DEVICE_POLLING in 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 01:20:26 -0000 On Thu, Sep 23, 2004 at 03:27:22PM +0200, Yaraghchi, Stephan wrote: > Hi fellows, > > I'm trying to tune network performance of a 5.3-BETA5 box > by compiling the DEVICE_POLLING and HZ=1000 options into > the kernel. Compilation went fine. > I found the usual warning in /usr/src/sys/kern/kern_poll.c > concerning device polling in SMP kernels and removed it. > > To finally enable the feature one have to set the sysctl > kern.polling.enable to value '1'. > > The only problem is that 5.3-BETA5 doesn't know about it: > > sysctl: unknown oid 'kern.polling.enable' > > Any advice is highly appreciated. Hi, Did you do a full make buildworld/kernel installkernel/world? If not then this might be why sysctl doesn't know about it. If so then maybe someone from current@ might know more about it. (maybe there read this list to) Does /usr/src/UPDATING say anything about it? -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/