[PATCH] membench: Add memory benchmark programs

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 20 17:51:00 UTC 2023


On 20.07.23 18:58, Gedare Bloom wrote:
> On Thu, Jul 20, 2023 at 7:42 AM Sebastian Huber
> <sebastian.huber at embedded-brains.de>  wrote:
>> These memory benchmark programs are not supposed to run.  Instead, they
>> can be analysed on the host system to measure the memory usage of
>> features.  See the membench module of rtems-central.
>>
> This needs some kind of documentation and probably a README inside of
> membench with that information.

Ok, I can add a README.md.

> 
> This appears to be about benchmarking the program size (static memory
> usage) only? If so, make that clear in the README / log note. I think
> it's in the doxygen already so that's helpful.

Yes, it measures only the static memory size required for certain 
operating system services. See 4.7 Memory Usage Benchmarks in:

https://ftp.rtems.org/pub/rtems/people/sebh/rtems-6-sparc-gr740-uni-6-scf.pdf

> 
> What happens when the membench gets built, and then someone runs
> $> rtems-test build/${ARCH}/${BSP}/testsuites
> 
> Because I don't see anything that is filtering these executables.

They are filtered out due to the *.norun.* pattern:

target: testsuites/membench/mem-scheduler-add-cpu.norun.exe


-- 
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