Revisiting Minimum with Static Allocation

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Feb 11 09:04:11 UTC 2021


On 10/02/2021 21:36, Gedare Bloom wrote:

>
>
> On Wed, Feb 10, 2021 at 10:57 AM Joel Sherrill <joel at rtems.org 
> <mailto:joel at rtems.org>> wrote:
>
>     Hi
>
>     The minimum sample is intended to show how to construct the
>     minimum footprint RTEMS application. I suspect that with
>     Sebastian's recent work on static allocation and reducing
>     footprint, the minimum sample may be able to benefit from tweaking.
>
>     I just checked rtl22xx_t and it is < 16K code and 272 bytes of
>     data. :)
>
>     Hello tends to be in the 64K range. Perhaps a static allocation
>     hello variant.
>
>     Just wanting users to have good examples. A discussion at the
>     Flight Software Workshop mentioned RTEMS was big but it doesn't
>     seem to be if you look at executables which reflect those minimum
>     feature sets.
>
>     Hoping Sebastian has magic settings to apply so these numbers are
>     as good as possible.
>
> This is a good idea. A "useful" minimum configuration with static 
> objects, or maybe even a couple of them, could be helpful to identify 
> reasonable bottom ends of the spectrum we can conceivably support.

For the pre-qualification project we have to deliver some resource usage 
information. We would like to provide some benchmark programs and some 
rules to estimate the resource usage based on configuration options. 
Example benchmark programs:

1. one one task with an infinite loop, no clock driver

2. one one task with an infinite loop, with clock driver

3. 2. +  create a second task

4. 3. + send/receive events

5. 3. + sem obtain/release

6. 3. + msg send/receive

7. 3. + barrier wait/release

...

Print sizeof(obj) for various objects.

>     --joel
>     _______________________________________________
>     devel mailing list
>     devel at rtems.org <mailto:devel at rtems.org>
>     http://lists.rtems.org/mailman/listinfo/devel
>     <http://lists.rtems.org/mailman/listinfo/devel>
>
-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list