#1718: MemSpeed: Re-use allocated memory ------------------------------------+--------------------------------- Reporter: Erik Schnetter | Owner: (none) Type: enhancement | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: ------------------------------------+---------------------------------
Comment (by Erik Schnetter):
MemSpeed needs to allocate sufficiently much memory to ensure that the measurement is not handled by the L3 cache. By default, it allocates 1/4 of 1 NUMA node worth of memory. There is an option to allocate even more memory so that the inter-NUMA memory speed can also be measured.
If you run one or two instances of MemSpeed simultaneously, there should be no swapping. I do this regularly on my laptop.
It should be possible to limit this further to e.g. at most 10x the last- level cache size.