From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 7 20:04:40 2014 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19837A80 for ; Mon, 7 Jul 2014 20:04:40 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2F5D2B86 for ; Mon, 7 Jul 2014 20:04:39 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1X4F9R-000EPc-Uh; Mon, 07 Jul 2014 20:04:38 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s67K4Y3F001399; Mon, 7 Jul 2014 14:04:34 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/KARRUOcF1aGyrPo5HpkHe Subject: Re: vmstat -i and systat -vm interrupt reporting on CAMBRIA and AVILA From: Ian Lepore To: John Hay In-Reply-To: <20140707194425.GB79553@zibbi.meraka.csir.co.za> References: <20140707194425.GB79553@zibbi.meraka.csir.co.za> Content-Type: text/plain; charset="us-ascii" Date: Mon, 07 Jul 2014 14:04:34 -0600 Message-ID: <1404763474.65432.39.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2014 20:04:40 -0000 On Mon, 2014-07-07 at 21:44 +0200, John Hay wrote: > Hi Guys, > > While looking for my atheros problems, I noticed that there seems to > be some reporting problem with interrupts on CAMBRIA and AVILA or > maybe my expectations are wrong. I see: > > :~ # vmstat -i > interrupt total rate > Total 67723 130 > :~ # > > And for systat -vm on the righthand side I see: > > Interrupts > 126 total > 100 > 6 > 20 > > For vmstat -i I would have expected a breakdown of the interrupts with > their names, totoal and rate. Not just a Total. Systat seems to find > a little more with the 3 numbers, but also cannot find the names? > > Regards > > John I wonder if this could be related to the changes HPS made recently to sysctl? vmstat -i gets its info through sysctl, and it's a particularly perverse conspiracy of agreement between kernel and userland on how to interpret a binary blob of sysctl data that contains a variable length table of variable length strings, as I vaguely recall it. -- Ian