[Mesa-users] memory usage net
amberlauer at gmail.com
Mon Feb 25 13:38:05 EST 2019
OK! So if I understand what you're saying, calculating memory use is
essentially not a predictive process, but is done at run time.
And if I want to narrow it down within MESA, I can use Valgrind. Well,
thankfully I think I have a working model that fits within the parameters I
need, so I'm going to press on. Thanks.
On Sun, Feb 24, 2019 at 11:22 AM Rob Farmer <r.j.farmer at uva.nl> wrote:
> So thats the scaling for the matrix we solve (not the net). Note there is
> a isos*isos term in there, so it shouldn't scale linearly but quadratically
> in number of isotopes.
> The other big memory user for mesa is the EOS then probably the net/rates
> storage. One way to check what is being used (especially for the things
> that will be ~ constant with number of isotopes, like the eos) is to use
> valgrind --tool=massif ./star
> then use massif-visualizer to view the output and it will show where the
> memory is being used in mesa.
> On Fri, 22 Feb 2019 at 22:59, amber lauer via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
>> Hey guys, I'm doing some tests to optimize a model to not go over a
>> certain memory usage, and referring to this thread:
>> I am using the rough equation that memory usage for the net scales as
>> But doing a quick test on my own, I get the following results:
>> num isos num zones mem_calc mem actual:
>> 53 ~750 8mb 1.06gb
>> 153 750 55mb 2.92gb
>> 305 750 200mb 8.96gb
>> (now, I'm getting my memory usage numbers from top and multiplying the %
>> by my total)
>> and the last two columns don't seem to scale by a constant. I'm looking
>> for information on how to predict the overall usage of my model to keep it
>> below a fixed limit, and though I'm happy to use brute force to achieve the
>> desired results, I'm wondering what I'm missing. What other factors go into
>> the memory usage? Thanks.
>> Amber Lauer
>> Postdoctoral Researcher
>> Triangle Universities Nuclear Lab
>> Duke University
>> amber.lauer at tunl.duke.edu <amber.lauer at duke.edu>
>> mesa-users at lists.mesastar.org
Triangle Universities Nuclear Lab
amber.lauer at tunl.duke.edu <amber.lauer at duke.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mesa-users