LS1021A performance

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Mar 30 04:45:39 PDT 2023


Hello Renaud,


On 30.03.23 13:34, Renaud Barbier wrote:
> Hello,
> I am looking into the performance of the LS1021A between Linux and Barebox and a PPC P1014

> On Linux:
> [root at openware]# time md5sum /tmp/mtd0
> 26d8158619e5791859519654557aeeba  /tmp/mtd0
> 
> real    0m0.029s
> user    0m0.025s
> sys     0m0.001s
> 
> This is almost a 20 fold difference.
> 
> From my In-Circuit-Emulator, the cache is enabled on both Linux and Barebox. My guess it that it comes down how the MMU is used.
> Any input on how to speed up the boot loader would be appreciated.

Can you compare SHA256 instead and see if the difference is still as stark?
Make sure that CONFIG_DIGEST_SHA256_ARM is enabled.

Do barebox and Linux run at the same CPU frequency?

Cheers,
Ahmad

> 
> Cheers,
> Renaud
> 
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list