From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 12:21:56 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 D5CDD16A4CE for ; Mon, 27 Sep 2004 12:21:56 +0000 (GMT) Received: from boerse-berlin-bremen.de (h-213.61.228.202.host.de.colt.net [213.61.228.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 699CA43D49 for ; Mon, 27 Sep 2004 12:21:53 +0000 (GMT) (envelope-from stephan.yaraghchi@boerse-berlin-bremen.de) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Date: Mon, 27 Sep 2004 14:21:51 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DEVICE_POLLING in 5.3 Thread-Index: AcSjCC9E5V23m8AMSVSM6WZ1IhSmcwBg4OaA From: "Yaraghchi, Stephan" To: "Alex de Kruijff" X-Mailman-Approved-At: Mon, 27 Sep 2004 12:52:59 +0000 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: Mon, 27 Sep 2004 12:21:57 -0000 > -----Original Message----- > From: Alex de Kruijff [mailto:freebsd@akruijff.dds.nl] > Sent: Saturday, September 25, 2004 4:02 PM > To: Yaraghchi, Stephan > Cc: freebsd-current@freebsd.org > Subject: Re: DEVICE_POLLING in 5.3 >=20 >=20 > 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,=20 > Stephan wrote: > > > > > I'm trying to tune network performance of a 5.3-BETA5 box > > > > > by compiling the DEVICE_POLLING and HZ=3D1000 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. > > > > >=20 > > > > > To finally enable the feature one have to set the sysctl > > > > > kern.polling.enable to value '1'. > > > > >=20 > > > > > The only problem is that 5.3-BETA5 doesn't know about it: > > > > >=20 > > > > > sysctl: unknown oid 'kern.polling.enable' > > > > >=20 > > > > > Any advice is highly appreciated. > > > >=20 > > > > Did you do a full make buildworld/kernel=20 > installkernel/world? If not > > > > then this might be why sysctl doesn't know about it. If=20 > so then maybe > > > > someone from current@ might know more about it. (maybe=20 > there read this > > > > list to) > > > >=20 > > > > Does /usr/src/UPDATING say anything about it? > > >=20 > > > IMO it's not necessary since the changes only affect the=20 > kernel which > > > I already recompiled. > > > Nevertheless I also did a 'make buildworld' as you=20 > suggested: no luck. > > >=20 > > > /usr/src/UPDATING says nothing about the issue. > >=20 > > 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.=20 >=20 > This should have read > is to use mergemaster or ... >=20 > --=20 > Alex >=20 > Articles based on solutions that I use: > http://www.kruijff.org/alex/FreeBSD/ >=20 Hi Alex, Since I didn't do any upgrading I don't think there's a reason for running mergemaster. I just did a fresh install of 5.3-BETA5 from a CD-ROM and tried to enable device polling the usual way. The only thing that didn't work is to set the sysctl kern.polling.enable because the system says it's unknown... Does anyone else have any advice? Regards, Stephan.