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

Peter Korsgaard jacmet at sunsite.dk
Thu Nov 19 15:07:12 CET 2009


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

 Joakim> This patch optimizes the direct copy procedure.
 Joakim> Uses get_unaligned() but only in one place.
 Joakim> The copy loop just above this one can also use this
 Joakim> optimization, but I havn't done so as I have not tested if it
 Joakim> is a win there too.
 Joakim> On my MPC8321 this is about 17% faster on my JFFS2 root FS
 Joakim> than the original. No speed test has been performed in u-boot.

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>

-- 
Bye, Peter Korsgaard


More information about the U-Boot mailing list