From owner-freebsd-mips@FreeBSD.ORG Tue Apr 20 11:39:58 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B29DC1065678 for ; Tue, 20 Apr 2010 11:39:58 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 59ACC8FC14 for ; Tue, 20 Apr 2010 11:39:58 +0000 (UTC) Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id CCB1D11BA50 for ; Tue, 20 Apr 2010 06:39:57 -0500 (CDT) Received: from 10.0.10.3 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id TNC3U5B7SQKP for ; Tue, 20 Apr 2010 06:39:57 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) From: Rui Paulo In-Reply-To: Date: Tue, 20 Apr 2010 12:39:55 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <4C314E9E-E947-4572-8ABC-F2C415EEBFF9@freebsd.org> References: To: freebsd-mips@freebsd.org X-Mailer: Apple Mail (2.1078) Subject: Re: [PATCH] Account RMI XLR interrupts X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2010 11:39:58 -0000 On 20 Apr 2010, at 12:36, Rui Paulo wrote: > Hi, > The following patch accounts interrupts on the XLR and makes vmstat -i = and systat work display useful data. I think the commented out atomic = inc can go away, but I'm not sure. >=20 > Here's an example: >=20 > $ vmstat -i > interrupt total rate > int16: 56118 984 > int17: 214 3 > Total 56332 988 >=20 > int16 is the timer and int17 is the network interface (rge1). Actually, int17 is the serial console. Not sure why the network = interface doesn't show up. Regards, -- Rui Paulo