From owner-freebsd-current@FreeBSD.ORG Sat Sep 25 14:01:42 2004 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 DB77116A4CE for ; Sat, 25 Sep 2004 14:01:42 +0000 (GMT) Received: from smtp19.wxs.nl (smtp19.wxs.nl [195.121.6.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99BD543D4C for ; Sat, 25 Sep 2004 14:01:42 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp19.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I4L008USOAQF3@smtp19.wxs.nl> for freebsd-current@freebsd.org; Sat, 25 Sep 2004 16:01:41 +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 i8PE1XRk001417; Sat, 25 Sep 2004 16:01:33 +0200 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i8PE1Wxv001416; Sat, 25 Sep 2004 16:01:32 +0200 Content-return: prohibited Date: Sat, 25 Sep 2004 16:01:32 +0200 From: Alex de Kruijff In-reply-to: <20040924220110.GD784@alex.lan> To: "Yaraghchi, Stephan" Message-id: <20040925140132.GB796@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: <20040924220110.GD784@alex.lan> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: freebsd-current@freebsd.org Subject: Re: DEVICE_POLLING in 5.3 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: Sat, 25 Sep 2004 14:01:43 -0000 On Sat, Sep 25, 2004 at 12:01:10AM +0200, Alex de Kruijff wrote: > On Fri, Sep 24, 2004 at 04:23:52PM +0200, Yaraghchi, Stephan wrote: > > > On Thu, Sep 23, 2004 at 03:27:22PM +0200, Yaraghchi, Stephan wrote: > > > > 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. > > > > > > 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? > > > > IMO it's not necessary since the changes only affect the kernel which > > I already recompiled. > > Nevertheless I also did a 'make buildworld' as you suggested: no luck. > > > > /usr/src/UPDATING says nothing about the issue. > > All I can think of is mergemaster or that it is a bug. I changed the > list to current@, in the hope that others with BETA5 read this. This should have read > is to use mergemaster or ... -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/