[coreboot] unrv2b delay (v2)

Peter Stuge peter at stuge.se
Wed Oct 29 01:56:23 CET 2008


Awesome improvement!

Arne Georg Gleditsch wrote:
> The unrv2b uncompression algorithm appears to behave very badly in
> the absence of a proper cache.

But why does this improve when the algorithm runs out of RAM?

Could ROM accesses be a factor?

> The following patch copies the unrv2b function to DRAM before
> performing the actual decompression, reducing the run-time from
> 12.5s to 50ms in my environment.  The patch is somewhat rough, and
> assumes that (1) the unrv2b function is less than 1k in size, and (2)
> that placing a copy of the function just after the decompress
> destination is unproblematic.  It works well for me, though.
> Signed-off-by: Arne Georg Gleditsch <arne.gleditsch at numascale.com>

Acked-by: Peter Stuge <peter at stuge.se>

More information about the coreboot mailing list