[U-Boot] [PATCH RFC] zlib: Optimize decompression
Joakim Tjernlund
joakim.tjernlund at transmode.se
Thu Nov 19 15:32:29 CET 2009
Peter Korsgaard <jacmet at gmail.com> wrote on 19/11/2009 15:07:12:
>
> >>>>> "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>
Thanks, question: How does this compare with your lzo uncompress?
Jocke
More information about the U-Boot
mailing list