Re: TreeAllocFactor

From: Ralph Rudd <theralph.rudd_at_gmail.com>
Date: Thu, 4 Dec 2008 12:32:55 +0200

Thank you for clearing this up. I was also in doubt.

On Thu, Dec 4, 2008 at 9:43 AM, Yves Revaz <yves.revaz_at_epfl.ch> wrote:

>
> micic_at_physics.usyd.edu.au wrote:
>
>> Hi,
>>
>>
>> TreeAllocFactor should be at least 0.65, recommended is 0.8, if
>> necessary it can go up to 1.5 (from previous threads on this subject). I
>> would like to know is there an upper limit for the value of this factor.
>> How is the performance of the code affected if this factor goes to 2.0 or
>> even higher? The way I see it, at some maximum value, we end up with a
>> particle per node, right?
>>
>> Miroslav
>>
>>
>
> Hi Miroslav,
>
> TreeAllocFactor is used to allocate memory to the tree, at the beginning of
> the run.
> It does not mean that a large tree will be created (the structure and size
> of the tree
> is always determined by the particle distribution and OpeningCriterion
> parameter).
> However, in some cases (particles at very large distances or clumpy
> structures),
> the tree needs to be extended and will consume more memory. In that cases,
> a larger
> TreeAllocFactor is necessary.
>
> So, a higher TreeAllocFactor does not affect the code performance. Except,
> obviously,
> if you are out of memory ;-) .
>
> Cheers,
>
> yves
>
>
> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>>
>> -----------------------------------------------------------
>> If you wish to unsubscribe from this mailing, send mail to
>> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe
>> gadget-list
>> A web-archive of this mailing list is available here:
>> http://www.mpa-garching.mpg.de/gadget/gadget-list
>>
>>
>
>
> --
> (o o)
> --------------------------------------------oOO--(_)--OOo-------
> Yves Revaz
> Laboratory of Astrophysics EPFL
> Observatoire de Sauverny Tel : ++ 41 22 379 24 28
> 51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
> 1290 Sauverny e-mail : Yves.Revaz_at_epfl.ch
> SWITZERLAND Web : http://www.lunix.ch/revaz/
> ----------------------------------------------------------------
>
>
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
>



-- 
"Eat the meek and have the earth all to yourself."
Received on 2008-12-04 11:32:58

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:30 CET