Re: L4re RAM/Flash usage and scheduling timing Info

Adam Lackorzynski <[email protected]> Sat, 22 Mar 2025 00:42:48 +0100
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

On Tue Mar 18, 2025 at 10:11:54 +0000, Eric Miniere via l4-hackers wrote:
> I am looking for an estimate of the memory footprint to run the hypervisor L4RE on a quad Core ARM Cortex R52.
> Does it run directly from flash or it needs to be copied to run in RAM ? same question for Guests OS (ie FreeRtos)?

It can also run from flash. A guest as well I believe, but we never
tried I think.

> What could be the minimal needed L4RE footprint for code and data ?

Depends on the config of course. Last time we checked, a config for
16VMs was around 400k. We're constantly trying to improve here.
For the ratio between code/data I do not have numbers at hand but a good
part is code that could/would be running off flash.

> Also if someone could share a rough idea of scheduling time for an ARM R52 running at 400Mhz ? or nb of cycle it takes to schedule ?

On a Cortex-A53 (in-order) we're short over 2000 cycles in the
measurements for a timer interrupt triggered switch, which would
translate to 5µs at 400MHz. If VMs would be involved a little bit more
because of the added state to swtich. I'd assume it would be in similar
range on R52.


Adam
_______________________________________________
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]