From owner-freebsd-current@FreeBSD.ORG Wed May 7 07:04:11 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7402A1065674 for ; Wed, 7 May 2008 07:04:11 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.freebsd.org (Postfix) with ESMTP id 061C18FC1D for ; Wed, 7 May 2008 07:04:10 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.178.136]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 May 2008 08:50:54 +0200 Date: Wed, 7 May 2008 08:51:12 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Michael Proto In-Reply-To: <482121B1.7080901@jellydonut.org> Message-ID: <20080507085035.L9490@beagle.kn.op.dlr.de> References: <4820FE0F.9050808@jellydonut.org> <200805070149.m471nToM073813@lava.sentex.ca> <482121B1.7080901@jellydonut.org> X-OpenPGP-Key: harti@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 07 May 2008 06:50:54.0220 (UTC) FILETIME=[B1FC6CC0:01C8B00E] Cc: freebsd-current@freebsd.org, Mike Tancsa Subject: Re: bsnmpd hrProcessorLoad results incorrect on FreeBSD 7 or 8? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2008 07:04:11 -0000 On Tue, 6 May 2008, Michael Proto wrote: MP>Mike Tancsa wrote: MP>> At 08:55 PM 5/6/2008, Michael Proto wrote: MP>> > Is anyone seeing problems with bsnmpd reporting an incorrect MP>> > HOST-RESOURCES-MIB::hrProcessorLoad value under HEAD? I'm using the MP>> > default /etc/snmpd.config settings and am loading the MP>> > /usr/lib/snmp_hostres.so library just as I do in 6.3, but the value for MP>> > this MIB always reports CPU utilization at 100% regardless of the actual MP>> > load on the system. 6.3 and 6-STABLE both work correctly and report the MP>> > actual CPU utilization when queried. MP>> MP>> IIRC, I noticed this when I changed to ULE from 4BSD_SCHED. MP>> MP>> ---Mike MP>> _______________________________________________ MP>> freebsd-current@freebsd.org mailing list MP>> http://lists.freebsd.org/mailman/listinfo/freebsd-current MP>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" MP> MP>Would match my environment as well, as I'm using ULE on all of the MP>affected systems. Just built a 4BSD kernel on my HEAD system and MP>HOST-RESOURCES-MIB::hrProcessorLoad reports a correct value again. MP> MP>Anyone have an idea on a fix? If anybody has a fix that works with both schedulers, I happily commit this. harti