From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from protonic.prtnl (protonic.xs4all.nl [213.84.116.84]) by ozlabs.org (Postfix) with ESMTP id 65C92474D6 for ; Fri, 5 Sep 2008 02:32:55 +1000 (EST) From: David Jander To: "Gunnar Von Boehn" Subject: Re: Efficient memcpy()/memmove() for G2/G3 cores... Date: Thu, 4 Sep 2008 18:32:29 +0200 References: <200808251131.02071.david.jander@protonic.nl> <200809041459.27606.david.jander@protonic.nl> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200809041832.29931.david.jander@protonic.nl> Cc: munroesj@us.ibm.com, John Rigby , linuxppc-dev@ozlabs.org, Paul Mackerras , prodyut hazarika List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thursday 04 September 2008 17:01:21 Gunnar Von Boehn wrote: >[...] > Regarding the 5121. > David, you did create a very special memcopy for the 5121e CPU. > Your test showed us that the normal glibc memcopy is about 10 times > slower than expected on the 5121. > > I really wonder why this is the case. > I would have expected the 5121 to perform just like the 5200B. > What we saw is that switching from READ to WRITE and back is very > costly on 5121. > > There seems to be a huge difference between the 5200 and its successor the > 5121. Is this performance difference caused by the CPU or by the board > /memory? I have some new insight now, and I will look more closely at the working of the DRAM controller... there has to be something wrong somewhere, an I am going to find it... whether it is some strange bug in my u-boot code (initializing the DRAM controller and prio-manager for example) or a silicon-errata (John?) Thanks a lot for your help so far. -- David Jander