From owner-freebsd-arm@FreeBSD.ORG Sun Mar 7 20:12:29 2010 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED5D1106564A for ; Sun, 7 Mar 2010 20:12:29 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 599058FC17 for ; Sun, 7 Mar 2010 20:12:28 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o27KCRlw066730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 7 Mar 2010 21:12:27 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.3/8.14.3) with ESMTP id o27KCOfO077340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Mar 2010 21:12:24 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o27KCNV7012611; Sun, 7 Mar 2010 21:12:23 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o27KCNWh012610; Sun, 7 Mar 2010 21:12:23 +0100 (CET) (envelope-from ticso) Date: Sun, 7 Mar 2010 21:12:23 +0100 From: Bernd Walter To: Maks Verver Message-ID: <20100307201222.GB11192@cicely7.cicely.de> References: <4B92BD9D.6030709@geocities.com> <20100306211715.GK58319@cicely7.cicely.de> <20100306215153.GL58319@cicely7.cicely.de> <20100306.152603.716362616846278503.imp@bsdimp.com> <4B9303E4.3090500@geocities.com> <20100307070010.GO58319@cicely7.cicely.de> <4B9404DE.70607@geocities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B9404DE.70607@geocities.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.001, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: freebsd-arm@freebsd.org Subject: Re: Performance of SheevaPlug on 8-stable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2010 20:12:30 -0000 On Sun, Mar 07, 2010 at 08:56:14PM +0100, Maks Verver wrote: > On 03/07/2010 08:00 AM, Bernd Walter wrote: > > That's probably just because of different CPUs. > > I see a similar output on all of my systems with ARM920T CPU and > > still there is something wrong. > > That's strange indeed. I'm not sure if our problems are at all related > (as in: caused by the same problem) as you seem to be using fairly > different hardware. That's true, but the symptoms I see are quite similar, although the OS version seem to have an influence on how high the performance loss actually is. This fact is especially puzzling, because I would have either expected similar results or calulated performance. > In my case the kernel (at boot up) doesn't seem to even think caches are > enabled, which gives me some hope that if they were, then they would > work. In your case the kernel claims to enable them but then they don't > work. Seems different to me. It is just different code printing the details for your CPU. Take a look into sys/arm/arm/identcpu.c. There is "if xxx IC disabled else IC enabled" printing - if you see neither it is not printing from this code at all. > > Your loop isn't doing any data access, so it's just saying something > > about ICACHE not working. > > True enough. > > > But maybe it is not ICACHE itself and the memory pages are just > > declared uncacheable? > > Another possibility. If anyone has suggestions on how to investigate > this, I'd love to hear it. Me too. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.