From owner-freebsd-current@FreeBSD.ORG Thu Jan 21 17:04:36 2010 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 5D7021065670 for ; Thu, 21 Jan 2010 17:04:36 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id DCFF48FC16 for ; Thu, 21 Jan 2010 17:04:35 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o0LH4Iie079955; Thu, 21 Jan 2010 18:04:34 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o0LH4I0C079954; Thu, 21 Jan 2010 18:04:18 +0100 (CET) (envelope-from olli) Date: Thu, 21 Jan 2010 18:04:18 +0100 (CET) Message-Id: <201001211704.o0LH4I0C079954@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 21 Jan 2010 18:04:34 +0100 (CET) Cc: Subject: top(1) + vmstat(8): CPU percentages broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 21 Jan 2010 17:04:36 -0000 Hello, On a 9-current system (sources as of Monday 2010-01-18), top(1) displays 0% for _all_ values in the "CPU" line (user, nice, sys, int, idle). Also, in vmstat(1) the cpu columns us/sy/id are always zero. Is there a know problem with CPU time accounting in 9-current? BTW, if it matters, this is with a GENERIC kernel minus WITNESS and INVARIANTS. The machine has two HT-enabled quadcore-packages, i.e. in total this is a 16-way SMP system. kern.timecounter.hardware is ACPI-fast. I've put dmesg and other information here: http://www.secnetix.de/olli/dmesg/hs22/ (There also seem to be problems with the performance of the mpt(4)-connected disks, but I guess that's an unrelated problem.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure." -- Eric Allman