From owner-freebsd-ppc@FreeBSD.ORG Tue Sep 7 05:40:17 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCB5D10656C1 for ; Tue, 7 Sep 2010 05:40:17 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 695E18FC20 for ; Tue, 7 Sep 2010 05:40:16 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-8-131.flashcable.ch [91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id o8753DK5045704; Tue, 7 Sep 2010 07:03:14 +0200 (CEST) (envelope-from andreast@FreeBSD.org) Message-ID: <4C85C791.4090508@FreeBSD.org> Date: Tue, 07 Sep 2010 07:03:13 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Alexander Motin References: <4C83BB60.6050400@FreeBSD.org> <4C85617D.4080207@gcc.gnu.org> <4C85C12D.5040604@FreeBSD.org> In-Reply-To: <4C85C12D.5040604@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: Nathan Whitehorn , freebsd-ppc@FreeBSD.org Subject: Re: [RFC] Event timers on PowerPC X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 05:40:17 -0000 On 07.09.10 06:35, Alexander Motin wrote: > Andreas Toler wrote: >> G5 after: >> --------- >> [bohrium:~] andreast% vmstat -i >> interrupt total rate >> cpu0:decrementer 1957106 783 > ... >> cpu1:decrementer 176153140 70517 >> Total 179730709 71949 > > This look strange. Is there indeed such amount of interrupts on CPU1? > What patches have you applied? Is it constant or periodic? What can you > see in `systat -vm 1`? Hm, for the details we might ask Nathan. I applied all three mentioned patches, the base patch and the two powerpc patches. Below the vmstat -i 1 output. The system is up for 5' now. No activity, only a few times the below command. The values of the decrementer increases continously. About ten within 2''. (early morning observing) I'll be back in the evening for further tests. Andreas [bohrium:~] andreast% vmstat -i 1 interrupt total rate cpu0:decrementer 49668 172 irq42: iichb0 690 2 irq312: htpic0 691 2 irq316: aoagpio0 1 0 irq282: iichb1 30 0 irq257: pcm0 1 0 irq283: ohci0 1 0 irq284: ohci1 1 0 irq319: ohci2 ohci+ 314 1 irq295: ata0 39 0 irq296: fwohci0 11 0 irq297: gem0 591 2 irq256: atapci0 1662 5 irq376: IPI 20195 70 cpu1:decrementer 176117266 611518 Total 176191161 611774