From mboxrd@z Thu Jan 1 00:00:00 1970 From: A. Geisreiter Date: Fri, 22 Jan 2010 15:57:37 +0100 Subject: [U-Boot] Performance problems with gunzip In-Reply-To: References: <000301ca9b6b$ad2c7ba0$078572e0$@de> Message-ID: <000401ca9b73$3e5ff1e0$bb1fd5a0$@de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Detlev, thanks for the fast response. How do I enable data caches? Regards, Andreas -----Urspr?ngliche Nachricht----- Von: Detlev Zundel [mailto:dzu at denx.de] Gesendet: Freitag, 22. Januar 2010 15:45 An: A. Geisreiter Cc: u-boot at lists.denx.de Betreff: Re: [U-Boot] Performance problems with gunzip Hi Andreas, > I try to unzip a WinCE kernel with the U-Boot gunzip routine. It is working, > but it takes roughly 1min to uncompress a 10MB zip file. > I am working with a PXA270 platform. What could be the reason for the worst > performance? Very likely the disabled instruction and data caches. Not that I know for sure, but I'm pretty confident that either both or at least the data cache is not enabled per default. There was some discussion about enabling them, but the work never got done IIRC. Cheers Detlev -- Mit einem Leben wie dem meinen, Doktor - wer braucht da noch Traeume? - Alex Portnoy -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de