[U-Boot] [PATCH RFC] zlib: Optimize decompression

Peter Korsgaard jacmet at sunsite.dk
Thu Nov 19 15:51:02 CET 2009


>>>>> "Joakim" == Joakim Tjernlund <joakim.tjernlund at transmode.se> writes:

Hi,

 >> On a mpc8347 board it's ~12% faster at decompressing the uImage (165ms).
 >> 
 Joakim> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
 >> 
 >> Acked-by: Peter Korsgaard <jacmet at sunsite.dk>

 Joakim> Thanks, question: How does this compare with your lzo uncompress?

Lzo is still slightly faster, but it only about ~5% (60ms). This is at
400MHz with very slow flash. With slower cpu/faster flash the difference
would probably be bigger (it certainly was when I compared with zlib
before your optimization).

I can rerun that test, but first I need to figure out why 2009.11-rc1 is
more than 1 second slower than 2009.08.

-- 
Bye, Peter Korsgaard


More information about the U-Boot mailing list